Repository navigation
docs: clarify Daytona cloud-worker class incompatibility - #130814
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Land-ready documentation proofReviewed head: The defect is the guide's false omitted-class default, not a request to change runtime policy. The parser rejects missing class before overrides or CLI execution, while warmup explicitly forwards Fresh exact-head proof: node scripts/run-vitest.mjs extensions/crabbox/src/crabbox-worker-provider.test.ts src/config/zod-schema.cloud-workers.test.tsPassed 209 tests: 171 provider + 38 schema. node scripts/check-docs-mdx.mjs docs/gateway/cloud-workers.mdPassed. node_modules/.bin/oxfmt --check docs/gateway/cloud-workers.mdPassed. git diff --check origin/main...HEADPassed. A direct TypeScript source probe on this head also verified that AWS, Daytona, Hetzner, and Machine0 reject omitted class even with a per-session override; the documented JSON passes core schema and OpenClaw parser validation; warmup forwards Hosted CI run 33052428761 completed successfully on the exact head, including Scope and gap: this PR changes documentation only. No authenticated Daytona allocation or working end-to-end dispatch is claimed, and no runtime defaults, settings editor, per-session discovery, or catalog limit changes are included. The coordinated runtime/setup repair must replace this interim warning and the example together when its verified working contract is integrated. No new prose-string test or runtime test seam was added; the docs-only exception applies to full build and autoreview. |
|
Merged via squash.
|
|
Codex review: found issues before merge. Reviewed August 27, 2026, 4:12 AM ET / 08:12 UTC. ClawSweeper reviewWhat this changesThe PR adds a direct-Daytona incompatibility warning and clarifies that the documented Merge readinessKeep open: the new warning correctly identifies an incompatible path, but the retained setup copy immediately asserts that the bundled provider can lease Daytona workers, leaving operators with contradictory guidance. Priority: P2 Review scores
Verification
How this fits togetherGateway cloud-worker profiles pass provider-owned settings to the bundled Crabbox plugin. That plugin requires a machine class and turns it into the Crabbox CLI’s flowchart LR
A[Operator cloud-worker profile] --> B[Gateway worker lifecycle]
B --> C[Crabbox plugin]
C --> D[Required class validation]
D --> E[Crabbox warmup command]
E --> F[Daytona backend]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceDocs +4. Total +4 across 1 file. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the incompatibility warning, but replace the remaining direct-Daytona provisioning claim and unusable profile example with a concise unsupported-state note until the runtime contract makes the integration usable. Do we have a high-confidence way to reproduce the issue? Yes for the OpenClaw side: current source rejects an omitted class and always forwards an explicit one before provider allocation. The exact Daytona backend rejection was not re-executed in this read-only environment. Is this the best way to solve the issue? No: the warning is an appropriate interim correction, but retaining affirmative direct-provisioning guidance directly below it leaves the operator path internally contradictory. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 21b41efc7bb8. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Agreed with the late review finding. The warning was correct, but retaining the affirmative leasing claim and copy-paste profile beneath it left the operator path contradictory. Addressed in #130824: remove the unsupported setup recipe and associated affirmative setup text, retain a concise unsupported-state explanation, and point to the supported AWS configuration and standalone Crabbox documentation. No runtime contract changes are included. The separate runtime/setup repair must replace this section when its verified working contract is integrated. The review was published during the native merge/final-verification window for this PR, so the correction was landed as a focused follow-up rather than silently leaving the finding unresolved. Resolved by merged #130824, commit 9fb992fb512a1ebf4940db54bafbf33223af10d3. The follow-up passed exact-head CI, docs checks, independent full-page sanity review, and fresh upstream-source reconfirmation. Both the actionable finding and matching Rank-up move are addressed. |
What Problem This Solves
Fixes an issue where operators following the Daytona Cloud Workers guide are told that omitting
settings.classselectsbeast, but OpenClaw rejects the profile before invoking Crabbox. The existing explicitbeastexample also must not be presented as working direct-Daytona provisioning: Crabbox rejects an explicit--classbecause its Daytona snapshot owns resource sizing.Related: #130282 (the original Daytona cloud-worker documentation).
Why This Change Was Made
Correct the documentation to match the current integration rather than introducing runtime defaults. State that the example's class is explicit, explain the validation-versus-provider distinction, and put a direct-Daytona incompatibility warning before the setup instructions.
This is an interim docs-only correction. The separate Daytona runtime/setup repair should replace the warning and example together when its working contract is integrated. No per-session discovery, Machine0 picker, settings editor, catalog output limit, configuration schema, or runtime behavior changes are included.
User Impact
Operators no longer mistake the Crabbox CLI's generic default metadata for an OpenClaw profile default, or assume that setting
beastrepairs direct Daytona dispatch. The guide directs them to another supported backend until the integration is compatible.Evidence
parseCrabboxProfilerejects missing/blank class,resolveCrabboxProvisionProfilevalidates before applying an override, andbuildCrabboxWarmupArgsalways forwards--class.internal/providers/daytona/backend_ssh.gorejects explicitly supplied--class; itsTestApplyDaytonaProviderFlagsRejectsResourceNoopstest protects that contract. Credentiallesscrabbox providers describe daytona --jsonreports genericbeastmetadata but an unmapped class catalog; it is not proof of provider acceptance.node scripts/check-docs-mdx.mjs docs/gateway/cloud-workers.mdandgit diff --checkpassed. Post-rebase validation is recorded in the landing proof comment.Production LOC: +0/-0. Tests: +0/-0. Documentation: +5/-1 in one file.
AI-assisted documentation correction.