perf(ci): cut the PR gate from 9 to 6.5 minutes and unblock releases - #187
Merged
Merged
Conversation
CI ran the server test suite only after the web suite finished because vp run keeps package dependency order and server depends on web. Tests have no build dependency, so --parallel lets them overlap. The nightly cron moves from :00 to :07; top-of-hour crons started 14-22 minutes late. The desktop release workflow no longer cancels an in-progress run on the same ref, so a second nightly queues instead of killing a publisher mid-upload.
max-parallel: 1 made the x64 build wait for arm64 to finish. On the last stable release that added 7 minutes to the critical path. The bound was added with the notarization work without a stated reason; if Apple throttles concurrent notarization this commit is the one to revert.
The browser suite ran after the unit suite inside one job. It shares no state with the other checks, so it now runs beside them. Cuts the pull-request gate from about 8.5 to about 5.5 minutes.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI ran every check in one serial job, about 8.5 to 10 minutes. The browser suite now runs in its own job beside the unit suite, and the test packages run in parallel instead of in dependency order (server waited on web for no reason). Measured on this branch: 6m35s.
Release side, from the same audit:
max-parallel: 1cost up to 7 minutes on stable releases and had no stated reason. Separate commit; revert it alone if Apple throttles notarization.Branch protection on main must be updated to the new job names before merge: "Format, Lint, Typecheck, Test, Build", "Browser Test", "Release Smoke".