plateprocess.dev · PLATE release v0.12.0

Ci Speed Checklist

CI speed checklist for adopters

Use this page when CI is the bottleneck at agent pace: slow feedback burns Actions minutes and blocks merge loops. The checklist is generic infrastructure guidance (Epic #1268, Documentation #1283). Each adopter applies items in its own workflows and config; PLATE does not prescribe a single vendor stack.

Idea credit (summarized in our own words): Owen Gretzinger described on X how tightening runner choice, caching, checkout, job layout, and lint strictness cut wall-clock CI without hiding failures—similar themes appear in the checklist below.

Related PLATE docs:

Checklist

Work top to bottom; skip items that do not apply to your host or trust model. Required merge gates (labels, test, pr-gates when configured) must stay green—speed work must not weaken them without owner approval.

1. Run jobs on faster machines, including tiny ones

A five-second script that waits ten minutes for a hosted runner is still a ten-minute job. Move every workflow job—not only test matrices—off the slowest default pool when you control faster hardware or larger hosted sizes.

2. Seed dependency caches from the default branch

Pull-request cache scopes are usually branch-scoped. Most PRs then start cold unless something populates a cache from the integration branch (for example main or your release track).

3. Prefer blobless checkout over shallow clone

Match checkout settings to what later steps read from Git:

Approach Typical settings When it fits
Shallow fetch-depth: 1 (default on many CI checkout actions) Jobs that only need the latest tree at one commit
Blobless full history filter: blob:none and fetch-depth: 0 on the same checkout step (or git clone --filter=blob:none with no depth limit) Jobs that need merge bases, tags, or full commit history but should not download every blob up front

4. Parallelize independent gates; trim the slowest job

Run lint, typecheck, build, and test in parallel jobs when they do not depend on each other's artifacts.

5. Add CPU before adding shards

When wall time is dominated by process or module startup (interpreter boot, JVM warm-up, loading a large test harness), adding more shards or workers often multiplies that cost.

6. Shared test workers need explicit reset

If the test runner reuses workers across files (for example parallel pytest workers or a pooled browser), require a reset hook between files or classes so order-dependent pollution does not flake.

7. Strict lint and fast static tools

Turn on stricter lint and type rules in CI; automated contributors tolerate noise humans avoid, and catching issues early avoids slow test reruns.

8. Measure cost; faster CI can cost more per month

Larger runners, always-on agents, and extra parallel jobs reduce latency but often raise spend. Track both.

Agents

When asked to “speed up CI,” walk this checklist against the adopter’s workflows. Before baselining or comparing minutes, read .agentic/skills/ci-audit/SKILL.md (lazy-load; do not preload in unrelated tasks). Propose minimal diffs; do not remove required checks or bypass branch protection. Escalate with need:human-review when speed changes affect security boundaries (runner labels on public repos, fork PRs, or secret access).