[Bug]: t3 update release checks ignore GitHub tokens
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github, typescript
Research direction
Start by locating the updater code that sends GET /repos/pingdotgg/t3code/releases and produces “Could not list t3 releases.” Check how release requests are assembled, then verify that GH_TOKEN and GITHUB_TOKEN are considered in the stated order and sent as bearer authentication when available. Done means t3 update can use an available token while retaining the existing release-list behavior.
Written by the indexing model from the issue text.
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
Build, CI, or release tooling
Steps to reproduce
- Install a nightly or preview CLI release.
- Export a valid
GH_TOKENorGITHUB_TOKEN, or authenticate withgh auth login. - Run
t3 updatefrom a network whose shared unauthenticated GitHub API quota is exhausted.
Expected behavior
t3 update should use an available GitHub token when it lists releases, so the request uses the authenticated API quota.
Actual behavior
The updater sends only the Accept header to GET /repos/pingdotgg/t3code/releases. It ignores GH_TOKEN and GITHUB_TOKEN, so every check uses GitHub's shared unauthenticated quota and can fail with Could not list t3 releases.
The update code may walk up to 10 pages because stable, preview, and nightly releases share one release list. This makes the unauthenticated limit easier to hit behind a shared egress IP.
Impact
Major degradation or frequent failure
Version or commit
0.0.43-nightly.20260920.2031; reproduced in source at origin/main (9ea9c3d5d)
Environment
Linux x64, shared corporate network
Workaround
npm install -g t3@nightly avoids the GitHub release-index request. A focused fix is to read GH_TOKEN, then GITHUB_TOKEN, and send Authorization: Bearer <token> when either is set.
- Dominant language
- TypeScript
- Stars
- 23.2k
- Forks
- 5.9k
- Avg merge
- 10h 57m
- Merged PRs (30d)
- 365
Contributor 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 pingdotgg/t3code
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
accepted bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in pingdotgg/t3code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·