Skip to content

ci: split static checks and tests into parallel lanes - #38

Merged
systemfsoftware-bot merged 2 commits into
mainfrom
optimize/ci-gate-wall-time
Nov 25, 2026
Merged

systemfsoftware-bot merged 2 commits into
mainfrom
optimize/ci-gate-wall-time

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor

The CI gate (first job start to checks / check) took 308s median on main. Every test ran in one test job, and lint, typecheck, build and the pack checks ran in one static checks job.

  • static checks is split into lint (format check, lint) and build and pack (typecheck, build, exports, record format, package purity, pack).
  • test is a matrix that runs storage-postgres, platform-cloudflare and agent-testing each split by file across two runners (vitest --shard), plus rest for the remaining packages.
  • A composite .github/actions/workspace installs pnpm, Node, the pnpm store and the frozen lockfile for every lane.
  • checks / check keeps its name and needs every lane.

Measured with dispatched ci.yml runs on throwaway branches, every run passing all 1140 tests in 159 files:

gate, median of 3
main 308s
split into lanes 211s
heavy suites split across two runners 178s

The slowest lanes now run the agent-testing certification and the platform-cloudflare scheduling file. #35 and #37 address those.

@systemfsoftware-bot
systemfsoftware-bot merged commit 47a8cf5 into main Nov 25, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant