Repository navigation
fix(pr-unblock): work a fix request in a thread a trusted person opened - #11159
Conversation
threadAuthors took a `PR-fix lane: please fix this finding` request only as a reply on a thread a review bot opened. A trusted maintainer could not ask the lane to fix a failing check on a PR with no bot thread, and the round stopped with feedback-untaken-threads. A thread whose first comment is a trusted person's (the trusted-actors list, never edited or last edited by someone on it) now passes the root check, and the existing no-escalation rule then works it only when a write-access trusted person's fix request is in it. Its review is the opener's own, so onReviewedHead accepts it as directed on any head. A thread an account off the list opened, one a read-only person opened, one with a stranger's reply, or one with no fix request is still left alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lane keeps 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-review needs no new review of No blocking findings. I read the diff, the PR context and What the change does.
Checks that hold.
Gap in the tests, advisory (not counted). The PR text says a trusted person's reply re-arms a human-opened thread after a lane escalation. The new tests cover only the no-escalation fix-request path. The escalation branch needs no change for it. But no test would fail if a future edit to the root check broke re-arming for human-rooted threads. Spend. No change to cost or to spend on prepaid credits. A thread a trusted person opened can now start a pr-unblock round that was not possible before. That is the intended behavior, and it is bounded by the existing round cap. Manifests. The diff changes no plugin manifest. |
|
claude-security-review needs no new review of No security issues found in this pull request. critical-findings: 0 What I read. The full diff, the PR context, and the complete The change. Does it widen who or what is trusted? No.
Remaining controls I checked. The adjudicator skips threads whose root is not the reviewer, and the thread cap and the Not an exposure. The change adds no token scope, secret handling, kill-switch change, merge-hold change or manifest change. It touches no Spend. No change in cost or in lane run counts. |
No related issue: a dead end found while driving lane PRs; a trusted maintainer's fix request had no thread the lane would take.
Summary
address-feedbacktook aPR-fix lane: please fix this findingrequest only as a reply on athread a review bot opened (
threadAuthorsreturned null for any other root). A trustedmaintainer therefore could not ask the lane to fix a failing check on a PR with no bot thread: a
thread they opened was never kept, and the round stopped with
feedback-untaken-threads.Now a thread a trusted person opened is worked under the same rules as a bot's thread: it is kept
only when a write-access trusted person's fix request is in it (first comment or a later one), and
after a lane escalation on it, a trusted person's reply re-arms it as it does on a bot thread.
Untrusted authors stay refused.
Fix
.github/scripts/pr-unblock/address-feedback.mjsthreadAuthors: the root check also accepts atrusted person's comment, using the trust check the function already applies to repliers
(
isHuman: on the trusted-actors list, never edited or last edited by someone on it); theexisting no-escalation branch then requires a fix request by a
fixersmember (trusted pluswrite/adminpermission). This file has noauthor_associationcheck; trust istrusted-actors.json plus the permission read.
onReviewedHeadaccepts the thread because itsreview is the opener's own and the request makes it directed (any head). The dispatcher
(
feedback-dispatch.mjs hasWorkableThread) calls the same function, so it dispatches for such athread too.
address-feedback.mjsandfeedback-dispatch.mjs, anddocs/conventions/pr-pipeline/README.mdandpr-run-activity.md, name the new root..changes/pr-pipeline/patch fragment.Downstream: the adjudicator never judges such a thread (
root.author !== "reviewer", and it isdirected), and past the round cap
needsPersonsends it to a person, as it does any thread whoseroot is not a bot's.
Verification
.github/scripts/pr-unblock/address-feedback.test.mjs: the keep case failed beforethe change and passes after; the refusal case (account off the list, read-only person, a
stranger's reply, a request a stranger last edited) passes before and after.
node --testoveraddress-feedback.test.mjs,feedback-dispatch.test.mjs,adjudicate-feedback.test.mjsandpublish-feedback.test.mjs: 502 of 503 pass. The one failure,ownerAdoption reads the base adoption section..., is local: the worktree lacksajvunder.github/actions/resolve-config, and it passes in a checkout that has it.scripts/check-changelog-fragments.sh --checkand markdownlint on the changed docs: clean..mjsfiles; main reports the same, so theypredate this change.
Related
docs/conventions/pr-pipeline/README.md(fix requests)🤖 Generated with Claude Code