Skip to content

Refresh Node Docker base image digests - #84988

Merged
steipete merged 6 commits into
openclaw:mainfrom
LibraHo:fix/docker-node-base-digests
May 31, 2026
Merged

steipete merged 6 commits into
openclaw:mainfrom
LibraHo:fix/docker-node-base-digests

Conversation

@LibraHo

@LibraHo LibraHo commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • refresh the pinned node:24-bookworm manifest-list digest used by build stages
  • refresh the pinned node:24-bookworm-slim manifest-list digest used by runtime, smoke, and e2e Dockerfiles
  • update the Dockerfile test expectation for the new pinned Node digests

Closes #84981.

Real behavior proof

  • Behavior or issue addressed: Docker base image pins now match the live multi-arch manifest-list digests for the Node 24 Bookworm images used by OpenClaw Dockerfiles.
  • Real environment tested: Local OpenClaw source checkout on Windows, branch fix/docker-node-base-digests, using the Docker CLI/buildx registry inspection commands against Docker Hub.
  • Exact steps or command run after this patch:
    docker buildx imagetools inspect node:24-bookworm | Select-String -Pattern '^Digest:'
    docker buildx imagetools inspect node:24-bookworm-slim | Select-String -Pattern '^Digest:'
    rg -n 3a09aa6354567619221ef6c45a5051b671f953f0a1924d1f819ffb236e520e6b|e8e2e91b1378f83c5b2dd15f0247f34110e2fe895f6ca7719dbb780f929368eb -S .
    node scripts/run-vitest.mjs src/dockerfile.test.ts src/docker-image-digests.test.ts
    git diff --check
  • Evidence after fix: Copied live terminal output from the patched checkout:
    docker buildx imagetools inspect node:24-bookworm | Select-String -Pattern '^Digest:'
    Digest:    sha256:f22d6a1f082c02f292e86929b5b0442ac2e5eaf438a5dea9b1566601c3e05940
    
    docker buildx imagetools inspect node:24-bookworm-slim | Select-String -Pattern '^Digest:'
    Digest:    sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d
    
    rg -n 3a09aa6354567619221ef6c45a5051b671f953f0a1924d1f819ffb236e520e6b|e8e2e91b1378f83c5b2dd15f0247f34110e2fe895f6ca7719dbb780f929368eb -S .
    [exit code 1; no matches]
    
  • Observed result after fix: The patched Dockerfiles, including the current e2e Dockerfiles, no longer contain the stale Node digest pins, and the replacement pins match the current Docker Hub manifest-list digests for node:24-bookworm and node:24-bookworm-slim.
  • What was not tested: Full docker build --target base-runtime -f Dockerfile . was not completed locally because Docker Desktop's Linux engine daemon was not available in this Windows environment.

Verification

  • docker buildx imagetools inspect node:24-bookworm -> sha256:f22d6a1f082c02f292e86929b5b0442ac2e5eaf438a5dea9b1566601c3e05940
  • docker buildx imagetools inspect node:24-bookworm-slim -> sha256:4e6b70dd6cbfc88c8157ba19aa3d9f9cce6ba4703576d55459e45efcbc9c5f5d
  • node scripts/run-vitest.mjs src/dockerfile.test.ts src/docker-image-digests.test.ts -> 2 files / 26 tests passed
  • git diff --check

Notes

  • docker build --target base-runtime -f Dockerfile . could not run in this local Windows environment because Docker Desktop's Linux engine daemon was not available: open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts docker Docker and sandbox tooling size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 21, 2026
@clawsweeper

clawsweeper Bot commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed May 31, 2026, 1:48 AM ET / 05:48 UTC.

Summary
The PR refreshes pinned node:24-bookworm and node:24-bookworm-slim manifest-list digests across the root, smoke, and e2e Dockerfiles and updates the Docker digest assertions.

PR surface: Tests +1, Other 0. Total +1 across 9 files.

Reproducibility: yes. for the stale-pin fact: current main contains the older Node digests and live Docker Registry headers now return the PR’s replacement digests. No actual Docker build failure was reproduced in this review.

Review metrics: 1 noteworthy metric.

  • Node base images retargeted: 2 manifest-list digests across 7 Dockerfiles; 2 tests updated. This measures the actual compatibility-sensitive surface: the same refreshed Node base layers feed the root runtime, smoke, and e2e containers.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🐚 platinum hermit
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Run a targeted Docker/Testbox build for the root runtime target and one updated smoke/e2e Dockerfile if maintainers want higher confidence before merge.

Risk before merge

  • [P1] The exact Node base layers change for runtime, smoke, and e2e Docker images; the supplied proof confirms live registry digests but does not prove the updated root/runtime image or a representative smoke/e2e Dockerfile builds and starts cleanly.
  • [P1] Docker Hub tags moved during this PR already, so the two manifest-list digests should be re-checked immediately before landing.

Maintainer options:

  1. Require targeted Docker proof (recommended)
    Before merge, run a root runtime Docker build plus one updated smoke/e2e Dockerfile in Docker or Testbox to prove the refreshed Node layers build and start cleanly.
  2. Accept registry-only proof
    Maintainers can land with the current registry metadata proof if they are comfortable treating this as a routine base-image refresh and accepting build compatibility risk.

Next step before merge

  • [P2] No automated code repair is indicated; maintainers should decide whether registry proof is enough or require targeted Docker/Testbox compatibility proof.

Security
Cleared: The diff is supply-chain-sensitive because it changes Docker base pins, but it refreshes existing pinned Docker Hub Node images to live manifest-list digests and does not add new execution paths, secrets, or unpinned dependencies.

Review details

Best possible solution:

Keep the digest refresh narrow and merge it once maintainers accept the live digest re-check plus either targeted Docker/Testbox proof or an explicit compatibility-risk decision.

Do we have a high-confidence way to reproduce the issue?

Yes for the stale-pin fact: current main contains the older Node digests and live Docker Registry headers now return the PR’s replacement digests. No actual Docker build failure was reproduced in this review.

Is this the best way to solve the issue?

Yes, the PR’s approach is the narrow maintainable repair: refresh the pinned manifest-list digests everywhere they are used and align the digest tests. The only remaining question is whether maintainers require Docker/Testbox build proof before merge.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 0303f3a8f086.

Label changes

Label justifications:

  • P2: This is a normal-priority Docker maintenance fix with limited blast radius but real build/runtime compatibility implications.
  • merge-risk: 🚨 compatibility: Changing pinned base-image digests can alter existing Docker build, runtime, smoke, and e2e environments even when source tests pass.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The contributor supplied live output for the digest-refresh behavior, including updated Docker Registry metadata matching the current PR pins; this does not cover Docker build/start compatibility.
  • proof: sufficient: Contributor real behavior proof is sufficient. The contributor supplied live output for the digest-refresh behavior, including updated Docker Registry metadata matching the current PR pins; this does not cover Docker build/start compatibility.
Evidence reviewed

PR surface:

Tests +1, Other 0. Total +1 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 3 2 +1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 7 9 9 0
Total 9 12 11 +1

What I checked:

  • Repository policy read: Root AGENTS.md and scripts/AGENTS.md were read fully; the dependency-backed behavior and Docker/script wrapper guidance affected the review by requiring live digest proof and treating base-image changes as compatibility-sensitive. (AGENTS.md:5, 0303f3a8f086)
  • PR updates root base-image pins: The PR head sets OPENCLAW_NODE_BOOKWORM_IMAGE to sha256:8530f76a... and OPENCLAW_NODE_BOOKWORM_SLIM_IMAGE / digest label to sha256:242549.... (Dockerfile:12, 4241f0b3d485)
  • PR broadens digest test coverage: The PR adds scripts/e2e/plugin-binding-command-escape.Dockerfile to the list of Dockerfiles whose first FROM line must be digest-pinned. (src/docker-image-digests.test.ts:19, 4241f0b3d485)
  • Live Docker registry proof matches PR pins: Docker Registry headers currently report node:24-bookworm as sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63 and node:24-bookworm-slim as sha256:242549cd46785b480c832479a730f4f2a20865d61ea2e404fdb2a5c3d3b73ecf, matching the latest PR commit.
  • Current main still has the old pins: Current main still contains the older node:24-bookworm and node:24-bookworm-slim digests, so the PR is not obsolete on main. (Dockerfile:12, 0303f3a8f086)
  • CI and discussion context: A maintainer noted the PR needed a rebase for Dependency Guard; the contributor rebased and supplied updated registry API proof, and live check-runs show Dependency Guard and Real behavior proof passing on the reviewed head. (4241f0b3d485)

Likely related people:

  • steipete: Recent GitHub commit history shows repeated Dockerfile and Docker E2E changes, plus earlier work pinning multi-arch Docker digests and tightening harness coverage. (role: recent Dockerfile and Docker E2E area contributor; confidence: high; commits: 659b5dce79ee, 0ba6b235349a, d8b973638e8d; files: Dockerfile, scripts/e2e/Dockerfile, src/docker-image-digests.test.ts)
  • vincentkoc: Recent commits touched scripts/e2e/Dockerfile and the plugin-binding Docker smoke path affected by this digest refresh. (role: recent Docker E2E contributor; confidence: medium; commits: dfa1a5122584, 445dda54f142, ffd212ca4338; files: scripts/e2e/Dockerfile, scripts/e2e/plugin-binding-command-escape.Dockerfile)
  • shakkernerd: Recent history shows this person tightened the Docker digest update assertions that the PR now updates. (role: digest-test contributor; confidence: medium; commits: 1d1883ad8868; files: src/docker-image-digests.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 21, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels May 21, 2026
@clawsweeper

clawsweeper Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

✨ Hatched: 🥚 common Neon Lint Imp

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.

Rarity: 🥚 common.
Trait: hums during re-review.
Image traits: location diff observatory; accessory shell-shaped keyboard; palette amber, ink, and glacier blue; mood sparkly; pose nestled inside a glowing shell; shell soft velvet shell; lighting gentle morning glow; background tiny shells and proof notes.
Share on X: post this hatch
Copy: My PR egg hatched a 🥚 common Neon Lint Imp in ClawSweeper.

What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@RomneyDa

Copy link
Copy Markdown
Member

Heads up: this PR needs to be updated against current main before the new required Dependency Guard check can pass.

@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 29, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels May 29, 2026
LibraHo added 2 commits May 31, 2026 13:28
Update node:24-bookworm and node:24-bookworm-slim pins to the current Docker Hub manifest-list digests observed after rebasing PR openclaw#84988.
@LibraHo

LibraHo commented May 31, 2026

Copy link
Copy Markdown
Contributor Author

Updated this PR against current main and refreshed the Node pins again because Docker Hub has moved since the original proof.

Current live Docker Hub tag metadata checked from this environment via the Docker Hub registry API:

node:24-bookworm      sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63
node:24-bookworm-slim sha256:242549cd46785b480c832479a730f4f2a20865d61ea2e404fdb2a5c3d3b73ecf

Updated files now use those current manifest-list digests in the root Dockerfile and all smoke/e2e Dockerfiles that pin node:24-bookworm-slim.

What I could verify here:

  • gh api repos/LibraHo/openclaw/contents/... update succeeded on branch fix/docker-node-base-digests
  • PR branch was first updated with GitHub's update-branch API, then this follow-up commit refreshed the moved Docker Hub digests
  • Docker CLI is not installed in this runtime, so I used Docker Hub registry API metadata rather than docker buildx imagetools inspect

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented May 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels May 31, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels May 31, 2026
@steipete steipete self-assigned this May 31, 2026
@steipete

Copy link
Copy Markdown
Contributor

Land-ready proof for head 4241f0b3d485168734dbce9f138e8d41b0046c47.

Local verification:

  • docker buildx imagetools inspect node:24-bookworm --format '{{.Manifest.Digest}}' -> sha256:8530f76a96d88820d288761f022e318970dda93d01536919fbc16076b7983e63
  • docker buildx imagetools inspect node:24-bookworm-slim --format '{{.Manifest.Digest}}' -> sha256:242549cd46785b480c832479a730f4f2a20865d61ea2e404fdb2a5c3d3b73ecf
  • docker buildx imagetools inspect oven/bun:1.3.13 --format '{{.Manifest.Digest}}' -> sha256:87416c977a612a204eb54ab9f3927023c2a3c971f4f345a01da08ea6262ae30e
  • node scripts/run-vitest.mjs src/dockerfile.test.ts src/docker-image-digests.test.ts -> 2 files / 26 tests passed
  • docker build --target base-runtime -f Dockerfile --progress=plain . -> passed
  • docker build -f scripts/docker/install-sh-smoke/Dockerfile --progress=plain scripts/docker -> passed
  • docker build -f scripts/e2e/plugin-binding-command-escape.Dockerfile --progress=plain . -> passed
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main ... -> clean, no accepted/actionable findings

CI status: no failed completed checks on the reviewed head. Known gap: I did not run the full app Docker build; this change only retargets existing pinned base-image digests, and the root runtime target plus representative smoke/e2e Dockerfiles build against the refreshed digest.

Thanks @LibraHo.

@steipete
steipete merged commit d88767e into openclaw:main May 31, 2026
166 of 171 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Landed via squash merge on main.

  • Source head: 4241f0b3d485168734dbce9f138e8d41b0046c47
  • Landed commit: d88767e819d1ef193da625a3faa077130afd6836
  • Proof: live Docker digest inspection, targeted Dockerfile tests, root base-runtime Docker build, install-sh smoke Docker build, plugin-binding e2e Docker build, and clean autoreview.

Thanks @LibraHo.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 1, 2026
Refresh pinned node:24-bookworm and node:24-bookworm-slim manifest-list digests across the root, smoke, and e2e Dockerfiles. Update digest pin assertions to cover the plugin-binding e2e Dockerfile.

Verified with live Docker digest inspection, targeted Dockerfile tests, root base-runtime build, install-sh smoke build, and plugin-binding e2e build.

Thanks @LibraHo.
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
Refresh pinned node:24-bookworm and node:24-bookworm-slim manifest-list digests across the root, smoke, and e2e Dockerfiles. Update digest pin assertions to cover the plugin-binding e2e Dockerfile.

Verified with live Docker digest inspection, targeted Dockerfile tests, root base-runtime build, install-sh smoke build, and plugin-binding e2e build.

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

Labels

docker Docker and sandbox tooling merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerfile pinned Node base image digests are stale

3 participants