mirror of
https://github.com/block/buzz.git
synced 2026-11-27 19:52:31 +00:00
## Summary The push wake journey test checked the case where storage is still claiming messages when the wake's budget runs out by giving every claim a 100 ms delay and racing it against a 700 ms budget. On a loaded machine a claim could land just after the 250 ms claim grace, be recorded as shown, and never be returned, so the test's "partial plus rest is everything" check failed intermittently. The test now holds exactly one claim open until the wake has answered, then releases it, and checks: - the held message is not in the wake's notifications; - its community is reported as failed, so the wake is incomplete; - every other message is shown exactly once across this wake and the next. A new `HeldClaimShownMessageStore` test helper holds the claim. No production code changes. ## Validation Test-only change. The rewritten case passed 3 of 3 consecutive runs locally. --------- Signed-off-by: Tom Brow <tomb@block.xyz> Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost>