Skip to content

fix(ci): close the rescan and trigger gaps of the workflows #7961

Done

Description

@dan-petty

Problem Description

Three workflows have gaps.

  1. Image Rescan does not scan one published image. release.yml publishes five images: service, runner, mcp-server, uv-seed and devcontainer. The matrix of .github/workflows/image-rescan.yml holds four of them and not uv-seed. The requirement "Daily rescan of published images" of openspec/specs/ci-image-scan/spec.md lists the same four. So the daily run does not report a vulnerability of uv-seed that is published after a release.
  2. A pull request that changes only .node-version or .trivyignore.yaml does not start DevContainer Image. The job reads the two files: the actions devcontainer-image and devcontainer-smoke give .node-version to actions/setup-node, and .trivyignore.yaml is the default ignore-file of the action image-scan. The filter on.pull_request.paths of .github/workflows/devcontainer-image.yml names neither file.
  3. Copilot Setup Steps runs two times for one change of a pull request branch. In .github/workflows/copilot-setup-steps.yml, push has branches: ["**"], pull_request has the same paths, and the workflow has no concurrency group.

Reproduction Steps

  1. List the jobs of rescan run 46355724738: uv run devops gh api 'repos/{owner}/{repo}/actions/runs/46355724738/jobs' --jq '.jobs[].name'. It names four images.
  2. Read on.pull_request.paths of devcontainer-image.yml.
  3. List the setup runs of one branch: uv run devops gh api 'repos/{owner}/{repo}/actions/workflows/copilot-setup-steps.yml/runs?branch=renovate/patch-devtools'. Commit 8ef5de1364186aedff8db5346024d3d5109a1ce3 has run 46482898847 for push and run 46482917767 for pull_request.

Expected vs Actual Behavior

Expected: the daily rescan covers each published image, a pull request that changes an input of the DevContainer image builds it, and one change of a pull request branch starts one setup run.

Actual: the rescan covers four of five images, two inputs start no build, and one commit gets two setup runs.

Proposed Solution

  • Add uv-seed to the matrix of image-rescan.yml and to the requirement of the spec ci-image-scan.
  • Add .node-version and .trivyignore.yaml to the paths filter of devcontainer-image.yml and to the spec ci-devcontainer-image.
  • In copilot-setup-steps.yml, run on push only for main, and add one concurrency group for each ref.

Acceptance Criteria

  • uv run devops ci --check --only actionlint,zizmor,docs passes.
  • After the merge, a manual run of Image Rescan is green and has the job Rescan Image (uv-seed).
  • No new test reads a workflow file. actionlint, zizmor and a live run are the proof.

Activity

  1. added
    type/bug
    scope/ci
    source/agent
    status/new
    on Nov 30, 2026
  2. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor
  3. added
    value/medium
    effort/low
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 30, 2026
  4. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor

    #7966 delivers this item without one part of the proposed solution: the paths filter of devcontainer-image.yml gets .node-version and not .trivyignore.yaml.

    If you want the path nevertheless, add the line - ".trivyignore.yaml" to on.pull_request.paths and change the requirement of ci-devcontainer-image.

  5. added
    status/in-review
    and removed
    status/in-progress
    on Nov 30, 2026
  6. removed
    status/in-review
    owner/agent
    on Nov 30, 2026
  7. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Live since 2026-12-01 02:48 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/lowpriority/p2-mediumscope/cisource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions