Flaky TestGetPRHeadDrift (stamp-without-stream), pre-existing on main #617

Closed
opened 2026-09-15 23:45:13 +00:00 by crueber · 1 comment
Owner

Pre-existing flake, surfaced during #613 review and reproduced on clean origin/main there (3/30 -race) vs 1/30 with the PR applied — same order, code path untouched by #613 (per-env isolation). Fails intermittently in-suite, passes solo. Needs a stress run (-count/-race) and a fix or quarantine decision; not a #613 blocker.

Pre-existing flake, surfaced during #613 review and reproduced on clean origin/main there (3/30 -race) vs 1/30 with the PR applied — same order, code path untouched by #613 (per-env isolation). Fails intermittently in-suite, passes solo. Needs a stress run (-count/-race) and a fix or quarantine decision; not a #613 blocker.
Author
Owner

Fixed by #618 (merged): root-caused as a logical-ordering flake (background mergeable pass wins the race and stamps without streaming); test now drains the pass via waitMergeableDrained (bounded 5s poll) before mutating refs. Test-only, no prod change, no weakened assertions. Verified: 300/300 targeted + full package -race green, cover 96.1%, independent review APPROVE (root cause + fix soundness re-verified in code).

Fixed by #618 (merged): root-caused as a logical-ordering flake (background mergeable pass wins the race and stamps without streaming); test now drains the pass via waitMergeableDrained (bounded 5s poll) before mutating refs. Test-only, no prod change, no weakened assertions. Verified: 300/300 targeted + full package -race green, cover 96.1%, independent review APPROVE (root cause + fix soundness re-verified in code).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
crueber/walhub#617
No description provided.