Skip to content

fix(ci): match the real release image job names in job-time #6734

Closed

Description

@dan-petty

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_NAMES in src/devops_cli/ci/job_time.py holds MCP Server Image and Runner 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 / Verify and <Title> Image / Attest & Tag. Run 44977064803 shows Runner Image / Build, MCP Server Image / Verify and the others. A run with no release shows one skipped job, ${{ matrix.title }} Image. The reader in src/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.yml run, one request for each run (2,384 runs on 2026-11-22). A real run of devops 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 has timeout-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 spec openspec/specs/ci-job-time/spec.md lacks its requirement. openspec/config.yaml says 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 / Build and 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-the moves the change, and the base spec holds its requirement.

Dependencies

None. Related: #6522, #6571, #6635.

Activity

  1. added
    type/bug
    scope/ci
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P0-Critical. The daily CI job times out because the check reads every run, which is a CI failure.
    • Related: fix(ci): release image jobs average over the 6 min bound #6522, which asks for a different change. 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.
  3. added
    source/agent
    status/new
    effort/medium
    value/high
    priority/p0-critical
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 22, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 22, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 22, 2026
  6. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor
  7. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-22 05:04 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p0-criticalscope/cisource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions