Repository navigation
[local-test-e2e-sandbox-worker-fail-closed-when] test(e2e): sandbox — worker fail-closed when the auto-preferred provider cannot start, and docker failover chain - #853
Merged
danii1 merged 1 commit intoDec 4, 2026
Conversation
…(e2e): sandbox — worker fail-closed when the auto-preferred provider cannot start, and docker failover chain
Contributor
Author
Artifacts & verificationRun: 1726 · Commit: Verification reportProduced by Show artifactAuto-review summaryProduced by Show artifact |
danii1
deleted the
feature/local-test-e2e-sandbox-worker-fail-closed-when
branch
December 4, 2026 14:36
Contributor
Author
|
🤖 Auto-merge: merged (squash) at Every changed file is inside the workspace's safe paths. |
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.
Why
Task local-test-e2e-sandbox-worker-fail-closed-when: test(e2e): sandbox — worker fail-closed when the auto-preferred provider cannot start, and docker failover chain
The worker runs unattended, so a sandbox failure has to fail closed. Worker runs were untested for two cases:
AGENT_SANDBOX=autowhen the preferred provider (nono) is installed but can't start, andAGENT_SANDBOX=dockerin a failover chain whose fallback docker can't wrap.What changed
packages/e2e/tests/local/sandbox-auto-preferred-cannot-start-worker.test.ts(new): runs the real built worker withAGENT_SANDBOX=auto,AGENT_HARNESS=opencode, and anonostub onPATHthat answers--versionbut fails everyrun.deferredwith nono's start error as the reason, the task row goes back topending, nothing is pushed, and the worker stays up.packages/e2e/tests/local/sandbox-docker-chain-worker.test.ts(new): runs the real worker withAGENT_SANDBOX=dockerand chainclaude-code,goose.sbxanswers detection and prints a usage limit onexec.goose, so the test asserts the goose stub never spawns, the task is requeued with adeferredrun, and nothing is pushed.packages/e2e/docs/coverage/sandbox.md:Last reviewed: 2026-12-04.autoprovider selection and docker/native worker-chain rows, and bumped their review dates.Scope
Only the two gaps, plus their area file. No product code, shared helper, README, coverage matrix, or other area file changed. I did not commit or push.
The "fallback becomes unwrappable after startup" case is still listed as Missing. Whether a notification is raised for the repeated nono start failure is not asserted and is recorded as Missing.
Tradeoffs
Blast Radius
bun run lint.Verification
bun run --filter @getdevintern/code buildwas not run. A built CLI was already present, and I did not rebuild it.bun test.bun run --filter @devintern/e2e testfinished with 500 pass, 16 skip, 3 todo and 2 failures. A second full run had 1 failure, theworker-doctor.test.tstest named above. That test also fails when run alone (it errors at atoEqualatworker-doctor.test.ts:331). I did not identify the second failure from the first run, because the output wasn't captured.@devintern/e2eall passed.🤖 Opened by DevIntern from local-test-e2e-sandbox-worker-fail-closed-when