Skip to content

perf(ci): cut the PR gate from 9 to 6.5 minutes and unblock releases - #187

Merged
badcuban merged 3 commits into
mainfrom
ci/faster-gates
Aug 27, 2026
Merged

badcuban merged 3 commits into
mainfrom
ci/faster-gates

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

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:

  • Nightly cron moves from :00 to :07. Top-of-hour crons started 14 to 22 minutes late.
  • The 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.
  • Both macOS artifacts build at once. max-parallel: 1 cost 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".

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.
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadlines Ready Ready Preview Aug 27, 2026 4:02pm

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 27, 2026
@badcuban
badcuban merged commit 1eb6018 into main Aug 27, 2026
20 checks passed
@badcuban
badcuban deleted the ci/faster-gates branch August 27, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 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