Skip to content

test: give the cross-instance ticket test a load-proof budget - #4

Merged
Patodo merged 1 commit into
mainfrom
test/click-ticket-store-timeout
Sep 19, 2026
Merged

Patodo merged 1 commit into
mainfrom
test/click-ticket-store-timeout

Conversation

@Patodo

@Patodo Patodo commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Fixes the flake that blocked the v0.2.6 release.

tests/click-ticket-store.test.ts > allows only one winner across independent store instances drives 8 independent DeliveryStore instances through the real filesystem across 12 rounds, so it measures cross-instance atomicity rather than latency. Measured locally at ~3.9s against the default 5s budget — close enough that a loaded runner times out.

It has now cost two CI cycles:

Only this test's timeout changes; the assertions are untouched.

`allows only one winner across independent store instances` drives 8 independent
store instances through the real filesystem across 12 rounds, so it measures
cross-instance atomicity rather than latency. It needs ~3.9s locally, which the
default 5s budget turns into a flake on a loaded CI runner.

That flake failed PR #3's verify job once and then failed the v0.2.6 release
source-gate, which runs the whole localapp suite before it will build anything.
Raise only this test's timeout; the assertions stay as they are.
@Patodo
Patodo merged commit 3bcbc1b into main Sep 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant