Repository navigation
feat(conformance): add a containers suite and record Linux results - #144
Merged
Merged
Conversation
Add a celld-only containers conformance app and runner suite covering ctx.container start/exec/getTcpPort, enableInternet: false, idle eviction with the container kept alive, and a node restart destroying the container. It also records the exec()-after-start() race and attempts S3Mount and DirectoryBackup, which celld 0.6.2 rejects because interceptOutboundHttp is not implemented. Run it on Linux arm64 in Docker Desktop's Linux VM: 8/8 checks pass. Update the Containers row in docs/compatibility.md, the conformance results, and the READMEs with exactly what was verified and what remains unsupported. Co-authored-by: autopilot <kimiflare@proton.me> Signed-off-by: Sina Meraji <sina.meraji@gmail.com>
sinameraji
force-pushed
the
feat/containers-conformance
branch
from
November 2, 2026 08:21
3a00800 to
afb2a8b
Compare
sinameraji
marked this pull request as ready for review
November 2, 2026 08:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #132.
What changed
packages/conformance/containers-app/, a celld-only conformance app forctx.containerand@cloudflare/sandbox1.0.1. Its image ispython:3.12-alpineplusfuse3,s3fs-fuseand thesandbox-shimfromcloudflare/sandbox:1.0.1.--suite containersandnpm run test:containers --workspace=sobjects-conformance. The suite is opt-in (not part of--suite all) because it needs Docker and celld.start(),exec(),getTcpPort().fetch(),enableInternet: false, idle eviction with the container kept alive, and a node restart destroying the container.exec()-after-start()race and attemptsS3MountandDirectoryBackup.docs/compatibility.md,docs/conformance/results.md, the READMEs andAGENTS.md, and addsdocs/conformance/containers.mdwith the run record.Result
npm run test:containers --workspace=sobjects-conformanceon Linux arm64 in Docker Desktop 4.75.0's Linux VM (celld 0.6.2,@cloudflare/sandbox1.0.1): 8/8 checks pass.start(),exec(),getTcpPort().fetch(): pass.enableInternet: false: pass (egress refused;enableInternet: trueconnects).S3Mount.mount()andDirectoryBackup: unsupported because celld rejectsinterceptOutboundHttpwith "not implemented in celld".inspect(),snapshotDirectory(),snapshotContainer()andcontainer.images: unavailable.exec()immediately afterstart(): fails with "No such container". Cloudflare'sexec()waits for a starting container; celld'sstart()is fire-and-forget. This is celld's behavior, not the CLI's, and the app pollsexec()for readiness.Not tested
A bare-metal Linux host, Linux x64,
@cloudflare/sandbox'sFilesAPI (the earlier manual macOS run covered it), and containers on Wrangler or Cloudflare.Notes
The suite needs a Docker or Podman engine on Linux. On macOS celld reaches a container through a published port and the
getTcpPort()check fails, so the README says to use a Linux host or VM.