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
test(core): concurrent takeover claim test can see two winners when spawns are skewed #278
packages/core/test/takeover.test.ts "two concurrent claims yield exactly one winner" failed once: expected [ { won: true, … }, … ] to have a length of 1 but got 2. Each worker in test/workers/takeover-acquire-worker.ts holds the lease for 150 ms and then releases it. If the second bun process starts more than 150 ms after the first, it claims a free lease, so both report a win without any overlap. That is a test timing assumption, not proof that the wx claim protocol failed. The test should still be checked for a real overlap.
Evidence: 4 rounds of two concurrent full suites on main be2d00c after the host RTTIME fix (#253), logs in the local flake re-check artifacts.
Confirm whether the two claims overlapped (for example record claim and release times)
Make the workers start their claims together (a barrier file) or hold the lease until both have claimed
Activity