Repository navigation
Commit 8dd9e79
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
File tree
- docs
- src
- commands
- cloud_agent
- code
- output
- controllers
- gql
- queries
- strings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 198 | | |
208 | 199 | | |
209 | 200 | | |
| |||
0 commit comments