You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9c824b2
Browse filesBrowse the repository at this point in the historyBrowse files
Reuse the successful snapshot fork attestation and finish trusted runtime
preparation and enrollment through the shared command cleanup owner.
Keep provider readiness refreshes for arbitrary setup and native capture.
Allow Daytona to perform its required snapshot stop/capture/restore cycle.
Validated with 372 Linux tests, canonical changed-surface checks, and the
full QA-enabled build. The only later test edit removes an unused import.
Copy file name to clipboardExpand all lines: docs/gateway/cloud-workers.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,8 @@ Forwarded host environment values reach setup, so whatever setup derives from th
114
114
115
115
For a project with a Git commit, capture happens during provisioning, before node enrollment. After profile setup, OpenClaw prepares a pristine checkout of the admitted commit, installs the verified node runtime, and captures the machine when an image is needed. The first dispatch includes that work; subsequent sessions can reuse the image without waiting for the first session to stop. Session edits, eligible untracked files, and node enrollment credentials arrive only after capture. Provisioning without a prepared Git project retains capture at an eligible enrolled worker's teardown.
116
116
117
+
Daytona requires a stopped source for filesystem snapshots. OpenClaw allows Crabbox to stop the scrubbed worker for capture. A successful capture waits for snapshot completion and restores a previously running source before project enrollment continues.
118
+
117
119
Image reuse is keyed by the backend, setup command, sorted `setupEnv` variable names (not their values), desktop setting, exact effective machine class, and project identity when present. Project identity comes from the Gateway's namespace and the canonical shared Git directory. Linked session worktrees from the same repository share it; a new session or commit does not create another project identity. Separate repository clones have separate identities. Each prepared seed also records its exact commit, so a changed commit can refresh the same project's image.
118
120
119
121
Before its first provider allocation command, OpenClaw records whether the lease starts cold or from a specific checkpoint, along with its resolved class. Retries and Gateway restart reuse that exact choice; a lost response cannot switch a cold allocation to a newly available image or select a different checkpoint. The record advances through preparation and enrollment, and a selected checkpoint remains protected from deletion until the provider confirms the lease has stopped. A failed fork reports an error instead of silently changing the recorded allocation.
0 commit comments