Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
Description
Problem
PR #6635 (merged as 1b1a25e, closes #6522) added a check of the release image job times to devops ci job-time. The check matches no job, so it never reports the time of a release image job, and the daily job that runs it does not end in time.
RELEASE_IMAGE_JOB_NAMESinsrc/devops_cli/ci/job_time.pyholdsMCP Server ImageandRunner Image. Since ci(release): push each image once, then verify and tag that digest #6571 the release workflow runs each image as a reusable workflow, so the Actions API names the jobs<Title> Image / Build,<Title> Image / Verifyand<Title> Image / Attest & Tag. Run 44977064803 showsRunner Image / Build,MCP Server Image / Verifyand the others. A run with no release shows one skipped job,${{ matrix.title }} Image. The reader insrc/devops_cli/github/client.py(near lines 795 and 802) matches only an exact name or the prefix<job> (.- Because no run matches, the reader reads the jobs of each completed
release.ymlrun, one request for each run (2,384 runs on 2026-11-22). A real run ofdevops ci job-time --job "MCP Server Image"did not end in 300 s. A control run with--job "MCP Server Image / Build"ended in 114 s. The daily job hastimeout-minutes: 5, so it stops before it can file the alarm. - The fake in
tests/github/test_ci_job_time.py(near lines 102-126) uses the bare names, so the tests pass while the real check matches nothing. - The change
openspec/changes/6522-release-image-jobs-average-over-the/is not archived on main, so the base specopenspec/specs/ci-job-time/spec.mdlacks its requirement.openspec/config.yamlsays that the pull request that closes the issue archives its change.
The advisory post-merge review with the evidence: #6635 (comment)
Expected
devops ci job-time reads the time of each step job of the release image workflows (Build, Verify, Attest & Tag) of each image, and a read of the release image jobs stops after a fixed count of runs that hold them. The daily job ends within its timeout and files the alarm when a job averages over the bound. The change of #6522 is archived.
Acceptance criteria
- Test first: with a fake whose job names are the real names of the Actions API (
Runner Image / Buildand the others, and a skipped${{ matrix.title }} Image), the check reports the average time of each release image job. The test fails on the base. - Test first: when no run holds a release image job, the read stops after a fixed count of runs and does not read every run of the workflow.
uv run devops openspec archive 6522-release-image-jobs-average-over-themoves the change, and the base spec holds its requirement.
Dependencies
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
Activity
dan-petty commentedon Nov 22, 2026
The daily CI job times out because the check reads every run, which is a CI failure.Both concern release image job timing, but #6522 asked to add the check while this candidate fixes the broken job-name matching that the check inherited.chore(ci): archive the change of #6734
fix(ci): bound the runs option of job-time and durations
devops-cli-service commentedon Nov 22, 2026
Released in v0.193.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.193.0
devops-cli-service commentedon Nov 22, 2026
Live since 2026-11-22 05:04 UTC