Skip to content

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

Merged
dan-petty merged 3 commits into
mainfrom
fix/7961-workflow-rescan-trigger-gaps
Nov 30, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/7961-workflow-rescan-trigger-gaps

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Three workflows had gaps.

  • The daily Image Rescan did not scan the published uv-seed image. Its matrix now holds uv-seed.
  • A pull request that changed only .node-version started no DevContainer Image run, although the Node.js of that file runs the image build. The paths filter now names the file.
  • One commit of a pull request branch started two Copilot Setup Steps runs. push now runs only for main, and a newer run of a ref cancels the older run. A push to a branch with no pull request starts no run.

The paths filter does not get .trivyignore.yaml, which the issue also names. The scan of DevContainer Image only reports, and the jobs Service Image and Runner Image of ci.yml scan with that file on each pull request that changes it.

Closes #7961

Change: openspec/changes/archive/2026-11-30-7961-workflow-rescan-trigger-gaps/

The image jobs of ci.yml already scan with the file on each pull request
that changes it, and owner decision O2 keeps the image check on its own
inputs.
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: a3c78e211e980097e99d479283cdc527ae9d0552

Check Conclusion Link
Upload Scan SARIF success run
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
gitleaks success run
Trivy success run
Copilot Setup Steps success run
Rescan Image (mcp-server) success run
Rescan Image (service) success run
Rescan Image (uv-seed) success run
Rescan Image (runner) success run
Rescan Image (devcontainer) success run
Plan Check skipped run
Changed-Test Independence success run
CodeQL success run
PR title / Semantic PR title success run
Tests on Main skipped run
Test Job Duration skipped run
Docs Site Build success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 3 of 6) success run
Changed-Test Independence (run 1 of 3) success run
Tests & Coverage (shard 6 of 6) success run
Tests & Coverage (shard 2 of 6) success run
Design Tokens success run
Tests & Coverage (shard 5 of 6) success run
Tests & Coverage (shard 4 of 6) success run
Static Analysis success run
Changed-Test Independence (run 3 of 3) success run
Changed-Test Independence (run 2 of 3) success run
Service Image success run
DevContainer Image success run
Runner Image success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Plan Check
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty

Copy link
Copy Markdown
Owner Author

Live proof on head a3c78e211:

Claim Proof
The rescan scans uv-seed. Manual run 46528819072 of Image Rescan on this branch: five jobs passed. Rescan Image (uv-seed) took 38 s, found Python packages and uploaded an analysis of trivy-image-uv-seed with 0 results.
A branch push starts no setup run. The push of this branch changed copilot-setup-steps.yml. The head has the pull_request run 46528680222 and no push run.
A newer run of a ref cancels the older run. Two manual runs on this branch: 46528831674 ended as cancelled when 46528878623 started, and 46528878623 passed. The pull_request run of another ref passed.
DevContainer Image still runs. Run 46528680284 passed.

Not proved live: only a later pull request that changes .node-version and no other filtered path can show that the new path starts the check.

After the merge, a manual run of Image Rescan on main closes the scenario of ci-image-scan: uv run devops gh api -X POST 'repos/{owner}/{repo}/actions/workflows/image-rescan.yml/dispatches' -f ref=main. The daily run at 04:45 UTC does the same if no one starts it.

@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 22:47
@dan-petty
dan-petty merged commit c136e76 into main Nov 30, 2026
38 of 39 checks passed
@dan-petty
dan-petty deleted the fix/7961-workflow-rescan-trigger-gaps branch November 30, 2026 22:48
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.265.4](v0.265.3...v0.265.4)
(2026-11-30)


### Bug Fixes

* **ci:** close the rescan and trigger gaps of the workflows
([#7966](#7966))
([c136e76](c136e76))
* **k8s:** accept a chart default image with no digest in image-pins
([#7968](#7968))
([6538465](6538465))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
@dan-petty

Copy link
Copy Markdown
Owner Author

After the merge: manual run 46531438897 of Image Rescan on main (head 6538465a3) passed with five jobs, with Rescan Image (uv-seed) among them. Code scanning holds an analysis of trivy-image-uv-seed from image-rescan.yml with 0 results. The merge commit c136e7629 also started the push run 46530730042 of Copilot Setup Steps on main, which passed. No person step stays open.

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

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant