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 cfbe8cf
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cloud): complete setup after plugin activation
Wait for the exact applied config revision before refreshing the current
client's hello in Cloud setup and Plugins. Reuse the config owner's existing
refresh loop and retain Gateway, auth, source, mutation, and page fences.
Keep long diagnostics readable in wrapping descriptions and report a closed
archive-format rejection without exposing raw native details. Explicit CLI
installation refreshes inspection so operator-provided executables can be
adopted and removed or tampered files cannot report stale availability.
Ordinary inspection remains process-cached and concurrent installs coalesce.
Validation: 243 UI/diagnostic tests, final 41 selected installer/setup/discovery
tests, canonical UI/extension types, focused lint, i18n, docs, and formatting
pass. Regression failures were captured first. Fresh Codex P0 review reports
no actionable findings. Full candidate build and live replay follow.
Managed PAX extraction is still blocked in fs-safe; no dependency, hash,
extraction safeguard, SDK budget, or native lifecycle gate was bypassed.
Related to #130713 (guided cloud-session setup).
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
@@ -48,6 +48,8 @@ Open **Settings → Connections → Cloud sessions**, then choose **Add cloud pr
48
48
49
49
The test creates an ordinary managed-worktree session, runs a real agent turn, verifies a file roundtrip, and reclaims the worker. A pass requires verified teardown, not just a successful credential check or a session appearing in the sidebar. Navigating away does not cancel server-owned cleanup. Cancellation can remain **cleanup pending** until release is verified. After a Gateway restart, the test is interrupted rather than replayed; durable cleanup intent allows the Gateway to reclaim only that exact test placement. An interrupted test never becomes a pass merely because its environment disappears.
50
50
51
+
If archive validation rejects the CLI release, keep the validation checks enabled. Check for an OpenClaw update, or place a compatible Crabbox executable on the Gateway user's existing `PATH` and choose **Install compatible dependency** again. This explicit action rechecks the installation without allocating a worker.
52
+
51
53
Saved keys are write-only through the secret-store API, but the SQLite store is **not encrypted at rest**. Protect the Gateway's state directory and backups. Cloud control credentials are resolved only for the selected connection's local Crabbox commands; they are not forwarded to worker setup or agent tools. See [Secrets](/gateway/secrets).
52
54
53
55
Use **Advanced** for existing manual profiles and provider configurations without guided setup. Removing a profile also removes project defaults that reference it, but retains its connection and secret so outstanding workers can still be cleaned up.
@@ -227,12 +232,16 @@ export function createCrabboxInstallation(runCommand: CrabboxCommandRunner) {
227
232
code:
228
233
errorinstanceofOccupiedInstallationError
229
234
? "install_directory_occupied"
230
-
: "install_failed",
235
+
: archiveRejected
236
+
? "install_archive_rejected"
237
+
: "install_failed",
231
238
severity: "error",
232
239
message:
233
240
errorinstanceofOccupiedInstallationError
234
241
? `The managed Crabbox version directory contains unexpected or modified files: ${destination}. Move that directory aside after stopping users of its binary, then retry installation. No files were overwritten.`
235
-
: "Crabbox installation failed verification or could not be published. Check network access and the Gateway's managed tools directory, then retry; a complete verified installation can be recovered. No cloud machine was allocated.",
242
+
: archiveRejected
243
+
? "OpenClaw rejected the Crabbox release archive format before installation. Check for an OpenClaw update, or use a compatible Crabbox CLI on the Gateway user's PATH or set settings.binary in Advanced. No cloud machine was allocated."
244
+
: "Crabbox installation failed verification or could not be published. Check network access and the Gateway's managed tools directory, then retry; a complete verified installation can be recovered. No cloud machine was allocated.",
"The release archive format was rejected before installation. Check for an OpenClaw update, or use a compatible executable already installed on the Gateway through PATH or Advanced settings. No cloud machine was allocated.";
0 commit comments