Optimize release workflow job execution#2430
Conversation
- Use Blacksmith runners for release jobs - Scope Bun installs and build the web package explicitly - Pin oxfmt to 0.40.0 during version updates
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
ApprovabilityVerdict: 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. |
Co-authored-by: Julius Marminge <julius@macmini.local>
Summary
bun installscope in release-related jobs to only the packages they need.oxfmtto0.40.0for deterministic formatting during version updates.Testing
.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.ymlGitHub Actions workflow to reduce runtime by moving additional jobs (check_changes,release,announce_discord) onto Blacksmith runners.Scopes several
bun installsteps to only the required workspaces via--filter(notably release/finalize/announce and CLI publishing), and splits publishing builds into explicit@t3tools/webandt3build steps.Pins
oxfmtto0.40.0during 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
check_changes,release, andannounce_discordjobs to theblacksmith-8vcpu-ubuntu-2404runner.bun installto only the relevant workspace filters in each job, reducing install overhead.check_changesinto separate steps, building@t3tools/webfirst, thent3independently.oxfmtto version0.40.0in thefinalizejob to avoid unpinned version drift.Macroscope summarized 96790d9.