Repository navigation
test(harness): run one conformance suite on every sandbox driver - #77
Merged
Merged
Conversation
One shared spec covers files, paths, shell, timeouts and interrupts on host, memory, sqldb, Vercel and Daytona, and writes a per-driver artifact. It replaces the filesystem spec, the Flue parity matrix and the cancellation spec, and moves the file and shell cases out of the remote spec. Drivers that behave differently declare it as an option instead of skipping the case. The suite found two Daytona bugs, fixed here: non-recursive mkdir created missing parents, and rm of a missing path was not reported as not found. The remote lifecycle test now checks that create and wake record codework.sandbox.provision.duration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
conformanceSpec(test/fixtures/conformance.spec.ts), run once per driver: host, memory, sqldb intest/sandbox.conformance.test.ts, and Vercel, Daytona from their E2E files on the sandbox each one already provisions. memory and sqldb are just-bash over a VFS, so they also cover just-bash.scanLinescorpus,stat/lstatincl. symlinks,readdir,exists,mkdir,rm..normalised,..clamped at/find, large output throughToolShell, typed timeout, pre-interrupted commands never start, mid-flight interrupttest/__artifacts__/sandbox.conformance.<driver>.json. Driver differences are declared options, never skipped:combinesOutput(Daytona),cancels(Daytona: false),inheritsHostEnv(host).remote.spec.tskeeps reattach/persist, GitHub push, and a check for the provider's baked env.withServicemoves tofixtures/service.ts.wakeand checks that create and wake each recordcodework.sandbox.provision.durationonce.Daytona fixes found by the suite
mkdircreated missing parents, because the toolbox'screateFolderismkdir -p. It now runsmkdirin the shell.rmof a missing path was not reported as not found. It now returnsENOENT.Test plan
vp check,vp run typecheckvp test test/sandbox.— 142 passedsandbox.remote.driver.e2e.test.ts(provision metric): passedbashPluginSpecand runner cycle on Vercel and Daytona: 13 passed🤖 Generated with Claude Code