Skip to content

fix(ci): isolate releases from shared API rate limits - #5394

Merged
t3dotgg merged 1 commit into
mainfrom
t3code/fix-release-api-rate-limit
Aug 5, 2026
Merged

fix(ci): isolate releases from shared API rate limits#5394
t3dotgg merged 1 commit into
mainfrom
t3code/fix-release-api-rate-limit

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Aug 5, 2026

Copy link
Copy Markdown
Member

Recent nightly releases failed while generating GitHub release notes because publication shared the Release App installation API quota, which was exhausted repeatedly.

Publish releases with the job-scoped GITHUB_TOKEN and least-privilege contents access so release API calls use this repository quota. Keep the Release App for the stable finalize push, upgrade action-gh-release to its Node 24 release, and document the credential boundary.

Testing

  • vp fmt --check .github/workflows/release.yml docs/operations/release.md
  • git diff --check

Generated by GPT-5.6-sol using the Codex harness in T3 Code.


Note

Low Risk
CI-only credential and action version changes; release publishing still needs contents write on the workflow token, with no application runtime impact.

Overview
GitHub Release publication no longer mints or uses the Release App token. The release job now grants contents: write and passes github.token into softprops/action-gh-release@v3 (upgraded from v2) for both normal and first-release publish steps, so release-note generation and asset uploads draw on this repo’s workflow token quota instead of the shared installation limit that was exhausting on nightlies.

Release App credentials are documented and still used only in finalize for committing aligned package versions to main. Ops docs now state that RELEASE_APP_* secrets are required for stable finalize, not for publishing the GitHub Release itself.

Reviewed by Cursor Bugbot for commit 5f2aef9. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Switch release workflow to use default github.token instead of GitHub App token

  • Removes the actions/create-github-app-token minting step from release.yml and replaces all references with the default github.token.
  • Adds contents: write permission to the release job to authorize the default token for publishing releases.
  • Upgrades softprops/action-gh-release from v2 to v3 for both release publication steps.
  • Updates release.md to clarify that only the finalize job uses GitHub App credentials; release publication uses the repository-scoped workflow token.

Macroscope summarized 5f2aef9.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 31546f10-d6f0-4dc8-b533-1867b887fba5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Aug 5, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 5f2aef9

Minor CI/CD workflow change that switches GitHub Release publication from a custom app token to the built-in workflow token for rate limit isolation. No application runtime impact; only affects CI authentication mechanism.

You can customize Macroscope's approvability policy. Learn more.

@t3dotgg
t3dotgg merged commit 9697b76 into main Aug 5, 2026
15 of 16 checks passed
@t3dotgg
t3dotgg deleted the t3code/fix-release-api-rate-limit branch August 5, 2026 09:36
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 5, 2026
## What's Changed
* fix(mcp): unblock Kimi models in OpenCode with preview tools by @hwanseoc in pingdotgg/t3code#5128
* fix(web): clear main branch lint warnings by @t3dotgg in pingdotgg/t3code#5384
* fix(mobile): preserve grouped project workspaces by @shivamhwp in pingdotgg/t3code#4642
* fix(mobile): prevent Android thread search crash by @shivamhwp in pingdotgg/t3code#5386
* fix(web): truncate long project switcher names by @FllipEis in pingdotgg/t3code#5348
* fix(mobile): avoid double dividers between thread sections by @shivamhwp in pingdotgg/t3code#5391
* fix(web): keep the composer command menu anchored to the composer by @StiensWout in pingdotgg/t3code#5336
* fix(web): restore terminal link hover styles by @StiensWout in pingdotgg/t3code#5382
* fix(ci): isolate releases from shared API rate limits by @t3dotgg in pingdotgg/t3code#5394


**Full Changelog**: pingdotgg/t3code@v0.0.32-nightly.20260805.1002...v0.0.32-nightly.20260805.1005

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.32-nightly.20260805.1005
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
Upstream pingdotgg#5394 switched the Publish job to github.token for rate-limit
isolation. This fork already publishes via RELEASE_APP_* secrets, so
restore minting that app token for softprops/action-gh-release while
keeping the rest of the pingdotgg#5394 workflow updates.

Co-authored-by: aaditagrawal <aaditagrawal@users.noreply.github.com>
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
Upstream pingdotgg#5394 switched the Publish job to github.token for rate-limit
isolation. This fork already publishes via RELEASE_APP_* secrets, so
restore minting that app token for softprops/action-gh-release while
keeping the rest of the pingdotgg#5394 workflow updates.

Co-authored-by: aaditagrawal <aaditagrawal@users.noreply.github.com>
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
Upstream pingdotgg#5394 switched the Publish job to github.token for rate-limit
isolation. This fork already publishes via RELEASE_APP_* secrets, so
restore minting that app token for softprops/action-gh-release while
keeping the rest of the pingdotgg#5394 workflow updates.

Co-authored-by: aaditagrawal <aaditagrawal@users.noreply.github.com>
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
Upstream pingdotgg#5394 switched the Publish job to github.token for rate-limit
isolation. This fork already publishes via RELEASE_APP_* secrets, so
restore minting that app token for softprops/action-gh-release while
keeping the rest of the pingdotgg#5394 workflow updates.

Co-authored-by: aaditagrawal <aaditagrawal@users.noreply.github.com>
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
cursor Bot pushed a commit to aaditagrawal/t3code that referenced this pull request Aug 6, 2026
Upstream pingdotgg#5394 switched the Publish job to github.token for rate-limit
isolation. This fork already publishes via RELEASE_APP_* secrets, so
restore minting that app token for softprops/action-gh-release while
keeping the rest of the pingdotgg#5394 workflow updates.

Co-authored-by: aaditagrawal <aaditagrawal@users.noreply.github.com>
vortechron pushed a commit to vortechron/void that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant