Skip to content

feat(pr-pipeline): audit each lane against the outage pause-and-resume posture (#9205 slice 3) #12283

Closed
2 of 2 issues completed

Description

@kyle-sexton

Refs: #9205

Problem

Slice 3 of #9205: each lane audited against elements 1-6. The posture is owner decision Q677 (record). One issue covers all 14 lanes instead of the record's one issue per lane. Basis: judgment (the audit table is one artifact; size split up to 10 parts, admission-rules.json size-split.max-parts). Slice 1, the shared retry helper and pr-merge's listing, landed in #11596 (32cf9a9).

The six elements, from #9205's body:

  1. Scripts retry; the model never does. At most 3 attempts per call. Wait for retry-after if present; for a primary rate limit wait until x-ratelimit-reset; for a secondary limit at least 60 s; otherwise capped exponential backoff with full jitter. A wait beyond a small per-step budget means unknown (2), not a sleep. Non-idempotent writes are not retried.
  2. A read that fails, or a 200 whose completeness check fails, makes the verdict unknown: hold, file nothing, merge nothing, exit green with a notice.
  3. The next existing cron tick is the probe. No stored breaker, no re-arm, no status-page trigger.
  4. Demote or file a failure only on positive evidence from a complete read. A record a lane filed is closed by the lane when a later complete read contradicts it.
  5. The GitHub status page never gates, opens or closes anything; it may be quoted in a hold notice as context.
  6. Don't amplify load: serial reads, conditional requests (etag) for repeated polls, default single-pending concurrency on scheduled lanes, optional work skipped while unknown, other lanes off minute 0.

The lanes are the 14 keys of .github/actions/resolve-config/lane-rules.json on origin/main 403185fdab: work-resolve-issue, intake-triage, work-unblock, pr-refine, pr-run-checks, pr-review, pr-review-security, pr-verify, pr-explain, pr-require-checks, pr-unblock, pr-merge, post-merge-verify, post-merge-sweep-comments.

#11596's "Remaining" notes to fold into the pr-merge audit:

  • A permanent fault, such as a bad token or 1000 open pull requests, now shows only a notice on each sweep where the job used to go red. "The per-lane audit slice is where to surface it."
  • Rate limits still print an ::error:: annotation from the shared api_budget_stop, though the step ends green.
  • Whether GitHub can return a short listing and a short totalCount together is unverified.

Element 4's self-close is #12282; this issue audits for it but does not build it.

Done when

  • For each lane above, the PR body has a table with one row per element 1-6. Each row reads met, gap or not applicable, with the file:line that shows it.
  • Each gap whose fix is a script change under .github/scripts/ or .github/actions/ is fixed in this change, with a test for the element it implements, per feat: pause and resume every lane on an upstream outage without a human re-arm #9205's Verification section.
  • Each gap that needs a workflow file change, or is larger than this change, is listed in the PR body under "Remaining", with the lane, the element and the file to change.
  • The pr-merge row for element 2 says how a permanent fault, a bad token or 1000 open pull requests, is surfaced, or names it under "Remaining".

If intake sizes this Large, its size split takes at most 10 parts (admission-rules.json size-split.max-parts), so some parts will hold more than one lane.

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added theissue type on Nov 2, 2026
  2. github-actions commented on Nov 2, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Large
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: slice 3 of #9205. Audit all 14 lanes against the six outage pause-and-resume elements. Put a per-lane table in the PR body. Fix script-level gaps under .github/scripts/ or .github/actions/ with tests. List workflow-file or larger gaps under "Remaining". Say how pr-merge surfaces a permanent fault.

    The done-when items are exact, so I see no open intent question. The issue itself notes this is Large and would be split into at most 10 parts. #12282 (self-close for element 4) is related but not a blocker. I found no duplicate among the open issues.

    Automated triage, applied by the lanes App.

  3. added
    status: ready
    on Nov 2, 2026
  4. melodic-automation-lanes commented on Nov 2, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: sub-issue #12292 is open.

  5. melodic-automation-lanes commented on Nov 2, 2026

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 2 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed as completed by a merge or a listed human and its done-when is covered.

  6. melodic-automation-lanes commented on Nov 7, 2026

    @melodic-automation-lanes
    Contributor

    Every sub-issue of this split is closed as completed by a listed human or a merge (#12291, #12292), so the lanes App closes it as completed.

  7. removed
    status: ready
    on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    ready

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions