Repository navigation
Description
Refs: #12292
Problem: the #12292 close-audit found four outage-posture gaps in workflow files and monitor config. Each one lets a GitHub fault turn a lane red, or lets a hold go uncounted. #12292's script work does not cover them, so they move here and #12292 can close.
Done when
- Every lane step that reads GitHub through
log-api-budget, and whose caller holds green on a budget stop, setsAPI_BUDGET_HOLD: "1". Today it is set in.github/scripts/lib/handoff-evidence.sh:87and on intake-triage's verdict step (.github/workflows/intake-triage.yml, added by fix(pr-pipeline): hold intake-triage's apply-verdict green on a GitHub fault #13518). A step that does not set it records why in a comment. Check:grep -rn "API_BUDGET_HOLD" .github/workflows .github/scriptslists each such step, andnode --test .github/actions/resolve-config/callers.test.mjspasses. - pr-unblock element 4: the
report-stop-statusjob in.github/workflows/pr-unblock.ymlgetsactions: readandchecks: read. Today it holds onlycontents: readandstatuses: write..github/scripts/pr-unblock/report-escalation.shfiles nothing on a retryable token refusal (itsrefused:*outcomes). Check:node --test .github/actions/resolve-config/callers.test.mjsandbash .github/scripts/pr-unblock/report-escalation.test.shboth pass. -
.github/workflows/pr-refine.yml: the comment block abovefix-docs-handoffmatches what the job does, and the head-SHA read retries on a transient fault. Check:node --test .github/actions/resolve-config/callers.test.mjspasses, including an assertion on the retry. - Monitor signal 13 counts intake-triage's apply-verdict hold:
HOLD_LANESandHOLD_NOTICESin.github/scripts/maintenance-monitor-signals/signals.mjsinclude the::notice title=apply-verdict::held: <why>notice. Check:node --test .github/scripts/maintenance-monitor-signals/signals.test.mjspasses, including a case for that notice.
Related
- feat\(pr-pipeline\): audit each lane against the outage pause-and-resume posture \(#9205 slice 3\) - part 2 of 2 #12292 (script items), feat(pr-pipeline): audit each lane against the outage pause-and-resume posture (#9205 slice 3) #12283 (parent), feat: pause and resume every lane on an upstream outage without a human re-arm #9205 (outage posture)
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Work status
confirmed
Activity
github-actions commentedon Nov 5, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood: four outage-posture gaps split off from #12292, which keeps its script work. They are: (1) lanes that read GitHub through log-api-budget opt into API_BUDGET_HOLD=1 or record why not; (2) pr-unblock's report-stop-status gets actions: read and checks: read, and report-escalation.sh files nothing on retryable token refusals; (3) pr-refine.yml's fix-docs-handoff comment is corrected and its head-SHA read retries on transient faults; (4) monitor signal 13's HOLD_LANES and HOLD_NOTICES include intake-triage's apply-verdict hold notice.
The done-when items are specific, so nothing is missing. This is related to #12292 and #12283 but is not a duplicate of either: it holds the workflow and monitor items they leave out.
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Nov 5, 2026
Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; its body or a criterion names .github/workflows/pr-unblock.yml, .github/workflows/pr-refine.yml, which the issue lane cannot push (patch-protected-path); a builder session takes it. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 5, 2026
The latest triage verdict holds nothing: admission moved the issue to
status: confirmed; its comment says why.melodic-automation-lanes commentedon Nov 5, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Four workflow and monitor outage-posture gaps are closed: API_BUDGET_HOLD opt-ins or recorded reasons, report-stop-status permissions with a report-escalation.sh fix, a pr-refine.yml comment and head-SHA retry, and signal 13 covering intake-triage's hold notice.
Related work
Open questions
RECOMMENDED: Opt in only the steps whose caller already holds green on a budget stop, and add a one-line reason in the workflow comment for each other log-api-budget step. Basis: .github/scripts/lib/handoff-evidence.sh:87 is the only place that sets API_BUDGET_HOLD=1; the list of steps is not stated in the issue.
RECOMMENDED: Treat it as the escalation comment and label write when the lanes App token is refused with a retryable status (429 or 5xx): exit without filing so a later run retries. Basis: .github/scripts/pr-unblock/report-escalation.sh:86-97
RECOMMENDED: Add a notice with title=apply-verdict to apply-verdict.mjs for a fault hold, and add a matching HOLD_NOTICES entry plus an intake-triage HOLD_LANES entry in signals.mjs. Basis: .github/scripts/maintenance-monitor-signals/signals.mjs:410-423 lists no intake-triage entry, and no matching notice exists in .github/scripts/intake-triage/apply-verdict.mjs.
RECOMMENDED: Retry the gh api pulls read at pr-refine.yml:162 up to 3 times with a short sleep on a non-4xx fault, and rewrite the comment at lines 225-234 to say handoff-evidence.sh holds on a lagging read. Basis: .github/workflows/pr-refine.yml:162 and 225-234; the handoff-evidence hold at .github/scripts/lib/handoff-evidence.sh:87
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 5, 2026
fix(pr-pipeline): post no stop status when a retry takes a refused re…
fix(pr-pipeline): opt the holding lane steps into API_BUDGET_HOLD
fix(pr-pipeline): lint report-escalation's refusal read and add its f…
fix(pr-pipeline): count intake-triage's verdict opt-in and record the…
docs(pr-pipeline): cover all four outage fixes in the changelog fragment
kyle-sexton commentedon Nov 5, 2026