Repository navigation
Description
Problem or Motivation
Each merge runs the tests on the main push (7 jobs, 28.1 runner-min when the run completes) and also on the release PR. The next merge cancels most of both: 38 of 50 main runs and 33 of 41 release runs (measured).
Owner decision O3 (2026-11-11): amend ADR 0014 to test each merge once, on the main push. The release PR runs only the required checks and reads the result of main. The release-please trigger stays as it is.
Saving: 7 jobs and 28 runner-min per merge (measured job times).
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
- Amend ADR 0014 with decision O3: each merge gets one test run, on the
mainpush. The status of the release PR still shows a defect onmain, because it reads that run. - On the release PR (head ref
release-please--*), the test shards do not run. TheTests & Coveragecheck reads the conclusion ofTests & Coveragein themainpush run of the base commit of the release PR, and it reports that conclusion. - Decide in the design how a merge treats the
mainrun before it: themainrun completes (cancel only PR runs), or the release PR reads the newest completedmainrun. Record the choice in ADR 0014. job-timereads themainpush runs.- Do not change the release-please trigger,
release.ymlor the required checks.
Risk: Low-medium. job-time must read another history. A release PR whose base run did not complete must wait or read an older run.
Target Subsystem
SDLC, Git & PR Governance (docs/adr/0014-required-checks-gate-the-merge-and-the-pre-push-hook-runs-the-fast-static-checks.md, .github/workflows/ci.yml, src/devops_cli/github/client.py).
Existing Tool Considered
GitHub Actions job conditions and the GitHub REST API for workflow runs, through the existing client. No new tool. Cost: about 50,000 tokens and 4 hours.
Acceptance Criteria
- Each merge starts one test run.
- The release PR starts no test shard, and its
Tests & Coveragecheck fails when themaintest run of its base failed. - ADR 0014 records the choice.
job-timereads that run.
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 28 runner-min per merge and shortens PR queue time, but does not block delivery or fix a defect.It reduces wasted CI minutes and queue delay for every merge, but adds no user-facing capability.It requires an ADR amendment, workflow condition changes, a job-time client update, and an edge-case design decision for incomplete main runs.Both stem from the 2026-11-11 CI audit and decision O3, but #4637 reduces the job graph on the release PR while this candidate eliminates test shards on the release PR and reads the main push result.devops-cli-service commentedon Nov 12, 2026
Released in v0.118.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.118.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 12:40 UTC