Repository navigation
fix(pr-unblock): skip resolve-feedback-threads where it has no thread to resolve - #13609
Conversation
… to resolve resolve-threads.mjs serves only a PR a listed person opened and leaves open every thread a person wrote in. publish-feedback already resolves a lanes App PR's VALID threads. So on a lanes App PR, and on a relayed person's reply, the job resolved nothing and still asked the lanes token broker for a token, which the broker refused on #13388's relay round. - address-feedback-select emits person-opened, computed with the same ownerPull test resolve-threads.mjs uses, from the PR read it already holds (no new API call). ownerPull moves to address-feedback.mjs, which resolve-threads.mjs already imports from. - feedback-dispatch.mjs sends upstream-relay=true on a relay round, and pr-unblock.yml declares the input. Setting it can only skip the job. - resolve-feedback-threads' if requires person-opened == 'true' and upstream-relay != 'true'; a person's PR on a review-completion round runs as before. Closes #13580 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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: PR #13609 (head efb2d65)No security issues found. I read every hunk of all 10 changed files. critical-findings: 0 Controls checked
Unverified (from the PR description): the PR says it has not checked whether the lanes token broker reads dispatch inputs. Nothing in this diff gives the input any meaning beyond the job skip, so I see no widening from it. Not in scope: the tests, the README and the changelog fragment have no security surface. The diff deletes no standing instructions and changes no plugin manifests. Spend: the change lowers run-minute and broker-mint use by skipping a job that had nothing to do. Nothing in it can start a charge. This was a full review of the first head this lane has seen (prior heads: 0; not blocking-only). |
|
claude-review reviewed Code review: PR #13609 (one advisory finding)This PR adds two skips to the Closing issue #13580:
What I checked by reading code (not by running anything):
Author-claimed and unverified: the test counts in the description, the Advisory (inline, Spend: none beyond what already exists. The change removes a runner and a token mint from some rounds. |
Closes #13580
Summary
resolve-feedback-threadsinpr-unblock.ymlnow starts no job, and requests no lanes-broker mint, when it has nothing to resolve. That covers two cases: a PR no listed person opened, and an address-feedback round whose upstream is a review-comment relay (a person's reply). On a person-opened PR's review-completion round it runs as before. This removes the red job seen on #13388, where the broker refused the mint on the relay round (run 41947061462).Fix
address-feedback-selectemitsperson-opened. It uses theownerPulltest thatresolve-threads.mjsalready applies, run on the PR read the head step already wrote (PULL_FILE), so it adds no API call.ownerPullmoves intoaddress-feedback.mjs, whichresolve-threads.mjsalready imports from, to avoid an import cycle.check-trusted-trigger. Sofeedback-dispatch.mjsnow sends a newupstream-relay: "true"input on a relay round, andpr-unblock.ymldeclares it. Setting it can only skip this one job.ifaddsneeds.address-feedback-select.outputs.person-opened == 'true' && inputs.upstream-relay != 'true'. The existing skip-reason list is unchanged.pr-pipelinechangelog fragment records them.Verification
node --testpassed all 737 tests acrossworkflow-gates,address-feedback,feedback-dispatch,resolve-threadsandresolve-config/callers.workflow-gatescase checks three things: a person's PR runs; a lanes App PR, an unread author and a relay round each skip; and the input is declared.address-feedbackchecksperson-openedfor the person, stranger, bot-typed and missing-file cases.feedback-dispatchchecks that a relay round sendsupstream-relayand a review round does not.read-runner-dispatcher-gate(10),pr-unblock-trusted-base(31) andcheck-read-caller-keys(68) passed.zizmor --offlineonpr-unblock.ymlreported no findings.check-trusted-triggerdoes not read them.Related
resolve-feedback-threadsmint was refused🤖 Generated with Claude Code