GeezerVison is showing github.com — queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) · Issue #4951 · developing-today/code
queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951DescriptionFinding
Three coverage-pass triage packets claimed tonight that their issue "had no live queue task", because the coverage join (coverage/issues-code-live.json vs agent.tasks, checked 2026-11-03T12:36Z) matches issues to tasks through queued/claimed state only. All three issues already had an open fix PR from a completed queue task, and all three PRs are now far behind main — two of them no longer merge at all:
| issue |
triage packet |
prior triage |
fix PR |
branch |
ahead / behind main |
merges? |
| #941 |
task 7600 |
task 1088 (2026-10-31) |
#4832 |
queue/4642-941-operator-token-comments |
2 / 138 |
yes (clean, unmerged) |
| #1207 |
task 7653 |
task 2485 (2026-11-01) |
#3958 |
queue/4917-1207-roadmap-horizon |
1 / 1554 |
no — conflict in pm-stack/aggregator/src/render.ts |
| #1204 |
task 7655 |
task 2482 (2026-11-01) |
#3957 |
queue/4914-1204-extractor-health |
3 / 1547 |
no — conflict in pm-stack/aggregator/src/saas-extract.ts |
(git merge-tree --write-tree origin/main origin/<branch>, measured against origin/main a8dbda7 on 2026-11-03.)
Why it matters
Two failures compound:
- Double triage. Each of these packets burned a claim re-deriving a verdict that was already on the issue, and the worker's only useful output was pointing at the PR that the join had missed. Every open issue with an in-flight PR is a candidate for the same repeat.
- Silent PR bit-rot. When a fix task ends in
pr_opened, the task leaves the live set, so no coverage join and no queue worker is watching the PR afterwards. The three PRs above were touched last on 2026-11-01/03 and have drifted 138–1554 commits behind main; two need manual conflict resolution before they can land. Nothing in the fleet currently notices.
Suggested fix
- Coverage join: before declaring "no live task", also search open PRs (and branches matching
queue/<task>-<issue>-*) for a reference to the issue number. Either treat an open PR as a live artifact (repeat triage is unnecessary) or route it to merge-watch as a park/wait instead of a fresh triage packet.
- Merge-watch: for tasks completed with
outcome = pr_opened, enqueue a check task not_before ~24 h later that re-tests mergibility (merge-tree against current main), refreshes the branch if the fix is still desired, or closes the PR with evidence if main has superseded it. That closes the gap between "PR opened" and "PR merged" that the queue currently has no state for.
- Packet defect signal: the triage packets in this run could not distinguish "no work exists" from "work exists as an unmerged PR", which is the exact ambiguity the follow-up task should not inherit.
Provenance
Filed by the OpenChamber scheduled lane (repo-worker-code, lane 335a5d1f-bfc1-4831-99ea-850c8939a727) while working coverage-pass triage tasks 7600, 7653, 7655 in repo-health-code-pilot. No code change is proposed here; this is a queue-tooling/process defect, filed per the worker's "document concerns as issues rather than blocking progress" rule. Verdicts for the three issues are on the issues themselves, with PR ownership left with tasks 4642 / 4917 / 4914.
Acceptance criteria
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) effort/mMedium: expected under 1 day of work meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 3, 2026dezren39 commented on Nov 3, 2026 Intake review
Filed by a coverage-pass lane from tonight's live evidence. Still live: the three named issues (#941, #1204, #1207) each have an open PR (#4832 clean but 138 behind; #3958 and #3957 conflicted against current main), and nothing in the coverage join has changed since. Related: this monitor's own Duty 1B exists precisely because this join was missing; #4951 asks for the same join inside the coverage pass. Risks: PR #3957 / PR #3958 are ~1,550 commits behind main — salvage-diff before any closure (protocol §8); PR #4832 is clean and should simply be shepherded. Suggested approach: extend the coverage join with open-PR state first (stops the double triage), then disposition the three PRs one by one.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-03 08:12 CST
- Found via: monitor reconciliation
- Task: Intake enrichment (§5) for this issue — acceptance criteria appended, labels normalized, this review posted.
- Expectation: done = the acceptance criteria in the issue body; routing to a worker happens through the queue/feeder as usual.
developing-today commented on Nov 3, 2026 agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8551 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03 dezren39 commented on Nov 14, 2026 agent-note:v1
state: reopened-as-followup-home
task: 17248
lane: code-b
worker: repo-worker-code
note: PR #8035 merged in task 17248 (merge commit 1090b59) and its Fixes link auto-closed this issue. Reopening as the tracking home for the follow-ups PR #8035 itself scoped out and left tracked here: (1) the merge-watch recheck half (a ~24h recheck task for pr_opened completions), and (2) the per-issue PR dispositions for #941, #1204, and #1207 in this issue acceptance criteria. The coverage-join half is landed and verified (test_check_coverage.py: 13 tests, OK, at the merged head). dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged (bulk-intake concurrence) — coverage-join fix landed; all three example issues now closed; sole remainder is the merge-watch recheck half
- Agent: queue worker (repo-worker-code), lane code-e
- Task: task 18291 — bulk-intake triage of issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951
- Fresh verification (2026-11-17, this run): issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 OPEN,
status/triaged, no hard-stop labels. PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035 verified MERGED (2026-11-14, merge 1090b59). The three example issues verified this run: aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941 CLOSED, Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204 CLOSED, Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207 CLOSED.
- State of record: the coverage-join fix landed via task 14362 → PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035 (join fix + regression fixture in
scripts/fleet/queue-reconcile/, test_check_coverage.py 13 tests OK at the merged head). PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035's Fixes link auto-closed this issue; task 17248 reopened it as the tracking home for the two follow-ups the PR scoped out: (1) the merge-watch recheck half, and (2) the per-issue PR dispositions for aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941 / Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204 / Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207.
- Update this run: follow-up (2) is resolved in substance — all three issues are now closed, so no disposition work remains for them. Follow-up (1) — a ~24h merge-watch recheck task for
pr_opened completions — has no landed evidence on this issue and remains the sole open remainder; it is fleet-monitor work tracked here.
- Verdict: triaged. Issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 stays OPEN as the tracking home for the merge-watch recheck half only.
dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged — sole remainder (merge-watch recheck) routed as a scoped follow-on
- Agent: queue worker (repo-worker-code), lane code-a shift
- Session / ID: queue task 19823 (small_fix, follow-on of triage task 18291)
- Task: task 19823 for issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 — coverage join ignores open fix PRs
- Fresh verification (2026-11-17, this shift): issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 OPEN, status/triaged, no hard-stop labels. Concurring with triage task 18291's same-day verification: coverage-join fix landed in PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035 (merged 2026-11-14, 1090b59); example issues aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941, Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204, Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207 are all CLOSED, so acceptance item (2) needs no further disposition work.
- Sole remainder: follow-up (1) from PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035's scope-out — the merge-watch recheck half: for tasks completed with outcome pr_opened, a check task with not_before ~24h later that re-tests mergeability (merge-tree against current main), refreshes the branch if the fix is still desired, or closes the PR with evidence if main superseded it. No landed evidence for it exists on this issue.
- Routing: task 19823 completes as triaged; a scoped small_fix follow-on packet for the recheck half is enqueued immediately after this completion frees the fix dedupe key, and its task id is recorded in an addendum note below. Issue queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 stays OPEN as the tracking home until the recheck lands.
dezren39 commented on Nov 17, 2026 🤖 Agent note · addendum — follow-on task id for the merge-watch recheck
- Agent: queue worker (repo-worker-code), lane code-a shift
- Session / ID: queue task 19823 (done, triaged)
- The scoped follow-on for the merge-watch recheck half is task 20709 in repo-health-code-pilot (queued, small_fix, dedupe key repo-health:v1:fix:developing-today/code:issue:4951, revived from task 19823 on completion). It carries the full spec: recheck task with not_before ~24h on pr_opened completions, mergeability re-test against current main, refresh-or-close-with-evidence dispositions, regression tests in the queue-reconcile style.
dezren39 commented on Nov 23, 2026 agent-note:v1
event: reconciliation — acceptance audit; sole remainder is another lane's open draft PR #12743
by: agent archer (kind muse, Muse sandbox seat, Lane EJ — via fleet agent next shortlist)
at: 2026-11-22
Fresh verification this pass (gh REST + queue broker read-back):
- Acceptance 1 (coverage join treats an open fix PR as in-flight): MET. Landed in PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035 (merged 2026-11-14, merge
1090b59ed4): join fix + regression fixture in scripts/fleet/queue-reconcile/ (check_coverage.py, test_check_coverage.py — 13 tests OK at the merged head, per the 2026-11-14 record on this issue).
- Acceptance 2 (aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941/Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204/Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207 each dispositioned exactly once against its existing PR): MET. All three issues re-verified CLOSED this pass (aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941, Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204, Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207 — closed state confirmed individually via REST).
- Acceptance 3 (regression check pins the join behaviour): MET by the same fixture above.
- Merge-watch recheck half (the follow-up this issue stayed open to track): implemented and in final repair. The recheck shipped in PR Fix #4951: coverage join treats open fix PRs as in-flight; add merge-watch recheck #8035's scope; its scoped follow-on, queue task 20709, is
done (claimed → parked → claimed → completed 2026-11-18, verified via fleet queue list/timeline this pass). The one live defect in that machinery — merge-watch packets rejected by the current queue validator, and only the first open PR per uncovered issue being watched — is being fixed right now by PR #12743 ("fix(queue): make coverage merge-watch packets validator-safe", opened 2026-11-23T00:50Z by the codex lane that owns it; 20 tests passing per its body; same three files in scripts/fleet/queue-reconcile/).
Ownership verdict: Lane EJ stood down — the only remaining slice is PR #12743's, and it is that lane's to finish. Note for its owner: as of this pass the PR is draft and mergeable_state: dirty (main has moved under it tonight); it needs a refresh/rebase before it can land.
Next concrete slice: when PR #12743 merges, this issue's acceptance is fully met and it can close with a pointer to #8035 + #12743. Nothing else remains here, and nothing needs Drew. dezren39 commented on Nov 23, 2026 🤖 Agent note · picked up (lane felix)
dezren39 commented on Nov 23, 2026 agent-note:v1 — lane felix done-check verification record, 2026-11-23
Lane felix verified the core work for #4951 already landed on main — no reimplementation from this lane.
Sole remainder: PR #12743 (draft, another lane's) makes the merge-watch packets validator-safe and fixes the first-PR-only coverage; it conflicts with current main only in test_check_coverage.py and needs a refresh by its owner.
#4951 can close when #12743 merges. This lane is not closing #4951 in this pass. dezren39 commented on Nov 24, 2026 Second-pass verdict (task 21814, lane xaltha, 2026-11-24)
Fresh verification this pass (origin/main 9b621f30b, GitHub REST):
- Acceptance 1 — MET, still:
scripts/fleet/queue-reconcile/check_coverage.py on current main consults open PRs before declaring an issue uncovered (fetch_open_prs, build_pr_coverage, per-PR merge-watch packets; queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 referenced throughout). An issue with an open fix PR is in-flight, not re-triaged.
- Acceptance 2 — MET, still: aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941, Usage extraction: report extractor health (patterns matched/missed per pool/service) on the quota page #1204, Roadmap: normalise horizon vocabulary and add per-theme progress rollups at every grain #1207 are all CLOSED.
- Acceptance 3 — MET, still:
test_check_coverage.py carries the queue: coverage join ignores open fix PRs — issues get re-triaged while their PRs bit-rot (#941, #1204, #1207) #4951 fixtures (open-PR-covered issue yields no triage packet).
- Sole remainder — unchanged: draft PR fix(queue): make coverage merge-watch packets validator-safe #12743 (branch
codex/coverage-watch-packet-20261123, last touched 2026-11-23T00:50Z, only comment the CodeRabbit draft note) is still OPEN. It makes merge-watch packets validator-safe and fixes the first-PR-only coverage gap, and conflicts with current main in test_check_coverage.py. The owning codex lane has not touched it since 2026-11-23.
Routed: follow-on queue task 22893 (small_fix, repo-health-code-pilot, queued) — refresh #12743 onto current main, resolve the conflict, land it. Filed as a deliberate parallel to done task 14362 (the PR #8035 join fix). No live queue task previously covered #12743.
Outcome: issue stays open until #12743 merges, per the 2026-11-22 (archer) and 2026-11-23 (felix) verdicts, which this pass concurs with. No code changed in this pass.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|