Skip to content

Optimize release workflow job execution#2430

Merged
juliusmarminge merged 1 commit into
mainfrom
t3code/optimize-release-jobs
May 1, 2026
Merged

Optimize release workflow job execution#2430
juliusmarminge merged 1 commit into
mainfrom
t3code/optimize-release-jobs

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented May 1, 2026

Summary

  • Move selected release workflow jobs onto Blacksmith runners to reduce execution time.
  • Narrow bun install scope in release-related jobs to only the packages they need.
  • Split the release build into explicit web and CLI build steps.
  • Pin oxfmt to 0.40.0 for deterministic formatting during version updates.

Testing

  • Not run (workflow-only change).
  • Verified the diff updates only .github/workflows/release.yml.

Note

Medium Risk
Workflow-only changes but they modify the release pipeline (runner selection, install/build steps), so a misconfiguration could break publishing or produce incomplete artifacts.

Overview
Optimizes the release.yml GitHub Actions workflow to reduce runtime by moving additional jobs (check_changes, release, announce_discord) onto Blacksmith runners.

Scopes several bun install steps to only the required workspaces via --filter (notably release/finalize/announce and CLI publishing), and splits publishing builds into explicit @t3tools/web and t3 build steps.

Pins oxfmt to 0.40.0 during the finalize version-bump formatting step for deterministic output.

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

Note

Optimize release workflow job execution with scoped installs and dedicated build steps

  • Switches check_changes, release, and announce_discord jobs to the blacksmith-8vcpu-ubuntu-2404 runner.
  • Scopes bun install to only the relevant workspace filters in each job, reducing install overhead.
  • Splits the web and CLI builds in check_changes into separate steps, building @t3tools/web first, then t3 independently.
  • Pins oxfmt to version 0.40.0 in the finalize job to avoid unpinned version drift.

Macroscope summarized 96790d9.

- Use Blacksmith runners for release jobs
- Scope Bun installs and build the web package explicitly
- Pin oxfmt to 0.40.0 during version updates
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

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

Run ID: ce48030e-1efb-4960-a55b-8e6237907977

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch t3code/optimize-release-jobs

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

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

macroscopeapp Bot commented May 1, 2026

Approvability

Verdict: Approved

CI/CD workflow optimizations only: switches to faster runners, filters package installs for efficiency, splits build steps, and pins a tool version. No changes to deployment targets or production behavior.

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

@juliusmarminge juliusmarminge merged commit e5c7ac5 into main May 1, 2026
12 checks passed
@juliusmarminge juliusmarminge deleted the t3code/optimize-release-jobs branch May 1, 2026 03:08
Morphexe pushed a commit to Morphexe/t3code that referenced this pull request May 4, 2026
Co-authored-by: Julius Marminge <julius@macmini.local>
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