Repository navigation
Description
No related issue: found by the monitoring session.
Summary
At 05:57Z on 2026-10-18, three workflows' GITHUB_TOKEN calls got HTTP 403 within the same minute. None logs why, so the limit that was hit can't be named.
- pr-verify (https://github.com/melodic-software/claude-code-plugins/actions/runs/39102239338): "pr-verify could not resolve the pull request: GET /repos/melodic-software/claude-code-plugins/actions/runs/39102053177 failed with status 403"
- pr-refine (https://github.com/melodic-software/claude-code-plugins/actions/runs/39102219418): "report-check-run: could not post the check run (POST /repos/melodic-software/claude-code-plugins/check-runs failed with status 403)"
- pr-feedback-dispatch (https://github.com/melodic-software/claude-code-plugins/actions/runs/39102188060): "pr-feedback dispatch failed: GET https://api.github.com/repos/melodic-software/claude-code-plugins/actions/runs/39102172643 returned 403"
The lanes broker's App token was healthy over the same window: 64 allows and 3 workflow-modified denies in AppTraces. The likely cause is the repository's GITHUB_TOKEN budget running out. GitHub limits it to "1,000 requests per hour per repository", shared by every workflow in the repository (https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api). That cause is unverified until the response is logged.
Fix
On any non-2xx GitHub API response in pr-verify, pr-refine and pr-feedback-dispatch, log:
- the HTTP status;
- the
x-ratelimit-remaining,x-ratelimit-resetandx-ratelimit-resourceheaders, plusretry-afterwhen present; - the first 200 characters of the response body.
Keep it in the existing error annotation or a ::notice, with no new API calls. GitHub's best-practices page explains how to read these headers on a rate-limit response (https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api).
Verification
- A forced 403, for example a call with a bad token in a test, shows the status, all four header values and the body prefix in the run's annotation.
- The next real 403 names its limit, either
x-ratelimit-resource: corewith remaining 0, or a secondary-limit body.
Related
#7954, #8032, #8029. The pr-merge verdict-artifact listing on github.token is the suspected main consumer; poteto is measuring it.
🤖 Generated with Claude Code
Activity
github-actions commentedon Oct 18, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
You asked for non-2xx GitHub responses in pr-verify, pr-refine and pr-feedback-dispatch to log the status, rate-limit headers and a body prefix. The recorded decision below narrows that to the non-rate-limit errors that still log only a message. It settles the open questions, so nothing more is needed from you.
#8062 (comment)
Automated triage, applied by the lanes App.
kyle-sexton commentedon Oct 31, 2026
Decision recorded.
Part of this is done at origin/main: the three scripts call GitHub through
createGitHuborbudgetedFetch(resolve-pr.mjs:801,feedback-dispatch.mjs:137,report-check-run.mjs:131), which share the rate guard that logs the method, URL, pool, status and reset on a rate-limited 403 or 429 (.github/actions/log-api-budget/rate-guard.mjs:1-4,:451-475). Any other non-2xx still logs only the message (resolve-pr.mjs:877,feedback-dispatch.mjs:1231,report-check-run.mjs:138-140), so the rest of the body's fix remains, and the body's second verification line, which waits for a real 403, is not a criterion here. Agents decided this on evidence under standing direction §1.Done when
.github/scripts/pr-verify/resolve-pr.mjs:877,.github/scripts/pr-unblock/feedback-dispatch.mjs:1231and.github/actions/report-check-run/report-check-run.mjs:140carry the HTTP status, thex-ratelimit-remaining,x-ratelimit-resetandx-ratelimit-resourceheaders,retry-afterwhen present, and the first 200 characters of the response body, with no new API call.github-actions commentedon Oct 31, 2026
melodic-automation-lanes commentedon Oct 31, 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: A non-2xx GitHub response that the rate guard does not treat as a rate limit makes the error annotations in resolve-pr, feedback-dispatch and report-check-run carry the status, rate-limit headers, retry-after when present and a 200-character body prefix, with a test for each script.
Acceptance criteria
External state: none
Related work
Sources read
Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is
**Decision recorded.**, which sends the issue back through intake.github-actions commentedon Oct 31, 2026