mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 09:03:37 +01:00
Overnight, GitHub refusals reached the logs as bare HTTPError/UnknownError with no code: a ZIP whose archive request was refused became a cut connection and a 502 zip_not_available, a 401 while checking a file became an uncoded 401, and an Octokit 403 on /options answered internal_error. - codeUpstreamError maps got/Octokit replies to repo_not_accessible, github_rate_limit_exceeded, github_unavailable or upstream_error; handleError applies it, the streamer file route uses the file-level mapping, and programming errors pass through unchanged. - A ZIP that fails before any byte answers with the code, so the API relays it; 4xx archive refusals log at warn. - branch_not_found (owner deleted the branch) logs at warn. - Octokit's HttpError is an allowlisted error type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>