You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] [Flaky UT]: pkg/morpc TestGetBackendWithCircuitBreaker fail-fast budget (<20ms) unrealistic under full UT race lane #32956
From the 2026-11-19 survey of 15 failed MatrixOne ALL CI runs: pkg/morpcTestGetBackendWithCircuitBreaker failed once (run 44517787941, branch codex/issue-28891-json-opaque-agg — a JSON PR unrelated to morpc) on a brittle wall-clock budget:
Error: "65.36225ms" is not less than "20ms"
Test: TestGetBackendWithCircuitBreaker
Messages: Should fail fast with circuit breaker or no backend
(2026/11/19 12:08:47 ERROR test-client create backend failed {"backend": "bad-backend", "error": "cannot connect to backend: none"})
Analysis
The assertion requires connect-refusal to complete under 20ms. Under the full UT race lane (-race + a loaded shared runner) a 65ms refusal path is unremarkable — the 20ms ceiling encodes idle-machine timing.
Keep the fail-fast semantic but make the budget realistic: race-aware threshold multiplier (e.g., 20ms → ≥200ms under -race), or assert on circuit-breaker state transitions instead of wall-clock latency, or t.Skip in the race lane. Cheap fix; prevents re-blaming unrelated PRs.
Activity
fix: preserve TAE snapshot row IDs and stabilize main CI (#32957)