Repository navigation
feat(pr-pipeline): mirror the lane and maintenance status-label writers into the Work status field - #13490
Conversation
…rs into the Work status field report-outcome (every stop route, the close, the stale re-fire and the late-record redispatch), the triage sweep, the lane-sweep digest and the monitoring lane now pass each status-label add or remove to statusMirror, as admit, apply-verdict, refine and label-unblocked do. Each takes a mirrorStatus callback that defaults to a no-op, and its test asserts the had, add and remove of the write. report-outcome runs from a copy of its own directory, so it loads write-status.mjs and createGitHub from the base checkout at the command line. The maintenance scripts' call() sends no custom headers, so the mirror gets its own createGitHub client outside their call budgets. The three jobs that ran no resolve-config action (the lane sweep's file and triage-sweep, maintenance-monitor-signals) now install its packages, which the config read needs. Closes #13482 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 (incremental, blocking only): no security issues foundThis was an incremental review. I read every hunk of all 3 files changed since What I checked
Not applicable:
Spend (not a hold): none new in this increment. A failed install now finishes the job instead of failing it. critical-findings: 0 |
|
claude-review reviewed Incremental code review: 3da7b97..7f9e5a3 (#13490)Blocking only. This lane already reviewed an earlier head, so this pass looked only for blocking findings. It found none. I read every hunk of all 3 files that changed since
The two earlier findings are both addressed in this push:
Closing issue #13482:
No settled thread or prior finding is raised again. No embedded instructions were found in the PR context, settled-threads or prior-findings files. Spend: this push adds no new spend. The three |
…s, and test every report-outcome mirror Co-Authored-By: Claude Opus 5.5 <[email protected]>
Post-merge mutation testingKilled 3, survived 3, timeout 0, no coverage 0, invalid 0, not run 1.
Surviving mutants
The run's summary has the full report. |
Closes #13482
Summary
Slice 1 of the #7577 cutover from status labels to the Work status issue field. Four
.githubstatus-label writers that did not update the field now pass each label add or remove tostatusMirror, asadmit,apply-verdict,refineandlabel-unblockedalready do. Labels stay the source of truth, and a failed field write only warns. Nothing reads the field yet; readers are slice 2 (#13483).Fix
work-resolve-issue/report-outcome.mjs: every stop route's label plan, the close path's queue and state strips, the stale re-fire and the late-record redispatch. It runs from a copy of its own directory, sobaseMirror(env)loadswrite-status.mjsandcreateGitHubfrom the base checkout, and warns and does nothing if that load fails.maintenance-audit-lane-runs/triage-sweep.mjs(needs-triageadd),file-findings.mjsandmaintenance-monitor-signals/monitor.mjs(agent-readyremovals). The mirror gets its own client, because theircall()sends no custom headers and the field API needs a version header.maintenance-audit-lane-runs.ymlandmaintenance-monitor-signals.yml: the three jobs that ran no resolve-config action now install its packages, with the npm envcallers.test.mjsrequires, so the config read works. No permission changed; each job already hadissues: write.intake-reenter(its workflow is a pathci-statusholds for a person) andsecurity-outside-actor/flag.mjs, aneeds-humanwriter the build found.Verification
node --test:report-outcome411,triage-sweep45,file-findings21,monitor20,reenter68 (unchanged),callers240, and both maintenanceworkflow.test.mjssuites (10 and 5). All pass. Each touched writer has a new case asserting the mirror gets that write'shad,addandremove.git grep -n statusMirror -- .github ':!*.test.mjs'lists all four writers.scripts/check-affected.sh --tests: exit 0, 10 passed and 70 skipped past its 120 s budget, left to CI. gitleaks: no leaks.GITHUB_TOKENmay POSTissue-field-valuesin the maintenance jobs is UNVERIFIED. A refusal only warns, and the first scheduled run shows the answer.Related
#7577 (parent); slices #13483, #13484, #13485, #13486; follow-up #13489.
🤖 Generated with Claude Code