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
Flaky on Windows: TestCaptureQuarantinedToolDefinitions_DropsReplacementBeforePersist (stale definition persisted) #1453
TestCaptureQuarantinedToolDefinitions_DropsReplacementBeforePersist (internal/runtime/lifecycle_quarantine_capture_test.go:168) fails intermittently on the Windows unit-test leg. It has failed on PR #1427's run and on PR #1448's run (run 36829xxx, 2026-10-01). Neither PR touches internal/runtime quarantine capture.
Error: Expected error with "tool approval not found" in chain but got nil.
Messages: the definition captured before replacement must not be stored
...
Error: Received unexpected error: tool approval not found: quarantined:current_definition
The definition captured before the client replacement was persisted, and the current definition was not. Either the capture and replacement still race on slower runners (a production ordering bug: a stale definition can be stored for review), or the test's synchronisation is timing-based. Investigate under -race -count=50 and with GOMAXPROCS=1, then fix the root cause.
Activity
fix(runtime): make quarantined capture replacement tests deterministi…