CI pipeline speedup
Profile the CI pipeline and cut wall-clock time under a target by improving caching, splitting slow jobs, and removing redundant steps, verifying every run stays green.
/goal the CI pipeline completes in under 10 minutes on a typical PR — analyze the slowest recent runs with `gh run view`, apply one speedup per turn (better dependency caching, job parallelization, removing duplicated steps, trimming artifacts), push to a test branch, and confirm the workflow still passes; stop at the target or after 10 turns
claude-code · codex
Implementation note
One change per turn makes it obvious which tweak saved (or cost) time. All experiments happen on a test branch, never on main's workflow directly.
More ci loops
Ship a PR through CI and reviews
Draft a PR, run CI, collect reviews, merge, and release—repeat every 30 minutes until land criteria are met.
/loop 30m /flow-next:land # ship loop: draft PR → CI green → reviews converged → merged → released
cihigh risk
Watch PR checks pass
Poll GitHub PR checks every 5 minutes until all status checks pass.
/loop 5m gh pr checks 1234
cilow risk
Wait for CI so you don't have to
Poll gh pr checks every 10 minutes and get told when the PR is ready to merge, or a summary of which checks failed and why.
/loop 10m run `gh pr checks 1234`; if all pass, tell me it's ready to merge; if any fail, summarize which and why
cilow risk