diff --git a/src/index.ts b/src/index.ts index df186f5..3f210d4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -227,7 +227,7 @@ compute.command('start [service]').description('Bring a compute service online ( .option('--json').option('--branch ', 'branch (default: current)').action(guard((service, o) => computeCmd.computeStart(service, o))) compute.command('stop [service]').description('Take a compute service offline; traffic will NOT wake it until `start`') .option('--json').option('--branch ', 'branch (default: current)').action(guard((service, o) => computeCmd.computeStop(service, o))) -compute.command('suspend [service]').description('Suspend a compute service (RAM snapshot); stays down until `start`') +compute.command('suspend [service]').description('Suspend a compute service: takes the machine down until `start` — do not rely on in-memory or on-disk state surviving (a service with a /data volume cannot be suspended; use `stop`)') .option('--json').option('--branch ', 'branch (default: current)').action(guard((service, o) => computeCmd.computeSuspend(service, o))) compute.command('restart [service]').description("Restart a compute service by re-running the image it already runs against a freshly resolved env bundle — this is how a changed secret or binding reaches a running machine (env is baked into the machine at deploy time), and how a machine that is up but wedged gets cycled (`start` no-ops on one that is already started). No new image, no new spec. The service must be running: a stopped or suspended one comes back with `insta compute start`. All plans; gated: deploy — it lands configuration the same way a deploy does, so a policy denying deploys denies this too (`start`/`stop` stay ungated, and cycle a wedged machine without one). A service whose app fails to answer on its port coming back up reports that failure, and the machines are rolled back, best-effort, to the config they were serving") .option('--json').option('--branch ', 'branch (default: current)').action(guard((service, o) => computeCmd.computeRestart(service, o)))