Repository navigation
fix(tests): #606 #613 #614 #445 #457 #466 flakes wait on their real conditions - #617
Merged
Merged
Conversation
… conditions - #606 omp logout: wait until both roots read paused, not one status read - #613 reload-state fixture: no per-write fsync, inserts in one transaction - #614 pi_family twice-opened: wait for the holder's receipt before it quits - #445 binding 7: wait for the v1 session's socket to answer before binding - #457 local dm_inbox test: wait out pushes before overlapping requests - #466 omp holder() read once per poll; bridge sleeps became outbox-drained waits
…ts, not fixed sleeps
…nvoking session
This was referenced Nov 6, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Value
Solution
Per issue (cause, fix, evidence)
/grayboard statusonce; a root whose subscription closed first sits inretryinguntil its next reopen meets the sign-out (backoff250·2^nms,controller.ts:493)until()both roots read signed out + pausedPRAGMA synchronous = OFF, the 250 inserts in one transactionfullfsyncon (a slow-disk stand-in): 355 ms → 45 msreceiptedrecord before quittinginitializebefore it listens onsock.fewhen a SIGKILLed holder left a stale socketuntil(poke("fe")), the bind's own probe, before binding1.4.4-canary.20261106.10/160. #457 stays open to bump the Bun pin when a stable release shipsuntil(() => holder() !== undefined && holder() !== first)reads twice:firstthenundefined(dead hold released, new one not yet taken) passes, then a third read sees the gapuntilreturns the id it saw (also the #580 scenario)alias_holdsdelete is id-scoped (dropHold,session_end)Bun.sleepthen exact call countsstore.doneruns only after every Slack/bus call for the rowmcp.test.tslegacy registryBun.sleep(1100)sized to one tick of the 1 s idle sweep;Bun.sleep(0)before exact stream/watch countsuntilHostedon the counts and on the sweep's effectmcp.test.ts"a refusal attaching an idle legacy GET…" (found by this PR's own pre-push hook)initialReconnectionDelayfewoke the receiver, whose turn could takeattachment_getinvokeputs a nonce in its prompt; the call is issued only to the request carrying it