Repository navigation
ci(web): run the web checks in one job and the web tests in two shards - #3930
Conversation
Every CI run took six of its fourteen jobs for the web lanes: a build and a checks job and four test shards, each one to two minutes. GitHub-hosted jobs share one organization-wide concurrency limit, which peak hours reach; jobs then wait minutes for a slot. The build and checks now run as one Web job, and the vitest suite runs in two shards instead of four. The web lanes still finish well before the Go jobs on a run that has both. The merged job keeps running the typecheck, build and generated-binding checks after a lint or format failure, as the separate jobs did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 59 minutes. View limit details
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Related issue: N/A
Validation tasks: none
Each CI run uses 14 GitHub-hosted jobs, and six of them are web lanes of one to two minutes each. Jobs from every Silo-Server repository share one concurrency limit, which peaks at about 60 running jobs; between 15:00 and 17:00 and at 20:00 UTC, one job in ten waited 4 to 11 minutes for a runner. This change frees three job slots per run.
Approach
Web (build)andWeb (checks)become oneWebjob, and the vitest suite runs in two shards instead of four. In the merged job, the typecheck, build and generated-binding checks still run after a lint or format failure, as they did in separate jobs.On a run that also has Go jobs, the web lanes still finish well before them. A web-only pull request (about a quarter of runs) should take about a minute longer, since each of the two shards now runs half the suite instead of a quarter; that is an estimate.
CI runs
trusted-linux-ci.ymlfrommain, so this pull request's own checks still run the old jobs. The change takes effect after merge, and reverting it is the fallback if it misbehaves.Validation
Measurements behind this change (Nov 3–10)
Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3930/
Risks
Web (build)andWeb (checks)becomeWeb, andWeb test (n/4)becomesWeb test (n/2). Merges are gated onCI result.silo-job-web-test-3/-4goes away; self-hosted runners are off today.Checklist
AI Disclosure
🤖 Generated with Claude Code