You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fork tests starts about 28 GitHub-hosted jobs on most pull requests. The account runs about 20 jobs at once, so when several PRs run together each run takes 12-15 min instead of 7-8. Every merge re-runs CI on the next PR, so run time sets merge throughput.
Measured over the last 50 completed Fork tests runs (2026-11-27):
PR type
Jobs per run
Job-minutes
Wall time
Fork-only PR (every path fork-owned)
12
~25-30
~4.5 min
Push to main / full run
28
~68
~7 min
Mixed PR: apps/server/src/fork/ plus .github/fork-*, fork-kit/ or fork-ci/
28
62-89
7-15 min (queueing)
Cause: the fork_only step is all or nothing. One app path in a PR and every fork-owned path goes to upstream's detector, which does not know them and so runs every job (Test Web x3, Rust, Release Smoke, the whole Test package list). Most of the day's PRs were mixed, and all of them ran everything.
Biggest job costs: Test Web x3 ~5.3 min each, Test x2 ~4.8, Test Server x8 ~1-1.5 (cache hit), Fork kit x3 ~3.1, workflows ~3.9, secret-scan tests ~3.3-4.2.
Plan:
Narrow mixed PRs: drop the fork-owned paths and give upstream's detector only the rest (still fail closed).
Skip the 8 Test Server runners at job level when their gate is off, not inside each runner.
Later: gate fork tooling jobs on app-only PRs; merge tiny jobs (Rust, Release Smoke); rebalance Test Server shards.
Working on the plan's last open item: merge the tiny jobs (Rust, Release Smoke) into Lint as gated steps, so a full run starts 2 fewer jobs. (Gating tooling jobs on app-only PRs is covered by open #1401; the shard rebalance merged in #1162/#1167.)
Activity
Fork tests: check out the workspace where the fork-owned-paths test runs
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
Fork tests: narrow partly fork-owned PRs, skip Test Server at job level
Fork tests: a stale test weight only warns on PRs that do not touch it
Fork tests: check out the workspace where the fork-owned-paths test runs
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
Fork tests: narrow mixed PRs, skip Test Server at job level, stale we…
Fork PR queue: the Test Server seconds table is a gate file
Fork tests: Test Server shards by measured seconds, 8 runners to 6
Fork tests: server shard refresh reads saved logs, writes the table a…
Fork PR queue: the Test Server seconds table is a gate file
Fork tests: Test Server shards by measured seconds, 8 runners to 6 (#…
CI: less duplicate work per push (Fork tests groups, Fork checks edit…
Fork tests: narrow mixed PRs, skip Test Server at job level, stale we…
Fork tests: Test Server shards by measured seconds, 8 runners to 6 (#…
scuttletoby commentedon Nov 30, 2026
Working on the plan's last open item: merge the tiny jobs (Rust, Release Smoke) into Lint as gated steps, so a full run starts 2 fewer jobs. (Gating tooling jobs on app-only PRs is covered by open #1401; the shard rebalance merged in #1162/#1167.)
Fork tests: Rust and Release Smoke run as Lint steps, 2 fewer jobs pe…