Skip to content

docs: remove unsupported Daytona cloud-worker setup recipe - #130824

Merged
steipete merged 1 commit into
mainfrom
docs/daytona-unsupported-setup
Aug 27, 2026
Merged

steipete merged 1 commit into
mainfrom
docs/daytona-unsupported-setup

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes contradictory guidance left in the Daytona Cloud Workers section after #130814: a warning correctly says direct dispatch cannot work, but the following text still claims the provider can lease Daytona workers and supplies an unusable profile example.

Follow-up to #130814, addressing its late ClawSweeper finding: #130814 (comment).

Why This Change Was Made

Replace the remaining affirmative direct-provisioning claim and unusable recipe with one concise unsupported-state explanation. Retain the verified class-validation versus backend-flag distinction, link to the supported AWS configuration, and distinguish standalone Crabbox documentation from an OpenClaw cloud-worker setup.

This is docs-only. It does not select a runtime default or adopt either unpublished Daytona integration proposal. The coordinated runtime/setup repair must replace this unsupported-state section only when its working contract is integrated.

User Impact

Operators receive one unambiguous outcome: the current direct-Daytona integration is unsupported, and neither omitting the class nor selecting beast fixes it. The page no longer invites them to copy a known-unusable provisioning profile.

Evidence

  • Same source-backed invariant verified for docs: clarify Daytona cloud-worker class incompatibility #130814: OpenClaw's real parser/provider entry points reject omission, warmup always forwards --class, and Crabbox's direct Daytona flag parser rejects any explicit --class because snapshot sizing is authoritative.
  • Focused provider/schema suites passed 209 tests on the preceding docs-only PR head; no runtime or test source changes are included here.
  • node scripts/check-docs-mdx.mjs docs/gateway/cloud-workers.md, node_modules/.bin/oxfmt --check docs/gateway/cloud-workers.md, and git diff --check pass for this change.
  • The internal Configuration anchor exists on the same page. The external link targets the directly inspected upstream Daytona provider documentation.
  • Removed units: unusable JSON profile, affirmative provisioning/setup copy, and associated direct-setup auth/snapshot instructions. Their future replacement belongs to the coordinated runtime repair. No unrelated Machine0 picker, settings-editor, discovery, or catalog-limit changes.
  • No successful authenticated Daytona allocation or end-to-end dispatch is claimed. This change removes the invalid recipe rather than claiming to repair the integration.

Production and test LOC: +0/-0. Documentation-only net deletion.

AI-assisted documentation correction.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: XS maintainer Maintainer-authored PR labels Aug 27, 2026
@steipete
steipete marked this pull request as ready for review August 27, 2026 08:19
@steipete steipete self-assigned this Aug 27, 2026
@steipete

steipete commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Land-ready follow-up proof

Reviewed head: a89bded08f7b91406bf2d2b1b90dcc876759c4b9. Production and tests +0/-0; documentation +2/-29 in one file.

This fully addresses the accepted finding and matching Rank-up move from #130814: the affirmative direct-leasing claim, unusable profile, and associated direct-setup instructions are removed. The Cloud Workers page now gives one unambiguous unsupported-state outcome and points to supported configuration instead. An independent read-only full-page/diff review found no remaining contradictions in the changed section.

Exact-head checks passed:

node scripts/check-docs-mdx.mjs docs/gateway/cloud-workers.md
node_modules/.bin/oxfmt --check docs/gateway/cloud-workers.md
git diff --check origin/main...HEAD

A direct source probe reconfirmed omitted Daytona class rejection, rejection before per-session override, and explicit --class beast forwarding. A fresh upstream GitHub source read still shows Daytona rejecting explicit --class at internal/providers/daytona/backend_ssh.go:41-48; the linked upstream provider document exists. No cloud calls were executed. The preceding docs-only PR had 209 passing provider/schema tests; there are no runtime or test changes in this follow-up.

Exact-head CI run 33053507859 is green. Native review artifacts validate with no findings. Full build and autoreview are not required for this docs-only deletion.

Known boundary: this is not a runtime integration repair or successful authenticated Daytona provisioning proof. The separately coordinated runtime/setup work must replace the unsupported-state section when its accepted working contract is integrated. Machine0 picker/editor, per-session discovery, and catalog limits remain untouched.

ClawSweeper follow-up resolved

The latest review has no actionable code/docs findings and asks for upstream-contract reconfirmation plus explicit maintainer handling. Both are satisfied: this landing has an explicit maintainer request, and I personally inspected the complete local Crabbox Daytona module and reconfirmed the current upstream file through GitHub's contents API. The returned blob was 1ff8fe76fbf4e1ffcec4ad359fa6de480d88a6b6; ApplyDaytonaProviderFlags lines 41–48 still rejects any explicitly supplied --class with the message that CPU, memory, and disk belong in the Daytona snapshot. The review's source-access/DNS limitation does not apply to this verification.

Decision: merge the focused removal of the unusable recipe. Do not introduce a default, claim successful Daytona provisioning, or conflate this with the separate runtime repair. The review's Rank-up move is addressed by this direct upstream-source proof.

@clawsweeper

clawsweeper Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 27, 2026, 4:26 AM ET / 08:26 UTC.

ClawSweeper review

What this changes

This PR replaces the Daytona warning and removes its direct-provisioning profile, credential, and setup instructions from the cloud-workers guide.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for explicit maintainer handling. The targeted docs deletion matches the current OpenClaw profile-validation path and removes a contradictory recipe that remains on current main.

Priority: P3
Reviewed head: a89bded08f7b91406bf2d2b1b90dcc876759c4b9
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused documentation removal aligns with current OpenClaw behavior, with direct upstream-provider reconfirmation unavailable to this reviewer.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 5 items Current main still contains the contradictory recipe: Current main retains the warning but immediately follows it with affirmative Daytona lease, credential, doctor, and class: beast profile instructions; the PR removes that recipe.
OpenClaw requires and forwards a class: The Crabbox profile owner rejects an empty class, and its warmup-argument builder always includes --class with the validated value.
Provisioning validates before allocation: The provider resolves the profile before beginning provisioning; the current-main blob matches the PR-head blob for both provider and profile modules.
Findings None None.
Security None None.

How this fits together

The cloud-worker guide directs Gateway operators from a worker profile to the bundled Crabbox provider. The profile is validated before provisioning arguments are passed to the external backend, so the guide must not advertise a configuration that cannot reach a usable allocation.

flowchart LR
  A[Operator reads cloud-worker guide] --> B[Cloud-worker profile]
  B --> C[Crabbox profile validation]
  C --> D[Provisioning arguments]
  D --> E[Daytona backend]
  E --> F[Cloud worker allocation]
Loading

Decision needed

Question Recommendation
Should this maintainer-owned documentation correction merge after the existing upstream Daytona contract is reconfirmed? Confirm and merge: Reconfirm the existing Crabbox Daytona flag contract, then merge the focused removal of the unusable OpenClaw recipe.

Why: The protected maintainer label requires explicit maintainer handling, and direct upstream dependency inspection was unavailable in this review environment.

Before merge

  • Resolve merge risk (P1) - The sibling Crabbox checkout is absent and GitHub DNS was unavailable, so this review could not independently re-open the retained upstream Daytona flag-rejection contract; the patch is nevertheless conservative because it deletes the unsupported recipe rather than adding a new setup path.
  • Complete next step (P2) - The protected maintainer label and maintainer authorship require explicit maintainer handling rather than automated repair or closure.
Agent review details

Security

None.

PR surface

Docs -27. Total -27 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 2 29 -27
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 2 29 -27

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain one unsupported-state notice with the supported AWS route until a verified Daytona provisioning contract can replace the whole section.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain one unsupported-state notice with the supported AWS route until a verified Daytona provisioning contract can replace the whole section.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR removes documentation rather than changing runtime behavior; current source establishes the class-validation and argument-forwarding facts it documents.

Is this the best way to solve the issue?

Yes. Removing the non-working recipe while preserving a supported AWS route is the narrowest maintainable correction until the provider contract changes.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 63e6869f6d91.

Labels

Label changes:

  • add P3: This is a focused documentation correction for an unsupported optional cloud-worker setup path.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.

Label justifications:

  • P3: This is a focused documentation correction for an unsupported optional cloud-worker setup path.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.

Evidence

What I checked:

Likely related people:

  • steipete: Authored the preceding merged Daytona clarification and the earlier cloud-worker documentation work visible in the file history. (role: recent cloud-worker documentation contributor; confidence: high; commits: 9f581a7beec9, 84c2111b3090; files: docs/gateway/cloud-workers.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • A maintainer with Crabbox source access should reconfirm the retained Daytona flag-rejection statement before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 9fb992f into main Aug 27, 2026
111 checks passed
@steipete
steipete deleted the docs/daytona-unsupported-setup branch August 27, 2026 08:29
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant