Skip to content

Run PR-image supply-chain scans alongside compilation - #11787

Merged
lpcox merged 2 commits into
mainfrom
copilot/fix-threat-detection-error
Nov 18, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/fix-threat-detection-error

Conversation

@lpcox

@lpcox lpcox commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

PR-image scans wait for compilation despite consuming none of its outputs. Removing that dependency is projected to reduce median workflow runtime by approximately 25%; hosted-run measurements remain pending.

  • Parallel scheduling: Split scans into independent pr-image-scans and compile-dependent manifest-scans, retaining existing shard names and assignments.
  • Required gate: Preserve Compile + Syft/Grype/Grant; require compile and both scan groups to succeed.
  • Preserved controls: Leave Syft, blocking Grype --fail-on high, scanner pins, timeouts, cache scopes, and build-tools/enclave-agent pairing unchanged.
  • Regression coverage: Update graph assertions and cover all 64 upstream-result combinations.

@lpcox lpcox changed the title [WIP] Fix threat detection engine error in workflow Run PR-image supply-chain scans alongside compilation Nov 18, 2026
@lpcox
lpcox marked this pull request as ready for review November 18, 2026 19:04
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 19:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the change enabling independent PR-image scans to run alongside compilation.

No open issues 🎉

What changed in this PR

Runs PR-image supply-chain scans alongside compilation to reduce the scheduling delay identified in #11781. The projected runtime improvement still needs hosted-run validation.

Changes:

  • Separates independent PR-image scans from manifest scans that require compile outputs, preserving shard names and assignments.
  • Keeps the required gate dependent on compilation and both scan groups, with existing scanner controls unchanged.
  • Updates workflow assertions and covers all 64 upstream-result combinations.
File Description
scripts/​ci/​docker-registry-ci.test.ts Updates job references, dependency checks, and required-gate coverage.
.github/​workflows/​supply-chain-scan.yml Splits scan scheduling and requires both scan groups in the final gate.

Review effort: Max (adaptive)

@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox
lpcox merged commit a09a795 into main Nov 18, 2026
38 of 41 checks passed
@lpcox
lpcox deleted the copilot/fix-threat-detection-error branch November 18, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Workflow Runtime Optimization] 2026-11-18 - .github/workflows/supply-chain-scan.yml

3 participants