Skip to content

chore(container): replace nonexistent Chainguard tags with latest - #87

Open
hyperpolymath wants to merge 1 commit into
mainfrom
chore/chainguard-tag-latest
Open

hyperpolymath wants to merge 1 commit into
mainfrom
chore/chainguard-tag-latest

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Dec 5, 2026 •

Copy link
Copy Markdown
Owner

What changed

Replaces cgr.dev/chainguard/node:20 with node:latest in Containerfile. The 20 tag is not published for this image. Found by a code search for cgr.dev/chainguard.

Type of change

  • Bug fix (fix:)
  • New feature (feat:)
  • Documentation (docs:)
  • CI / workflow / lockfile (ci:)
  • Refactor, no behaviour change (refactor:)
  • Chore (chore:)

Local verification

None run. The change is one image tag in Containerfile. No Rust, uses: lines or CI checks are touched, so the three cargo commands do not apply. I did not build the image.

Checklist

  • I ran the three commands above (or explained why I could not). Not run, see above.
  • No uses: line changed, so actions.lock is untouched.
  • No CI check removed or retired.
  • I have not added continue-on-error, if: false, or weakened any gate.
  • No component state changed, so TOPOLOGY.adoc is untouched.
  • Nothing the wiki asserts changed.
  • No documentation made stale.

Owner actions

  • Merge as the repository owner, not via the bot, if CI shows no checks.

Notes for the reviewer

node:latest floats. A digest pin would be better and is a separate piece of work.

Tags such as 22.04, 3.18, 3.20, bookworm-slim and node:20 are not published for these Chainguard images. Use latest, as the other Containerfiles in the estate do.
@gitnotebooks

gitnotebooks Bot commented Dec 5, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the Node container image used during builds to track the latest version rather than a fixed major-version tag. The remaining build steps are unchanged, so no changes to application features or behaviour are included in this update.

The Node builder stage now uses cgr.dev/chainguard/node:latest instead of cgr.dev/chainguard/node:20. The remaining build steps are unchanged.

Changes: Builder image

Layer / File(s) Summary
Update builder image tag
Containerfile
The Node builder stage now uses the latest tag instead of the 20 tag.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to 910e2

This change moves the Node builder image to the latest Chainguard tag. No concrete problem was found in the change. The failing secret-scanner checks stem from a workflow lockfile pin issue, not from this edit.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: Chainguard image tags that are not published are replaced with latest in Containerfiles. The raw summary shows only a Node builder stage tag change in the Containerfil…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states that the change replaces cgr.dev/chainguard/node:20 with node:latest in Containerfile, explains the reason (the 20 tag is not published for this image), and records verification…
Full details: Title check

Explanation

The title names the main change: Chainguard image tags that are not published are replaced with latest in Containerfiles. The raw summary shows only a Node builder stage tag change in the Containerfile, which is a subset of the title's stated scope. The title is a conventional commit with a clear, specific subject, so it is related to the changeset.

Full details: Description check

Explanation

The description states that the change replaces cgr.dev/chainguard/node:20 with node:latest in Containerfile, explains the reason (the 20 tag is not published for this image), and records verification status. It relates directly to the changeset, so the check passes.

Finishing Touches

Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 317d58b2-6229-479e-9e63-5d5f4a400778
Commits

Reviewing files that changed from the base of the PR and between 14b61cd and 910e2f7.

Files selected for processing: 1

  • Containerfile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 6

  • GitHub Check: CodeRabbit
  • GitHub Check: Hypatia Neurosymbolic Analysis
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (actions)
  • GitHub Check: Rust core (tests, formatting, lint)
  • GitHub Check: semgrep-cloud-platform/scan
CI failures not shown inline: 3

GitHub Actions: Secret Scanner / scan _ shell-secrets: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile

GitHub Actions: Secret Scanner / scan _ rust-secrets: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile

GitHub Actions: Secret Scanner / scan _ gitleaks: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile
Additional context used

GitHub Check: SonarCloud Code Analysis

Containerfile

[warning] 7-7: Use a specific version tag for the image.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_blocky-writer&issues=AaJFKdN80J236qz7vqx0&open=AaJFKdN80J236qz7vqx0&pullRequest=87

Trivy (0.76.2)

Containerfile

[warning] 7-7: ':latest' tag used

Specify a tag in the 'FROM' statement for image 'cgr.dev/chainguard/node'

Rule: DS-0001

Learn more

(IaC/Dockerfile)

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 90 issues detected

Severity Count
🔴 Critical 0
🟠 High 34
🟡 Medium 56
View findings
[
  {
    "reason": "Required workflow `scorecard.yml` is absent from .github/workflows/. The estate baseline expects it; without it this repository is unscanned for whatever that workflow covers, and its absence is silent — no job fails, because no job runs.",
    "type": "missing_workflow",
    "file": ".github/workflows/scorecard.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "create",
    "severity": "high",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/scorecard.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_workflow",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Invalid .github/workflows/actions.lock: {:self_sha_leaf_ref, [\"actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9\", \"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\", \"dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772\", \"editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c\", \"erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124\", \"webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555\"]}. Regenerate and verify it with gh actions-lock.",
    "type": "invalid_actions_lock",
    "file": ".github/workflows/actions.lock",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "regenerate",
    "severity": "high",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/actions.lock",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/invalid_actions_lock",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
    "type": "codeql_language_matrix_mismatch",
    "file": ".github/workflows/codeql.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "switch_codeql_matrix_to_actions",
    "severity": "high",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/codeql.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/codeql_language_matrix_mismatch",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `trigger-boj` in boj-build.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/boj-build.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "trigger-boj",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/boj-build.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `build` in casket-pages.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/casket-pages.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "build",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/casket-pages.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `deploy` in casket-pages.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/casket-pages.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "deploy",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/casket-pages.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `analyze` in codeql.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/codeql.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "analyze",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/codeql.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `scan` in hypatia-scan.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/hypatia-scan.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "scan",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/hypatia-scan.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `dispatch` in instant-sync.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/instant-sync.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "dispatch",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/instant-sync.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `triage` in label-triage.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/label-triage.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "triage",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/label-triage.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@linear-code
linear-code Bot marked this pull request as ready for review December 5, 2026 07:46

This branch has not been deployed

No deployments
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.

1 participant