There is a critical bug in the circuit breaker implementation where a circuit breaker can remain in…
There is a critical bug in the circuit breaker implementation where a circuit breaker can remain in…: a task in LegoFlow-SWE (Harbor dataset). Scenario : Consider two degrade rules for the same resource – R1 (circuit breaker state=OPEN, recoveryTimeout=10s) and R2 (circuit breaker state=OPEN…
The task
**Scenario**: Consider two degrade rules for the same resource – R1 (circuit breaker state=OPEN, recoveryTimeout=10s) and R2 (circuit breaker state=OPEN, recoveryTimeout=20s). When R1’s recovery timeout is reached but R2’s has not: 1. A request comes in. 2. R1 transitions: OPEN → HALF-OPEN. 3. R2 remains: OPEN…
Part of Lego-X/LegoFlow-SWE.