Skip to content

Commit 8dd9e79

Browse files
codydeclaude
andauthored
feat(sandbox,ca): leave experimental, one create and ssh output for sandboxes and cloud agents (#1371)
* feat(sandbox,ca): drop experimental warnings Sandboxes and cloud agents are leaving experimental, so `railway sandbox`, `railway code` and the `railway ca` launcher no longer print the "experimental and APIs may change" banner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ca): cloud agents are GA, drop the Priority Boarding preflight Cloud agents no longer sit behind the CLOUD_AGENTS flag, so `railway ca`, `railway code`, `ca desktop` and the Codex/OpenCode clients stop asking for the account's feature flags before launching. This removes the access module, the CloudAgentAccess query, the flag_missing telemetry event and the "Requires Cloud Agents access" lines in help and docs. Older CLIs that still run the preflight keep working because the backend reports CLOUD_AGENTS for every user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(sandbox,ca): one create output for sandboxes and cloud agents A cloud agent is a sandbox with agent tooling on top, so `railway sandbox create` and `railway ca create` now print the same block from one renderer (commands/output/machine.rs): a "Created sandbox|cloud agent <label>" header, aligned Status, Region, Idle and Domains fields, then one Connect line. The agent adds a single dim line about installing a coding agent. `railway sandbox create` (and `fork`) now waits until the sandbox runs, with the SDK's 5 minute readiness timeout, and fails clearly on FAILED or a destroyed sandbox. `--no-wait` keeps the old return-while-CREATING behavior and prints the same block with the current status. JSON is additive: sandbox output gains `name` (null; sandboxes have none) and `projectId`; cloud agent output gains `region` and `domains`, read with a new CloudAgentPlacement query. `region` is added to CloudAgent in schema.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(sandbox,ca): matching ssh connect and disconnect messages `railway sandbox ssh` and `railway ca ssh` now show a short "Connecting to sandbox|cloud agent <label>" spinner (cloud agents: "Waking" when asleep) that clears before ssh takes the terminal, and one line after an interactive session: Disconnected from <kind> <label>. <what happens next>. <command to act now>. Sandboxes say when they are destroyed (or that they never idle out); cloud agents keep the idle-sleep wording and the old-agent split from ca::sleeps_when_idle. One-off commands (`ssh -- <cmd>`) print nothing extra in either, so `ca ssh -- <cmd>` no longer prints the disconnect note. Exit codes are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(sandbox): drop the stale access note from help `railway sandbox --help` ended with "Requires Sandboxes access.", but sandboxes have no feature flag and Backboard allows them on Free, Trial and paid plans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a581e58 commit 8dd9e79

18 files changed

Lines changed: 1085 additions & 291 deletions

‎docs/cloud-agents.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Cloud-agent command guide
22

33
Use `railway ca` to browse and manage VMs, `railway code` to launch a coding
4-
session, and `railway ca desktop` to configure a desktop app. Cloud Agents access
5-
is required. Run any command with `--help` for its options.
4+
session, and `railway ca desktop` to configure a desktop app. Run any command
5+
with `--help` for its options.
66

77
## Launch and reconnect
88

‎src/commands/cloud_agent/access.rs‎

Lines changed: 0 additions & 85 deletions
This file was deleted.

‎src/commands/cloud_agent/desktop.rs‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,15 +195,6 @@ pub async fn command(args: Args) -> Result<()> {
195195
.any(|app| app.is_opencode())
196196
.then(opencode::generate_password);
197197

198-
// Same preflight as a launch, and for the same reason: without the flag the
199-
// create at the end of provisioning is refused, after a credential has
200-
// already been spent on it.
201-
{
202-
let configs = Configs::new()?;
203-
let client = GQLClient::new_authorized(&configs)?;
204-
super::access::ensure_enabled(&client, &configs).await?;
205-
}
206-
207198
// Provision once per app, on one agent. The first pass resolves (or creates)
208199
// it; later passes are pinned to that id, so `--claude --codex` seeds two
209200
// credentials on one machine rather than spending two VMs.

0 commit comments

Comments
 (0)