Repository navigation
Description
Problem or Motivation
The job timeouts are 2.6 times (changed-tests) to 129 times (third-party scan) the measured maximum. DevContainer allows 60 min for a maximum of 6.47 min (measured). The account runs at most 20 jobs at one time, so a hung job holds a runner for up to 30-60 min.
The owner rule of 2026-11-11 says that each inner timeout is shorter than the one around it (test < step < job), so that the inner one fails first with a clean exit.
Saving: None on a green run. A hung job holds a runner for 20 min or less, not 30-60 min.
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
Set timeout-minutes to about 2 times the measured maximum:
- test-shard 20 (maximum 607-678 s)
- service-image-test 20 (646 s)
- devcontainer 20 (6.47 min)
- static 6 (2.93 min)
- Tests & Coverage 5 (1.05 min)
- the Service, Runner and MCP images 12 (5.13 min)
- rule-pack, docs-site, image-pins and the third-party scan 5
Keep changed-tests at 30 until #4509 (the registry parse) merges, then set it to 15. A second item sets the test-row bound of devops ci below the 20-min job limit.
Risk: A slow runner can cause a false timeout. Watch for timed_out conclusions for 2 weeks.
Target Subsystem
SDLC, Git & PR Governance (.github/workflows/ci.yml).
Existing Tool Considered
GitHub Actions timeout-minutes (native). No new tool. Cost: about 10,000 tokens and 30 minutes.
Acceptance Criteria
ci.ymlholds these values.- The jobs have no
timed_outconclusion in the 2 weeks after the merge.
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.
fixprefix of the title gives the type.(ci)scope of the title gives the scope.Hung jobs hold a runner for 30 to 60 minutes, slowing the queue, but green runs are unaffected.Saves runner time only when a job hangs; no benefit on a green run.Change timeout-minutes values in one YAML file; the body estimates 30 minutes of work.Both concern CI test-shard timing, but #4250 asks to reduce the actual shard duration while the candidate sets the timeout-minutes ceiling.devops-cli-service commentedon Nov 12, 2026
Released in v0.116.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.116.0
devops-cli-service commentedon Nov 12, 2026
Live since 2026-11-12 05:27 UTC