a month ago
Is there a supported way to keep the total cost of one fresh sandbox within USD 1 without changing workspace-wide spending limits?
The sandbox is for a short offline test. I checked the sandbox documentation, the API schema and railway-ts-sdk commit e34b7aa8094136e486f1215d71f3224cc90bc291: https://github.com/railwayapp/railway-ts-sdk/tree/e34b7aa8094136e486f1215d71f3224cc90bc291
-
Is there a per-sandbox spending cap, absolute lifetime limit or egress byte quota? What server-side cleanup deadline covers a lost sandboxCreate response or a sandbox stuck in CREATING/FAILED? The SDK readiness timeout throws without calling destroy in that client path; I cannot establish the server's behavior from the client code.
-
With no heartbeat or SSH connection and only sandboxExec, do the server-side command timeout and idleTimeoutMinutes bound the entire billable lifetime, including startup failure and client disconnection? What is that upper bound?
-
What is the maximum billable memory for a chosen resources.memoryGB? The sandbox size docs describe a ceiling, while the SDK README describes memoryGB as a minimum and says the guest sees somewhat more. Can public egress be denied or capped at creation, before any guest command runs?
Please point to the supported API settings and guarantees, or clarify if this strict total budget cannot be enforced independently of the workspace limit. This is a general capability question, not a request to change any account, resource, authentication or billing settings.
1 Reply
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 month ago
a month ago
AI-assisted. Railway documents no per-sandbox spend/lifetime/egress cap or cleanup SLA. timeoutSec limits one command; idle teardown waits during exec. The linked SDK's five-minute readiness timeout throws without destroy(). Workspace limits stop all workloads. No create-time egress cap is documented; billable memoryGB needs clarification. Sources: https://docs.railway.com/sandboxes ; SDK commit https://github.com/railwayapp/railway-ts-sdk/tree/e34b7aa8094136e486f1215d71f32