Repository navigation
Description
Problem or Motivation
Rule Pack Tests, Third-Party Image Scan, Image Pins and Docs Site Build test their paths in a step. Thus each one takes a runner on each PR push. In 61 PR runs, they did work in 0, 0, 12 and 39 runs. Each one waited 9.4-11.3 min in the queue for 0.09-0.30 min of work (measured). None of them is a required check.
Saving: 3.2 jobs per push on average (measured work rates). That is about 500 job starts per day, and each one waited about 10 min in the queue.
Found by the CI and test audit of 2026-11-11. The account runs at most 20 hosted jobs at one time (measured), so each job that does no work makes the queue of each pull request longer.
Proposed Solution & Architectural Design
- Move each job into its own workflow file with
on.pull_request.pathsequal to its current filter. Keep each job name. fail-to-pass.yml:8-14already uses this native filter (AGENTS.md rule 3).- Remove the in-step filters.
- Update the parity allowlists in
tests/commands/test_ci.py:2295-2319andtests/invariants/test_workflow_contracts.py:485. - The third-party scan stays report-only.
Risk: Low. A workflow that its filter skips reports no check, and none of the four checks is required.
Target Subsystem
SDLC, Git & PR Governance (.github/workflows/, tests/commands/test_ci.py, tests/invariants/test_workflow_contracts.py).
Existing Tool Considered
The native on.pull_request.paths filter of GitHub Actions. A dorny/paths-filter step still takes a runner, so it does not solve this. No new tool. Cost: about 40,000 tokens and 2 hours.
Acceptance Criteria
- Over one day, these checks start 0.84 jobs per push on average (from 4).
- Each check keeps its name.
- A PR that changes no path of a filter gets no run of that workflow.
- The third-party scan stays report-only.
Dependencies
None.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
perfprefix of the title gives the type.(ci)scope of the title gives the scope.It saves about 500 job starts per day but no check is blocked or failing.Reducing 3.2 wasted job starts per push shortens queue wait for every PR.The body estimates 40,000 tokens and 2 hours of work across four workflow files and two test files.Both reduce unnecessary CI job starts on PRs, but #4637 targets the release PR while this candidate targets all PRs for four specific checks.devops-cli-service commentedon Nov 12, 2026
Released in v0.116.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.116.2
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 06:05 UTC