Repository navigation
fix(pr-pipeline): re-fire address-feedback runs lost to a lane token 5xx - #11397
Conversation
refire-refused.mjs pushed an empty commit only for a pr-unblock run the broker refused as workflow-modified. An address-feedback run whose token step failed with broker-unreachable or a 5xx lane-token-denied stranded its pull request: feedback-dispatch starts that activity only when the review lanes finish a head, and the failed check run blocks a second dispatch on the same head. Re-fire those runs through the same empty commit (a fresh event, not a rerun), only for the lane's transientActivities (address-feedback; the pr-unblock-dispatch tick already retries the others), never for a 403 other than workflow-modified. Each re-fire posts a transient marker and is capped at one per failed run and two per head tree. Closes #8446 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgauhM9QMc1vRhujf3L
… other activities Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgauhM9QMc1vRhujf3L
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: no findingscritical-findings: 0 I reviewed all three changed files: the changelog entry, Trust controls. The change widens none of them.
Spoofing and injection.
Amplification. The caps hold on a trace of the logic.
I considered one weaker path and rated it below a finding. The annotation text is read from any failure annotation on a failed write job. That is the same trust assumption the existing Spend (not a finding). Each transient re-fire starts both review lanes on the new head, at most two re-fires per head tree. This draws on prepaid or subscription usage, so it is not a hold. Hold: none. |
|
claude-review reviewed No findings. I read the whole diff, the PR context, and the surrounding What I checked:
Cost: each transient re-fire pushes one empty commit, which starts both review lanes on the new head. That spends prepaid or subscription usage, capped at 2 per tree. It is not a hold. The author notes that the |
Closes #8446
Summary
An address-feedback run of pr-unblock whose "Request the lane token" step failed with
broker-unreachableor a 5xxlane-token-deniedstranded its pull request.feedback-dispatch.mjsstarts that activity only when the review lanes finish a head, and the failedpr-unblock / address-feedbackcheck run on the head blocks a second dispatch there. The 2026-10-19 broker outage needed hand re-fires (#8181).refire-refused.mjsre-fired only aworkflow-modified403.Fix
.github/scripts/pr-merge/refire-refused.mjs, under the decision on #8446 as amended on 2026-10-26:workflow-modifiedpath pushes. The new head starts the review lanes, and when they finish,feedback-dispatchdispatches address-feedback again.broker-unreachable: the lanes token broker gave no response…orlane-token-denied: the broker answered 5NN with reason …(the two messagesrequest-lane-token/action.ymlemits). No 403 reason is named as transient, so a 403 other thanworkflow-modifiedis never re-fired. A 4xx and a malformed status are not re-fired either.pr-unblock.yml's lane entry gainstransientActivities: ["address-feedback"], read from the dispatched run's title (pr-unblock <activity> #N). Thepr-unblock-dispatchtick dispatches resolve-conflicts, review-dependency and fix-ci, so their failures are left to it, and no head gets two retry paths.<!-- pr-lane-refire transient run <id> tree <tree> head <head> -->. A marker for the same run at another head stops a second re-fire for that run. Two markers from other runs on the same head tree stop it with a warning, so a person looks. An empty commit keeps the tree, so a broker outage cannot chain re-fires on one change. A marker at the current head means the push did not land, so only the push is retried, within the existing one-hour window.workflow-modifiedpath is unchanged. The commit message and the step's log line name which cause applied.Verification
refire-refused.test.mjs. Against main'srefire-refused.mjs, 3 of them fail: the 5xx andbroker-unreachablere-fire, the cap, and the push retry. The other two are guards that pass on main and on this change: the non-transient 403/4xx test and the tick-activity test.node --test .github/scripts/pr-merge/*.test.mjspasses 762 of 762.scripts/check-affected.sh --testsexits 0, and its suite step leaves the selected suites to CI..github/workflows/pr-merge.yml("Re-fire lane runs refused as workflow-modified") now describe less than the step does. I left the workflow file alone so the change touches no workflow.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01KeBVgauhM9QMc1vRhujf3L