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
tests: two more load-only flakes — lane TestS2TheDefaultGoesSlowAndTheRouterMoves, session TestATaskWhoseShapingFailedIsNamedAnyway #193
Two more load-only flakes, named by the #170/#173 lanes and the #176 lane; not in .github/known-red.txt, not among the five #187 fixed.
internal/lane TestS2TheDefaultGoesSlowAndTheRouterMoves — failed in two lanes' full make check runs under concurrent load, green alone at -count=3. internal/lane was untouched by both.
internal/session TestATaskWhoseShapingFailedIsNamedAnyway (taskname_test.go:323) — failed once in three loaded full-package runs; it scripts a shared completer by call index and assumes a fixed order; 6/6 green alone.
The mechanism
Same method as #187: reproduce under load on purpose (go test -count=5 -race with a ./internal/tui3/ run in flight), capture full output, find the shared state (a timing assumption standing in for a signal; a scripted completer whose call order is not the order the code guarantees), fix the cause rather than the assertion. A test that is genuinely load-only and cannot be made deterministic is ledgered in both .github/known-red.txt and CLAUDE.md with the reason, in the same commit.
Acceptance
Both pass -count=10 under a concurrent tui3 run on the Linux box, or are ledgered with a named cause.
The PR body names each cause.
Drafted with CodeAF · reviewed and owned by the author
Activity
tests: measure the thing, not the machine — four load- and midnight-o…
tests: measure the thing, not the machine — four load- and midnight-o…