๐Ÿ› fix(runtime): the nested daemon and the seat's CLI run Docker 29

Merged
MI
1mo ago
+15-12

User description

Summary

  • NestedConfig.image defaults to docker:29.7.2-dind (was 27.5.1), and sandboxes/base/Dockerfile copies the CLI and plugins from docker:29.7.2-cli.
  • Why: on 27, a directory that COPY --chmod=0644 creates comes out 0755; on 29 it comes out 0644. platform-images S-0002's rustfs image passed bake-smoke in the sandbox and then failed CI, which builds on 29 (fixed by hand in platform-images 1a39d3f).
  • Tests that pin the default and the Dockerfile lines are updated, and so is get-started.md.

Test plan

  • pytest on runconfig, runner, runtime conformance, sandbox defs and images, and session: 385 passed, 16 skipped
  • ruff check, ruff format --check
  • Live: docker:29.7.2-dind started with torve's side-container arguments on a copy of a warm torve-dind-3 volume (27-era data, overlay2 kept). A build with COPY --chmod=0644 f.conf /etc/demo/f.conf printed 644 /etc/demo, which is the behaviour CI shows
  • The release images rebuild with the new CLI (0.6.2 cut)

The warm torve-dind-<slot> volumes are upgraded in place on first use. A 0.6.1 night run on a volume that 29 has touched is not supported.

๐Ÿค– Generated with Claude Code

https://claude.ai/code/session_01X5XatXv3dQLan6TyQoHFyF


Summary by cubic

Moves the nested Docker daemon and the CLI in the seat image from docker:27.5.1 to docker:29.7.2 to match the hosts and CI that build the same images.

Bug Fixes

  • On 27, a directory created by COPY --chmod=0644 comes out 0755; on 29 it comes out 0644, so a gate could pass what CI then failed.
  • Updates the default in NestedConfig, the base Dockerfile pins, and the tests and docs that referenced them.
  • Warm torve-dind-<slot> volumes are upgraded in place on first use; a 0.6.1 run on a volume that 29 has touched is not supported.

CodeAnt-AI Description

Align sandbox Docker versions with host and CI builds

What Changed

  • Nested Docker and the CLI available in sandbox images now use Docker 29.7.2, matching hosts and CI.
  • Image builds now apply file and directory permissions consistently with CI, preventing gates from passing when CI would fail.

Impact

โœ… Consistent image-build results between gates and CI
โœ… Fewer permission-related CI failures

๐Ÿ’ก Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • Updates
    • Updated the nested Docker runtime and CLI images to newer versions.
    • Updated the getting-started documentation to reflect the new nested Docker image.
    • Noted a file-permission difference with the updated Docker version.