Development record
Concurrent sessions gate their preflights and race runs with hand-written shell waiters, because abcd has no wait-for-capacity primitive: 'abcd implement load' (make preflight's load-check) only warns, never waits. On 2026-10-11 a waiter written as 'pgrep -f "go test -race"' matched its own bash command line, which contains that string, so it always saw a race run going and never opened; when such waiters were stopped or edited they released together, and the machine (16 cores) reached a one-minute load of about 500 with four race runs at once, one peak near 920, while unrelated preflights timed out (internal/surface/cli hit its 10-minute test limit at TestSiteVerbsSayWhichLabelsTheyAdded). Reported by peer session abcd-a5; the anchored forms that work are pgrep -f '(^|/)go test -race' and ps -Ao command | grep -c '^go test -race'. Two separate failures: the self-match, and many waiters with the same release condition opening at once (a thundering herd).
Concurrent sessions gate their preflights and race runs with hand-written shell waiters, because abcd has no wait-for-capacity primitive: 'abcd implement load' (make preflight's load-check) only warns, never waits. On 2026-10-11 a waiter written as 'pgrep -f "go test -race"' matched its own bash command line, which contains that string, so it always saw a race run going and never opened; when such waiters were stopped or edited they released together, and the machine (16 cores) reached a one-minute load of about 500 with four race runs at once, one peak near 920, while unrelated preflights timed out (internal/surface/cli hit its 10-minute test limit at TestSiteVerbsSayWhichLabelsTheyAdded). Reported by peer session abcd-a5; the anchored forms that work are pgrep -f '(^|/)go test -race' and ps -Ao command | grep -c '^go test -race'. Two separate failures: the self-match, and many waiters with the same release condition opening at once (a thundering herd).
Frontmatter
| id | iss-2610111826193257 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | major |
.abcd/work/issues/resolved/iss-2610111826193257-concurrent-sessions-gate-their.md
open on GitHub ↗ · commit history ↗