docs(ci): add runner-capacity diagnosis for slow pipelines#117
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a new reference document, ci-runner-capacity.md, which provides guidance on diagnosing slow GitHub Actions pipelines by distinguishing between cap-bound and acquisition-bound regimes, and registers it in SKILL.md. Feedback was provided to replace angle-bracket placeholders (e.g., <run-id>) in the bash code block with plain text placeholders to avoid shell redirection syntax errors.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
A slow GitHub Actions pipeline is often runner-acquisition-bound, not job-duration-bound, and the two need different fixes. New reference (references/ci-runner-capacity.md) documents: - the org-wide concurrency cap by plan (Free 20 / Team 60 / Enterprise 500), independent of repo visibility; - how to tell the regimes apart — Σ queue job-min vs Σ run job-min, and peak concurrency vs the cap — before optimizing; - why, when peak concurrency is below the cap, trimming job count buys ~0 wall clock (jobs wait for machines in parallel; fan-out is correct); - that the real fix there is capacity (plan upgrade / self-hosted, with the public-repo untrusted-PR-code caveat), while cutting compute still lowers org-wide queue pressure for every repo on the shared pool; - controlling for run-to-run queue noise by comparing runs at similar queue pressure. Indexed from SKILL.md. Came from /retro: yes Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Address review: <run-id> in a bash block is a shell redirection if pasted. Use RUN_ID. Came from /retro: yes Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
9d4abe9 to
2dc03d8
Compare
The runner-capacity index row pushed SKILL.md to 505 words (cap 500). Shorten the row label and drop the redundant one-line subtitle (it restated the frontmatter description). Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
|



What
New reference
references/ci-runner-capacity.md(indexed from SKILL.md): how to diagnose a slow GitHub Actions pipeline before optimizing it.The lesson, from a real CI-speedup engagement: after cutting a repo's functional-test compute by 57% and each cell ~4×, PR wall clock did not move — because the pipeline was runner-acquisition-bound, not job-duration-bound. Peak concurrency was 11–15 against a cap of 20, so jobs were waiting individually for machines, not on each other; trimming job count would have bought nothing.
The reference documents:
gh apisnippet;Notes
markdownlint-cli2: 0 errors. Signed + DCO.Came from /retro: yes