Versioned API schema
GitHub REST API rate_limit resources code_scanning_upload removed
A dashboard or quota guard crashes when reading a removed resource bucket.
Agent Quick Fix
Repair against the current GitHub contract, then keep the change narrow and source-backed.
Product: GitHub
Current-contract area: rate_limit resources.code_scanning_upload removed
Likely root cause: A dashboard or quota guard crashes when reading a removed resource bucket.
Repair direction: Verifier exercises the changed field/status/enum plus an unaffected endpoint to prevent a brittle one-off patch. Verify the supported asynchronous/current path and preserve idempotency.
Symptom
A dashboard or quota guard crashes when reading a removed resource bucket.
Why This Happens
Several historical response shapes are locally plausible; only the selected current API version determines fields, enums, media types, and status codes.
Common Wrong Fixes
- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.
Codex Search Keywords
These are the search terms observed in a neutral Codex validation run for this failure shape.
GitHub REST API rate_limit resources code_scanning_upload removed
"code_scanning_upload" GitHub
GitHub REST API rate limit resources response code_scanning_upload
https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28
Source Trail
GitHub source file/reference: