Rank and cut GITHUB_TOKEN calls per pull request head
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the log-api-budget notices for the workflows and jobs during one full busy 5000-call hour, then calculate and rank calls per pull request head. The issue gives examples of runs 45703833390, 45740947939, and 45740947891, and references #19187, #19188, and docs/owner-decisions.md row 443. Done means publishing the ranked table and making measured cuts, then recording fewer review-lane defers per hour on a later busy day; identifying the right callers and reducing usage spans multiple jobs and needs project familiarity.
Written by the indexing model from the issue text.
Description
Context
Owner goal (2026-11-25, verbatim): "Volume should not be causing issues. Our pipeline should be able to accommodate PRs of any size across all its actions."
On 2026-11-25 the per-repository GITHUB_TOKEN budget (5000 calls per hour) was the main reason review lanes did not run: the kill-switch defer gate held both review lanes on more than 7 pull request heads, each leaving CI Status red until a re-run. Examples: run 45703833390 (1312 of 5000 left), #19167's lanes at 00:17Z (1675 left), #19229's lanes at 02:13Z (projected 0.24 of the limit left 8 min ahead; runs 45740947939, 45740947891). #19188 fixed only the defers just before a refill; the rest are real budget pressure. Every job's log-api-budget notices record its GITHUB_TOKEN calls (for example ci-status: github-token=7 ... core-by-reset=...).
Proposed work
- Sum the
log-api-budgetnotices per workflow and job over one busy window (one full 5000-call hour on 2026-11-25 or a later busy day) and rank the callers by calls per pull request head. - Cut the largest callers: conditional requests, one read shared across jobs, or fewer re-runs. Each cut is its own pull request with its measured saving.
Acceptance criteria
- A ranked table of GITHUB_TOKEN calls per pull request head by workflow and job, from the notices, in the issue or the first PR.
- On a later busy day, fewer review-lane defers per hour than on 2026-11-25, with the count in the closing PR.
References
- #19187 and #19188 (near-reset defer floor, merged); architecture docs/owner-decisions.md row 443.
- Dominant language
- Shell
- Stars
- 22
- Forks
- 2
- Avg merge
- 2h
- Merged PRs (30d)
- 960
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from melodic-software/claude-code-plugins
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
melodic-software/claude-code-plugins#19225 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
melodic-software/claude-code-plugins#17779 · 2 comments ·
Maintainers usually reply within 1 day
-
recurring
Difficulty 4/5 3-5 days Newbie friendliness 25/100
melodic-software/claude-code-plugins#19274 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
melodic-software/claude-code-plugins#19270 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 53/100
melodic-software/claude-code-plugins#19269 ·
Maintainers usually reply within 1 day
All issues in melodic-software/claude-code-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nais/attest-sign#139 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
community-scripts/core#303 ·
Maintainers usually reply within 1 day
-
severity: low
Difficulty 1/5 Under an hour Newbie friendliness 72/100
luainkernel/lunatik#2727 ·
Maintainers usually reply within 1 day
-
[quality] release publish.mjs integrity guards have no unit testPossibly taken @robarnold claimed this today. Openagent/quality stage/040-covered-by-pr testing
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
marinatedconcrete/config#1155 ·
Maintainers usually reply within 1 day
-
bug report-to-upstream
Difficulty 1/5 Under an hour Newbie friendliness 75/100
flatpark/flatpark#1585 · 1 comment ·
Maintainers usually reply within 1 day