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
fix(ci): the pr-verify capture has no subscription fallback, so a burnt API key blocks every capture #16679
The pr-verify capture runs its model calls only on PR_VERIFY_CLAUDE_API_KEY. That key is out of credit, so every capture records blocked (run 43986108575, 2026-11-17 00:17Z: "class=credit-stop on PR_VERIFY_CLAUDE_API_KEY api_error_status=400"). The intent verifier itself keeps working in the same state, because it falls back to its subscription credential; the capture has no such fallback.
Decision
Owner, 2026-11-16, typed in the GitHub Work session, verbatim: "The API key: I don't think we have any others that are up and available, so it should still fall back to a subscription token." Posted by an agent session.
Done when
When the capture's API key is held (credit stop, auth failure, or inside its hold window), the capture runs on the subscription credential the way the verifier's own leg does, and records which credential ran.
The capture's sandbox, its read-only mounts and what the driven session can reach are unchanged; the pull request body states what the subscription credential is exposed to in the capture job and how that compares with the verifier's leg.
With the API key held, a capture on a pull request records ran, not blocked.
Tests cover the fallback choice and the recorded credential.
Related
Refs: #16387 (its three capture runs wait on this), #16383.
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Understood: when PR_VERIFY_CLAUDE_API_KEY is held (credit stop, auth failure, or inside its hold window), the pr-verify capture should fall back to the subscription credential, as the verifier's leg does. It should record which credential ran. Today every capture records blocked, which also stalls the capture runs waiting in #16387. The sandbox and its mounts stay unchanged. The PR should state what the subscription credential is exposed to in the capture job. Tests should cover the fallback choice and the recorded credential.
The done-when list is specific enough to start from. Two notes for whoever picks it up:
Not admitted to the issue lane: its title or stated work names a charge (subscription), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Reason: cost
melodic-automation-lanes commented on Nov 17, 2026
Build stopped before any change; this goes back to the owner.
A builder read the capture and found only one way to reach ran on a subscription credential without making the token readable by pull request code: put the token behind the key proxy. That is the approach an earlier owner decision ruled out. On #12232 (2026-11-05, "no paid key for the UI capture") the capture was made key-only because "driving the TUI on a subscription leg would mean proxying a subscription token, which legal-and-compliance bars", and the capture workflow's header and a test exemption record it as a permanent key-only decision. The two other ways either hand the token to the driven session, which runs the pull request's hooks and Bash, or widen its exposure and still record blocked.
The decision quoted in this issue's body was given without that reading in front of the owner, so it is not treated as settling it. No code was changed and no pull request exists. The issue lane should not take this.
Owner, 2026-11-17, typed in the GitHub Work session in answer to the capture-fallback question, verbatim: "go w/ recommendations". The recommendation shown to him was option B: keep the capture key-only; it records blocked until an API key with credit is in place. Basis shown: his 2026-11-05 decision on #12232 that the capture's credential is never proxied to code a pull request controls.
Result:
The subscription fallback this issue asks for is not built. This supersedes the 2026-11-16 answer quoted in the issue body.
The capture stays blocked while PR_VERIFY_CLAUDE_API_KEY is out of credit. A key with credit in that secret is what restores it.
Activity
github-actions commentedon Nov 17, 2026
Size: Medium
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Understood: when PR_VERIFY_CLAUDE_API_KEY is held (credit stop, auth failure, or inside its hold window), the pr-verify capture should fall back to the subscription credential, as the verifier's leg does. It should record which credential ran. Today every capture records
blocked, which also stalls the capture runs waiting in #16387. The sandbox and its mounts stay unchanged. The PR should state what the subscription credential is exposed to in the capture job. Tests should cover the fallback choice and the recorded credential.The done-when list is specific enough to start from. Two notes for whoever picks it up:
No merged pull request in the recent list appears to fix this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 17, 2026
Not admitted to the issue lane: its title or stated work names a charge (subscription), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).Reason:
costmelodic-automation-lanes commentedon Nov 17, 2026
The latest triage verdict holds nothing: admission moved the issue to
needs-owner-decision; its comment says why.kyle-sexton commentedon Nov 17, 2026
Build stopped before any change; this goes back to the owner.
A builder read the capture and found only one way to reach
ranon a subscription credential without making the token readable by pull request code: put the token behind the key proxy. That is the approach an earlier owner decision ruled out. On #12232 (2026-11-05, "no paid key for the UI capture") the capture was made key-only because "driving the TUI on a subscription leg would mean proxying a subscription token, which legal-and-compliance bars", and the capture workflow's header and a test exemption record it as a permanent key-only decision. The two other ways either hand the token to the driven session, which runs the pull request's hooks and Bash, or widen its exposure and still recordblocked.The decision quoted in this issue's body was given without that reading in front of the owner, so it is not treated as settling it. No code was changed and no pull request exists. The issue lane should not take this.
kyle-sexton commentedon Nov 17, 2026
Decision recorded.
Owner, 2026-11-17, typed in the GitHub Work session in answer to the capture-fallback question, verbatim: "go w/ recommendations". The recommendation shown to him was option B: keep the capture key-only; it records
blockeduntil an API key with credit is in place. Basis shown: his 2026-11-05 decision on #12232 that the capture's credential is never proxied to code a pull request controls.Result:
blockedwhilePR_VERIFY_CLAUDE_API_KEYis out of credit. A key with credit in that secret is what restores it.reproduce_findings: requirewindow wait on that key.Closing as not planned. Posted by an agent session.