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
ci: smoke verify steps race the API — branch-head read can be stale right after the action commits #96
published-tag-smoke run 29433505922 (dispatched from the #95 branch against v0.3.0) failed in Verify the released action actually committed:
Branch head b35ff1e8... != reported commit b62515ff...
The action had in fact succeeded: commit b62515ff exists, is signed (verification.verified: true, reason valid), has the correct parent (b35ff1e, the scratch-branch base) and the expected message. The verify step's gh api .../commits/${SCRATCH_BRANCH} ran ~1s after the action's updateRef and got the stale pre-commit head. An immediate re-dispatch (29433677039) passed unchanged — classic read-after-write replication lag, not an action defect.
Scope
Both smoke workflows share the pattern: e2e-smoke.yml and published-tag-smoke.yml read the scratch-branch head via the REST API immediately after the action returns. Either can flake the same way.
Suggested fix
In both verify steps, poll the branch head for the reported commit-sha with a short bounded retry (e.g. up to 5 attempts, 3s apart) before declaring a mismatch. Keep the hard failure after the retry budget — the check must still catch a real no-op (the #58 class of bug it exists for).
Unrelated to the permission change in #94/#95 (a token problem would fail the action step itself, not the read).
Fixed in #97 (merged to dev as 5cc5801). Both smoke verify steps now poll the scratch-branch head for the reported commit-sha with a bounded retry (5 attempts, 3s apart) before failing, absorbing GitHub's read-after-write replication lag while keeping the hard failure that catches a genuine no-op.
Activity
ci: poll scratch-branch head in smoke verify steps to absorb replicat…
c-vigo commentedon Jul 15, 2026
Fixed in #97 (merged to
devas 5cc5801). Both smoke verify steps now poll the scratch-branch head for the reportedcommit-shawith a bounded retry (5 attempts, 3s apart) before failing, absorbing GitHub's read-after-write replication lag while keeping the hard failure that catches a genuine no-op.chore: release 0.3.1 (#103)