Repository navigation
fix(sandbox): revert Daytona cloud sandbox plugin - #130996
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 1:14 AM ET / 05:14 UTC. ClawSweeper reviewWhat this changesRemoves the Daytona cloud sandbox plugin, its package publication metadata and documentation, and stabilizes a Control UI service-worker E2E assertion. Merge readinessKeep open: current main still contains the Daytona plugin, while this protected maintainer PR cleanly retires it under the repository’s documented direction. No introduced correctness or security defect was found. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherAgent sandbox configuration selects a backend through the plugin registry. This PR removes Daytona from that registry, release inventory, and documentation while retaining generic sandbox behavior and separate Crabbox Daytona support. flowchart LR
A[Agent sandbox configuration] --> B[Plugin registry]
B --> C[Sandbox backend selection]
C --> D[Daytona backend plugin]
D --> E[Cloud sandbox execution]
F[Release catalog and documentation] --> B
Before merge
Agent review detailsSecurityNone. PR surfaceSource -1907, Tests -1681, Docs -277, Config -54, Generated 0, Other -688. Total -4607 across 34 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Merge the source-complete Daytona retirement after exact-head CI passes, preserving the explicit unavailable-backend outcome for any unreleased main-only configuration. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR retires a plugin rather than repairing a reported runtime defect; source and current-main inspection establish the affected configuration path. Is this the best way to solve the issue? Yes: the removal follows VISION.md, and the generic sandbox owner already gives an explicit unavailable-backend outcome instead of silently changing execution location. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6d2644a7019d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
Continuing Vincent's existing revert under the explicit maintainer request to remove the Daytona plugin. This is still in validation, not a merge-ready report. The compatibility premise has been rechecked: all 97 live stable The requested Doctor conversion to Docker, including the first rank-up move, is deliberately not being implemented. Automatically replacing an explicitly selected remote execution boundary with local Docker is a separate product/security decision, not a safe implicit migration. The existing sandbox registry reports an unavailable backend; the revert does not add a fallback or silently change where commands run. Main-only users with an explicit Daytona backend must choose their replacement deliberately. The removal follows the repository's cloud-sandbox ownership direction. Lockfile graph comparison against the refreshed main baseline proves the 54 removed snapshots are unreachable from every retained workspace importer; retained importer/package/snapshot entries are unchanged. The generic sandbox implementation, Crabbox routing, ACPX, Tlon, and Podman remain unchanged. The standalone Daytona hosting guide remains. The cloud-worker documentation also retains its existing warning that direct Daytona dispatch is unsupported; this revert does not claim to resolve that separate limitation. The second rank-up move is being addressed with fresh Doctor/configuration, sandbox-registry, plugin-inventory, security-scan, build, and exact-head CI validation. Results will be added to the PR evidence when complete. No new config option, schema change, migration, or fallback is included. |
ba0e36d to
af4e07d
Compare
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
The existing revert is now refreshed and pushed as af4e07d85490032ec917e4356b571bd14665561f, retaining Vincent Koc as author. GitHub reports the conflict resolved, and exact-head CI passed. The hosted logs confirm all 37 release-plan tests passed, including the exact-current inventory case that exceeded the local clean-checkout timeout. Both publisher-plan commands independently report 89 plugins and no Daytona; npm's four core packages bring its complete inventory to 93. The committed lockfile comparison again confirms all 54 removed snapshots are unused by retained importers and all retained dependency entries are unchanged. The prior migration-finding/first-rank-up rejection remains as documented: no stable-tag or npm-publication contract was found, and silently switching remote execution to local Docker is not an authorized migration. Doctor/configuration and inventory evidence addresses the second rank-up move. Validation is not complete yet: the clean local package build is running. Ordinary PR CI did not select the release-only package security scan; its two local setup timeouts remain a gap, and a trusted alternate environment is not yet available. No timeout or assertion has been weakened. This comment does not claim merge readiness. |
|
The remaining package-security scan passed: 103/103 tests in a clean Blacksmith Testbox using the unchanged candidate test. A source-tree guard verified the full tree for af4e07d85490032ec917e4356b571bd14665561f before execution. The wrapper reported exit code 0, and the one-shot lease was stopped and verified completed. Clean package-security proof run. Blacksmith owns the delegated command lifecycle; the backing workflow may show cancellation during successful lease cleanup. The authoritative command result is the successful wrapper result and test output, not that cleanup status. Together with green exact-head PR CI, this completes the latest ClawSweeper rank-up requirement. The fresh review found no introduced correctness or security issue and withdrew the earlier automatic-Docker-migration demand. The two local scanner setup timeouts remain recorded; no test timeout or assertion was weakened. Local compilation, all 63 retained external-plugin builds, CLI bootstrap checks, and runtime postbuild have now passed. Final package-build steps, isolated CLI inventory verification, and native preparation remain in progress; this is not a merge-completion claim. |
Retire the unshipped cloud sandbox provider and its exclusive dependency closure; preserve Crabbox and standalone Daytona hosting documentation. Co-authored-by: Peter Steinberger <[email protected]>
af4e07d to
147621c
Compare
|
The actual generated-snapshot conflict is resolved at The retirement patch is identical to the previously validated patch except for the two regenerated config snapshots. The complete local package build and isolated built-CLI proof remain valid: 63 retained external plugins built, 150 catalog entries, no Daytona plugin or SDK, and the stale Daytona dist probe removed. Fresh generator/inventory/format/lock-closure checks pass, and the new isolated frozen-bundle Codex autoreview is clean within its P0 scope. The refreshed clean Testbox package-security scan verified the full candidate tree The body now records the canonical scope, preserved Crabbox/generic-sandbox/standalone-hosting boundaries, stable-tag/npm evidence against an automatic Docker migration, both earlier rank-up dispositions, and the current CI gate. Production/tooling: +0/-1983; tests: +5/-1687; docs/generated: +18/-295; lockfile: +0/-666. No new configuration, migration, schema, fallback, or changelog edit. |
Wait for catalog RPC dispatch and pending-intent completion before asserting exactly one restored terminal. Reuse the request filter without weakening payload, activation, or cache checks.
|
The existing revert now has head The previous CI run exposed an existing test race: panel visibility preceded asynchronous terminal restore/boot and the catalog RPC. A controlled reproduction using the mock's existing The test-only repair is +15/-14 lines: one reusable catalog getter, an existing poll for the actual RPC, and an intent-completion wait before the unchanged exact-one/full-payload assertions. No production UI change, new sleep, retry, timeout, harness mode, or weakened assertion. The repaired real Chromium flow passed both tests on verified tree The Daytona removal and its source/dependency inputs are unchanged, so the complete package build, isolated built-CLI absence proof, and 103/103 clean package-security scan remain applicable. The PR body contains the full proof and failure disclosures, preserved boundaries, and review dispositions. Total production/tooling +0/-1983; tests +20/-1701; docs/generated +18/-295; lockfile +0/-666. No further source changes are planned. |
|
Merged via squash.
|
* fix: remove Daytona sandbox plugin Retire the unshipped cloud sandbox provider and its exclusive dependency closure; preserve Crabbox and standalone Daytona hosting documentation. Co-authored-by: Peter Steinberger <[email protected]> * test(ui): await catalog terminal restore completion Wait for catalog RPC dispatch and pending-intent completion before asserting exactly one restored terminal. Reuse the request filter without weakening payload, activation, or cache checks. --------- Co-authored-by: Peter Steinberger <[email protected]>
Related: #121554
What Problem This Solves
Retires the unshipped Daytona sandbox provider plugin. VISION.md assigns cloud sandbox provider implementation to Crabbox; a second provider inside OpenClaw duplicates that ownership. This continues Vincent Koc's existing revert and preserves their authorship.
Why This Change Was Made
The coherent removal deletes
extensions/daytona,@daytona/sdk0.201.0 and its exclusive lockfile closure, the official install catalog entry, package exclusion, plugin/config docs, label routing, Knip entry, release inventory expectations, and the now-unused Daytona security-scan allowance and frozen-revision exception. It preserves unrelated ACPX, Tlon, and Podman changes from the original feature work.No Doctor conversion to Docker, compatibility shim, new configuration option, schema change, or runtime fallback is added. Live checks found no plugin package or introducing merge in any of 116 stable tags, including 19 numeric stable reissues; npm returns E404 for
@openclaw/daytona-sandbox. Automatically moving configured remote execution to local Docker would change the execution boundary without a shipped contract or authorized migration semantics. The fresh ClawSweeper review withdrew its earlier migration finding and found no introduced correctness or security issue.A later main update caused a real conflict only in the generated config counts and hashes. These were regenerated from the already-merged source with maintainer approval. Excluding those two snapshots, the retirement patch is identical to the previously validated patch. CHANGELOG.md is unchanged.
User Impact
OpenClaw no longer advertises or publishes the Daytona agent-tool sandbox plugin. Existing main-only configurations selecting that backend need an explicit supported backend choice; generic missing-backend guidance remains instead of silently switching execution location.
Generic sandbox registration/configuration, independent Crabbox integration, and the standalone Daytona hosting guide remain intact. The cloud-worker guide still states that direct Daytona dispatch is unsupported; this PR does not enable that flow.
Production/tooling LOC: +0/-1983 (net -1983). Tests/test support: +20/-1701 (includes a +15/-14 test-only CI repair). Docs/generated documentation: +18/-295. Lockfile: +0/-666.
Evidence
Current head:
a3db1ead36610741bc04a2c65bdde1b1c718b1f8. Fresh exact-head CI passed, including the requiredopenclaw/ci-gate. GitHub reports this exact head clean and mergeable.pnpm build:packageproof ataf4e07d85490032ec917e4356b571bd14665561f: passed, including all 63 remaining external plugins, CLI bootstrap imports, runtime postbuild, all 147 public SDK exports, UI and startup metadata. A task-owned stale Daytona dist probe was removed by the clean build.node openclaw.mjs plugins list --jsonwith the repository's isolated-state helper: 150 plugins, no Daytona; plugin source/dist and SDK in the fresh dependency install absent. Zero plugin diagnostics; only the expected informational missing-registry diagnostic in fresh state.15ba169f0988c5fc4b628b081a24567551f98f20at147621c8fab0a375a62ba389ffd0a36a69795157was verified before running the unchangedsrc/plugins/npm-install-security-scan.release.test.ts; 103/103 passed, wrapper exit code 0, lease stopped and verified completed. The subsequent test-only change leaves its source/dependency inputs unchanged. This is clean Linux package proof, not authenticated Daytona execution. Blacksmith owns cleanup, so the backing workflow can show cancellation after a successful delegated command.The old migration finding/first rank-up move was explicitly rejected with the stable-tag/npm and execution-boundary evidence above. Doctor/config/inventory proof addresses the old second move. Earlier conflict, config-baseline, and package-proof points are addressed by the mechanical conflict refresh, passing canonical generators, clean package-security scan, and complete package build. The earlier real-setup rank-up move is covered by the real isolated built-CLI observation. The latest ClawSweeper review reports no correctness/security findings and accepts the behavior proof; its remaining exact-head validation is now green. Full local build/CLI proof is retained for the mechanically refreshed, identical retirement patch; fresh exact-head CI has passed. No paid Daytona sandbox was provisioned, and no live Daytona runtime claim is made.
The first refreshed CI attempt exposed an existing race in
ui/src/e2e/service-worker-update.e2e.test.ts: panel visibility was checked before asynchronous terminal restore/boot had dispatched the catalog RPC. Its immediate snapshot saw zero requests. A controlled reproduction using the mock's existingterminal.listdeferral showed zero requests/pending intent before dependency completion, then exactly one request/cleared intent after completion, while the old snapshot assertion still failed.The bounded test-only repair reuses one catalog getter, polls for the actual RPC, waits for canonical intent completion, and retains the exact-one count and full payload assertions. It adds no production UI change, timeout, sleep, retry, weakened check, or new harness mode. The cross-document hypothesis was refuted: an allowed early build-B request remains in the build-B document because activation of worker B does not reload it. No journal or diagnostic fixture is retained.
Focused Chromium proof on the repaired test passed both cases against verified candidate tree
36da924cbb794edb2c48acceb698fe4c2e4c46d4, and its lease was stopped and independently verified completed. The first CI run passed a failed-jobs diagnostic retry without a code change; that retry was not treated as the fix. Fresh exact-head CI covers the committed repair.AI-assisted: yes.