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
feat(pr-pipeline): let the lane resolve answered non-CRITICAL bot threads on owner-login PRs #12634
Row 15 of the #12284 findings: main's ruleset sets required_review_thread_resolution: true, so an unresolved review thread blocks a merge. On pull requests opened from the owner's login, the owner resolved about 30 bot threads across 16 PRs in 23 hours on 10-27/28 (touchpoint audit T4, not re-measured). Each of those is a manual step that stops a PR the lanes have already answered.
Fix
Let the lane that settles bot review threads (pr-unblock / publish-feedback) also resolve them on owner-login pull requests when the thread is outdated or answered and its finding is not CRITICAL. Leave CRITICAL findings and every human-authored thread to a person.
Done when
On an owner-login pull request, the lane resolves a bot thread that is outdated or answered and not CRITICAL: shown by .github/scripts/pr-unblock/resolve-threads.test.mjs:134 ("on an owner PR it resolves only the answered or outdated non-CRITICAL bot threads"), shipped in 53e1db0 (feat(pr-pipeline): resolve answered non-CRITICAL bot threads in a base-only job #12893). Amended 2026-11-06 by owner decision Q13 (a): test evidence replaces a live observation, which may never occur because the owner's sessions resolve threads in 33-65 min, before the lane's 2 h idle window.
A CRITICAL bot finding and any human-authored thread stay unresolved by the lane; a test covers both.
Owner thread resolves per day: the 7-day before count is posted on this issue. The after count is dropped with item 1's live case by Q13 (a), because it would measure the owner's sessions, not the lane.
Filed by the issue-triage session from #12284's findings.
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Decision recorded.
Agent choice, not an owner answer.
What is left goes to the host queue (host-run): two observations that can only be made after the merge.
Written by the Issue Triage session from the issue history, the body of #12893 and origin/main.
Delivered by 53e1db0 (#12893), against the criteria as amended at 16:10Z and confirmed at 19:05Z:
[quote truncated; the full decision is at the link]
I read this as: let the lane resolve answered or outdated non-CRITICAL bot threads on owner-login PRs. The recorded decision says the implementation and its tests landed in #12893. It settles the open questions. Two observations remain: a live run of the resolve job, and the 7-day after-window measurement of owner thread resolves. Both need a host, so they stay in the host-run queue. No duplicates found.
Claim. Lane 6 takes the first open item: find a resolve-feedback-threads run that resolved a non-CRITICAL bot thread on an owner-login PR after 53e1db0, read-only. The 7-day count stays open.
Host check: item 1 is not observed yet. The job works, but no owner-login PR has had a thread it could resolve. Read-only, 2026-11-04 15:30Z.
Owner-login PRs: 184 PRs by kyle-sexton updated since 2026-11-03T19:00Z. All 225 resolved threads on them were resolved by kyle-sexton, none by the lanes App.
Lane PRs, same window: the lanes App resolved 75 threads and kyle-sexton 31. So the job resolves threads where it is allowed to.
Where the job ran:resolve-feedback-threads / run ran in 9 of the 40 newest successful pr-unblock runs. 8 were on lanes App PRs. The one owner-login PR was #13139, job 126490107897, which logged resolved 0 review thread(s) on #13139.
Item 1 needs an owner-login PR whose bot thread is answered by the lane, or goes outdated, with no human comment on it. Today that happens only when address-feedback runs on an owner PR without a human prompt on the thread, and owner PRs usually get their threads resolved by their own session first. Left open. Item 2 (7-day count) is due from about 2026-11-10. The Lane 6 claim is released.
No owner-login PR got a run of the job in this window, so item 1 still has no case to observe. Lane 6 will check again later. The 7-day count stays open.
Claimed by the Automation Lanes host session (aee81595), assigned by the hub: finding why the resolve job never reaches an owner-login PR, then fixing it. Branch fix/12634-resolve-owner-pr-threads.
No gate blocks owner-login PRs; item 1 waits on a qualifying case. Read on main and live runs:
resolve-feedback-threads runs only inside an address-feedback round. On an owner PR the round starts only after the PR and its head commit sit idle for the adoption window, 2 h (feedback-dispatch.mjs:240-249ownerSkip), with no Hold: line.
Item 2 is covered: workflow-gates.test.mjs:486-505 (a person's PR runs the job), resolve-threads.test.mjs:61-88, 134-146, 168-176 (CRITICAL and human threads stay open). pr-unblock 1340/0, resolve-config 933/0 on main.
So item 1 needs an owner PR idle 2 h after its head is reviewed, holding a bot-only thread with no human reply, that the round answers VALID/fixed or finds outdated. No code change is needed; this stays open for that observation and item 3's 7-day measure.
Decision recorded.
Owner answer, verbatim, relayed by the GitHub Support hub session (2026-11-06T19:27Z, after seeing the options): "Jesus, just go with recommended. Be smart." That picks Q13 (a): test evidence replaces the live observation in the done-when, and the issue closes.
Why the live case may never happen: the owner's sessions resolve their threads in 33-65 min, and the lane only reaches an owner PR after a 2 h idle window (feedback-dispatch.mjs:240-249).
Evidence: .github/scripts/pr-unblock/resolve-threads.test.mjs:134 ("on an owner PR it resolves only the answered or outdated non-CRITICAL bot threads"), plus :61 and :79 for CRITICAL and human-authored threads. All shipped in 53e1db0 (#12893). The body is amended to match, and the 7-day after-count is dropped with the live case. Closing as completed.
Activity
github-actions commentedon Nov 3, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
#12634 (comment)
I read this as: let the lane resolve answered or outdated non-CRITICAL bot threads on owner-login PRs. The recorded decision says the implementation and its tests landed in #12893. It settles the open questions. Two observations remain: a live run of the resolve job, and the 7-day after-window measurement of owner thread resolves. Both need a host, so they stay in the host-run queue. No duplicates found.
Automated triage, applied by the lanes App.
github-actions commentedon Nov 3, 2026
github-actions commentedon Nov 3, 2026
35 remaining items
kyle-sexton commentedon Nov 4, 2026
Claim. Lane 6 takes the first open item: find a
resolve-feedback-threadsrun that resolved a non-CRITICAL bot thread on an owner-login PR after 53e1db0, read-only. The 7-day count stays open.kyle-sexton commentedon Nov 4, 2026
Host check: item 1 is not observed yet. The job works, but no owner-login PR has had a thread it could resolve. Read-only, 2026-11-04 15:30Z.
kyle-sextonupdated since 2026-11-03T19:00Z. All 225 resolved threads on them were resolved bykyle-sexton, none by the lanes App.kyle-sexton31. So the job resolves threads where it is allowed to.resolve-feedback-threads / runran in 9 of the 40 newest successfulpr-unblockruns. 8 were on lanes App PRs. The one owner-login PR was #13139, job 126490107897, which loggedresolved 0 review thread(s) on #13139.resolve-threads.mjs:11resolves only threads whose every comment is a review bot's or the lanes App's, so skipping it is correct.Item 1 needs an owner-login PR whose bot thread is answered by the lane, or goes outdated, with no human comment on it. Today that happens only when address-feedback runs on an owner PR without a human prompt on the thread, and owner PRs usually get their threads resolved by their own session first. Left open. Item 2 (7-day count) is due from about 2026-11-10. The Lane 6 claim is released.
kyle-sexton commentedon Nov 5, 2026
Host check 2: item 1 is still not observed. Read-only, 2026-11-05 15:2xZ, covering 2026-11-04T15:39Z onward.
pr-unblockruns.resolve-feedback-threads / runran in 24 of them and was skipped in 31.app/melodic-automation-lanes). Each loggednot opened by a person on the trusted-actors list; nothing is resolved, the designed early return for a non-owner PR (resolve-threads.mjs:116-118). None logged aresolved N review thread(s)line.kyle-sexton commentedon Nov 6, 2026
Claimed by the Automation Lanes host session (aee81595), assigned by the hub: finding why the resolve job never reaches an owner-login PR, then fixing it. Branch
fix/12634-resolve-owner-pr-threads.kyle-sexton commentedon Nov 6, 2026
No gate blocks owner-login PRs; item 1 waits on a qualifying case. Read on main and live runs:
resolve-feedback-threadsruns only inside an address-feedback round. On an owner PR the round starts only after the PR and its head commit sit idle for the adoption window, 2 h (feedback-dispatch.mjs:240-249ownerSkip), with noHold:line.PRRT_kwDOTCGFQM60WEDx: left open (left-open),resolved 0 review thread(s) on #13638. Also fix(harness-ops): mark inventory validated against Claude Code 2.1.318 #13598 (run 42123585011) and docs: fill the Windows Git Bash cells of the wall-clock baseline #13139. Each time the lane's answer was UNCERTAIN or the finding stood (left open by design,resolve-threads.mjs:104), or the thread already carried an owner reply, which makes it human-joined. The owner's sessions then fixed, replied and resolved within 33 to 65 min.workflow-gates.test.mjs:486-505(a person's PR runs the job),resolve-threads.test.mjs:61-88, 134-146, 168-176(CRITICAL and human threads stay open). pr-unblock 1340/0, resolve-config 933/0 on main.So item 1 needs an owner PR idle 2 h after its head is reviewed, holding a bot-only thread with no human reply, that the round answers VALID/fixed or finds outdated. No code change is needed; this stays open for that observation and item 3's 7-day measure.
kyle-sexton commentedon Nov 6, 2026
Decision recorded.
Owner answer, verbatim, relayed by the GitHub Support hub session (2026-11-06T19:27Z, after seeing the options): "Jesus, just go with recommended. Be smart." That picks Q13 (a): test evidence replaces the live observation in the done-when, and the issue closes.
Why the live case may never happen: the owner's sessions resolve their threads in 33-65 min, and the lane only reaches an owner PR after a 2 h idle window (
feedback-dispatch.mjs:240-249).Evidence:
.github/scripts/pr-unblock/resolve-threads.test.mjs:134("on an owner PR it resolves only the answered or outdated non-CRITICAL bot threads"), plus :61 and :79 for CRITICAL and human-authored threads. All shipped in 53e1db0 (#12893). The body is amended to match, and the 7-day after-count is dropped with the live case. Closing as completed.