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
test(update): make claim-race regression tests genuinely concurrent
The concurrent-apply and supersession-cleanup regression tests added in
70a4cc6 only called apply_windows_staged_update_now() sequentially or
without a claim-time failure hook, so a future non-atomic
check-then-rename regression could pass them undetected.
- test_apply_now_concurrent_callers_only_one_wins now races two real
threads through the claim via a threading.Barrier immediately before
the call, instead of calling the function twice in sequence.
- New test_apply_now_stale_claim_failure_preserves_concurrently_staged_newer_manifest
publishes a newer canonical manifest from inside the digest-check hook
(the failure mode that runs after a successful claim), and asserts it
survives the claimed manifest's discard.
0 commit comments