Skip to content

ci: the Actions token's hourly REST limit runs out and fails CI Status on healthy PRs #17248

Closed as not planned

Description

@kyle-sexton

The repository's Actions token (the installation token the workflows run with) hit its hourly REST limit on 2026-11-18. That failed CI Status on pull requests whose code was fine.

Evidence (two PRs in the same hour)

Expected: a PR's own required gate never fails because shared CI spent the hour's budget.

Likely cause: UNVERIFIED. No one has broken down which workflows spent the 5,000 calls in that hour. The jobs already log a per-step github-token=N counter, so summing those across the hour's runs would name the biggest spenders.

Fix direction:

  1. Attribute the spend from the existing counters.
  2. Cut the biggest spender, for example with conditional requests or by sharing one read per run.
  3. Consider failing over to a lane App token, which has its own limit, for the gate's own reads.

Reported by a hub session while merging #17225 and #17228.

Activity

  1. added
    needs-triage
    on Nov 18, 2026
  2. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: CI workflows that spend the Actions token's REST budget, and every PR whose CI Status gate reads from it.
    Reversible: yes; nothing changes until one of the two issues is worked.
    Open questions: none
    Duplicate of #16642: both report the workflow token reaching its hourly rate limit and CI steps failing instead of waiting. Your evidence (runs 44382597894, 44381351313 and 44381353996 on #17225 and #17228) may be worth adding there. #16944 ("Stop the lanes being throttled or refused tokens") is related. No merged pull request in the recent list appears to fix this.

    Automated triage. A maintainer reviews it.

  3. added
    duplicate
    on Nov 18, 2026
  4. melodic-automation-lanes commented on Nov 18, 2026

    @melodic-automation-lanes
    Contributor

    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; it carries duplicate. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

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

    @melodic-automation-lanes
    Contributor

    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: Fold this evidence into #​16642 and close this issue as its duplicate; the rate-limit work continues there.

    Related work

    Open questions

    1. Should this issue be closed as a duplicate of #​16642, with runs 44382597894, 44381351313 and 44381353996 added there as evidence?
      RECOMMENDED: Yes, close it and move the evidence to #​16642. Basis: 16642
    2. Which workflows spent the 5,000 calls in the hour ending 19:46Z on 2026-11-18? The issue marks the cause as unverified, so the biggest spender to cut is unnamed.
      RECOMMENDED: Sum the github-token=N counters from the api-calls notices in that hour's runs, then cut the top spender; do this under #​16642. Basis: .base/.github/actions/log-api-budget/count-requests.test.mjs:232
    3. Should the CI Status gate fail over to a lane App token for its own reads (fix direction 3)? The owner has to accept the credential and blast-radius trade-off.
      RECOMMENDED: Decide this only after the spend is attributed; first try conditional requests or sharing one read per run. Basis: judgment

    Sources read

    • /home/runner/work/claude-code-plugins/claude-code-plugins/refine-data/context.json: issue body, intake triage naming #​16642 as the duplicate and #​16944 as related, no maintainer comments
    • /home/runner/work/claude-code-plugins/claude-code-plugins/.base/.github/actions/log-api-budget/count-requests.test.mjs:232: the per-step api-calls notice prints github-token=N, lanes-app=N, not-modified=N and graphql=N, so the counters the issue names exist

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 18, 2026

    @kyle-sexton
    MemberAuthor

    Duplicate of #16642; the evidence is now there.

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

    duplicateneeds-triage

    Type

    Fields

    Work status

    needs-owner-decision

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions