Skip to content

[ca] chore: update eligible scanner image pins - #77669

Merged
pelikhan merged 1 commit into
mainfrom
chore/update-scanner-pins-2026-11-14-12c07dcd0bb6cc38
Nov 14, 2026
Merged

pelikhan merged 1 commit into
mainfrom
chore/update-scanner-pins-2026-11-14-12c07dcd0bb6cc38

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Caution

Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: README.md

Allow intentional protected-file changes

If this workflow is intended to modify these files, add specific filenames or folder prefixes to safe-outputs.create-pull-request.protected-files.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: request-review
      exclude:
        - .changeset/

Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If allowed-files is configured, these paths must also match it. Run gh aw compile after updating the workflow.

Summary

Updates the eligible stable Syft, Grype, and Grant scanner image pins after the 72-hour release cooldown. An open issue and pull request search found no active matching update.

Evidence

Check time: 2026-11-14T05:27:12Z. Cooldown cutoff: 2026-11-11T05:27:12Z. Each selected release was stable, newer than the existing pin, and published before the cutoff.

Changes

  • Updated pkg/cli/docker_images.go with the new immutable versions and registry digests.
  • Updated pkg/cli/docker_images_test.go release-pin expectations.
  • Updated the generated pkg/cli/README.md constant table.

Validation

  • make fmt passed.
  • go test ./pkg/cli -run 'Test(DefaultDockerImages|DockerImages|PrepareDockerImages|Default.*Image|Docker)' -count=1 passed.
  • git diff --check passed.

Deferred

  • npm metadata lookups for Claude Code, Copilot, Codex, Playwright CLI, and Pi failed in this runner with certificate and timeout errors; no npm pins were changed.
  • MCP Gateway releases newer than the current v0.5.9 pin were inside the cooldown.
  • GHCR digest resolution returned unavailable responses for the unchanged/current GHCR images; no digest was guessed.

Generated by the CLI Version Checker workflow run 43561316791.

Generated by 🔢 CLI Version Checker · pi · gpt50 · ~8 AIC · ⌖ ~2 AIC · ⊞ 19.3K · ◷

  • expires on Nov 15, 2026, 9:35 PM UTC-08:00

@github-actions github-actions Bot added automation cookie Issue Monster Loves Cookies! dependencies Pull requests that update a dependency file labels Nov 14, 2026
@pelikhan
pelikhan marked this pull request as ready for review November 14, 2026 05:49
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 05:49
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by PR Specification Reviewer for #77669 · copilot · gpt56 · ~2 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.6K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #77669 · codex · routed: gpt61 medium · ~2 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 182 · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ PR Code Quality Reviewer completed the code quality review.

PR Code Quality Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~2 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 1.5K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.6K · ◷

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Review complete: no actionable issues found in the changed scanner image pins or synchronized generated documentation. The specialist pass was completed; its advisory concerns about digest provenance and literal pin tests were not actionable from this diff and were not published.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.5K
Comment /review to run again

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.

🔵 Needs a closer look

Human verification is needed because the protected README change and security-sensitive scanner image digests require confirming authorization, registry provenance, intended releases, and compatibility beyond the local string-consistency tests.

No open issues 🎉

What changed in this PR

Updates the CLI’s pinned Syft, Grype, and Grant container images to newer stable releases with immutable registry digests, while synchronizing tests and generated documentation.

Changes:

  • Updated scanner image versions and SHA-256 digests.
  • Updated release-pin expectations in the Docker image tests.
  • Refreshed the generated CLI constant documentation.
File Description
pkg/​cli/​README.md Updates the generated documentation table for the scanner image constants.
pkg/​cli/​docker_images.go Defines the updated immutable Syft, Grype, and Grant image references.
pkg/​cli/​docker_images_test.go Verifies the new scanner image release pins.

Review effort: Lite (dynamic)

@github-actions

Copy link
Copy Markdown
Contributor Author

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-e5920d49-b98e-4141-bb8a-1fc3384dd697","parents":[],"payload":{"id":"ldg-3074ee3b-8cc0-424a-9a04-c908a161cc74","operation":"append","value":{"finding_count":0,"head_sha":"8136f21773d88568be7ceb9554f8fd4aaa861bb5","outcome":"aligned"}},"sha":"sha256:f96d842c4e6a3e11dde2718d8eae44e16edff76cd510253b50fa2293d03f28d6","timestamp":"2026-11-14T05:56:31.888Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor Author

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-ab24dd61-b638-46e6-8e73-44f9fc0645e1","parents":[],"payload":{"id":"ldg-9ddb3d70-da0c-44e1-b401-3b48dc396778","operation":"append","value":{"finding_count":0,"head_sha":"8136f21773d88568be7ceb9554f8fd4aaa861bb5","outcome":"no_findings"}},"sha":"sha256:a59503f7ecf8dd186698a1cab0bf362a91fb3e18e68b356d70fade82323a081f","timestamp":"2026-11-14T05:57:11.786Z","type":"ledger_append","version":1}
History

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Skills-Based Review 🧠

Applied /tdd and /diagnosing-bugs to this pin bump. No blocking issues: the change is mechanical and checks out.

📋 Verification & Notes

Verified

  • ✅ go test ./pkg/cli -run TestScannerImageReleasePins -count=1 -v passes (all three subtests ran).
  • ✅ No stale references to the old Syft, Grype, or Grant pins remain anywhere in the repo.
  • ✅ The new digests match across docker_images.go, docker_images_test.go, and the generated pkg/cli/README.md row.
  • ✅ Release metadata confirmed via the GitHub API: all three are stable (prerelease: false, draft: false) and published 2026-11-09, before the cooldown cutoff.

Non-blocking

  • The pin test compares against hardcoded literals, so it catches drift but not a malformed or truncated digest. See the inline comment on docker_images_test.go.

Could not verify

  • Registry digests could not be checked against Docker Hub from this runner (TLS interception), so the sha256 values are unverified here. The PR body also notes GHCR digest resolution failed. Please confirm the digests against the registry before merge.
  • The pr-triage output did not match the documented JSON shape, so skill selection used the diff directly.

Human review required

  • README.md is a protected file in request-review mode. Explicit human sign-off is needed before merge.

@copilot please address the review comment above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

{"syft", SyftImage, "anchore/syft:v1.57.0@sha256:3c70e6d5979364cefdc22b51617a78fd264574d3bd6b4f84a351204147025e2a"},
{"grype", GrypeImage, "anchore/grype:v0.121.2@sha256:6a36234da13f9faa327306ac0b3dab3405cfa2b4eb20c8f904125a8707863913"},
{"grant", GrantImage, "anchore/grant:v0.7.0@sha256:2f273ee261204d24a4d7e8799c2bcc210374c652000e7c415da2bb5173ec99d3"},
{"syft", SyftImage, "anchore/syft:v1.57.1@sha256:03215d0e98b661d0ecbc8575dbc14d65be1743b5de5df6410aecb7e80f95b060"},

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[/tdd] This test only compares each constant to a hardcoded literal, so it catches drift but not a malformed pin (for example a truncated digest). A format check would close that gap. Non-blocking.

💡 Suggested format check
var pinnedImageRef = regexp.MustCompile(`^anchore/[a-z]+:v\d+\.\d+\.\d+@sha256:[0-9a-f]{64}$`)

Assert pinnedImageRef.MatchString(tt.got) alongside the existing equality check.

@copilot please address this.

@pelikhan
pelikhan merged commit 26a47dc into main Nov 14, 2026
98 checks passed
@pelikhan
pelikhan deleted the chore/update-scanner-pins-2026-11-14-12c07dcd0bb6cc38 branch November 14, 2026 14:15
@github-actions

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v1.3.0

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

Labels

automation cookie Issue Monster Loves Cookies! dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants