State values
The server may introduce new
state values over time. The SDK wait helpers
treat anything not in the lists above (except failed) as “still working”,
so unknown values won’t break your code.List rigs
Stop a running rig
waitForRigStop polls every 3 seconds until the rig enters
stopped. No client-side timeout — it throws if the rig transitions to
failed.
Start a stopped rig
waitForRigStart polls every 3 seconds until the rig is in one of
active / running / started.
Delete a rig
--delete-volumes / --keep-volumes flags control what happens
to associated volumes; the SDK call always deletes the rig record and
the server handles cleanup.