Repository navigation
Description
Problem or Motivation
The release PR changes only .release-please-manifest.json, CHANGELOG.md, pyproject.toml and uv.lock. Each image path filter holds pyproject.toml and uv.lock, so each push to the release PR runs the full graph of 25 jobs.
On 2026-11-11, 41 of 157 PR pushes were pushes to the release PR, and the next merge cancelled 33 of these 41 runs (measured). 17 release-PR runs used 540 runner-min, and 279 runner-min of that were in cancelled runs (measured).
release.yml already builds, smoke-tests and scans each image before it publishes the image. ADR 0004 names a strict policy and an update-prs.yml that do not exist.
Saving: About 15 jobs and 55 runner-min per merge when the release run completes (estimated).
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
- Add
!startsWith(github.head_ref, 'release-please--')to theif:of each job that is not required:devcontainer,service-image,service-image-test,runner-image,mcp-server-image,changed-testsand the path checks that are still inci.yml. - Keep
Static Analysis, the test shards,Tests & Coverage,Semantic PR titleand CodeQL. - In the same PR, mark ADR 0004 as superseded by ADR 0014 (AGENTS.md rule 8).
- Do not change
release.ymlor the release-please trigger.
Risk: A defect that only a combined image build shows appears at publish time in release.yml, not on the release PR.
Target Subsystem
SDLC, Git & PR Governance (.github/workflows/ci.yml, docs/adr/0004-ci-is-the-authoritative-gate.md).
Existing Tool Considered
GitHub Actions job conditions on github.head_ref (native). No new tool. Cost: about 20,000 tokens and 1 hour.
Acceptance Criteria
- A push to the release PR starts 9 jobs or fewer (from 25).
- The 3 required checks report on the release PR.
release.ymldoes not change.- ADR 0004 has a Status line that names ADR 0014.
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.Saves runner-minutes and queue time but does not block correctness or security.Reduces wasted runner-minutes and shortens the PR queue for all contributors.Add one if-condition to seven jobs and update one ADR status line.Both concern which CI checks apply to the release branch, but #842 configures merge-gate requirements while this candidate reduces which jobs run on the release PR.devops-cli-service commentedon Nov 12, 2026
Released in v0.119.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.119.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 15:46 UTC