Files
ngit-grasp/tests
DanConwayDev a34c97b3e2 test(purgatory): choose same-second winners without nonce grinding
The purgatory promotion regression searched up to 99,999 nonces for an event ID below a random baseline. A sufficiently low baseline could exhaust the search and fail without a product defect.

Sign two candidates with distinct nonces and sort their IDs to assign winner and loser deterministically. Preserve their shared timestamp, declared Git state and losing-first submission order. Production promotion behavior is unchanged.

Validation: the same-second purgatory integration test passes; workspace all-target Clippy and formatting pass.

Assisted-by: GPT-6
2026-09-17 15:51:07 +00:00
..