appcrane_wait_deploy
Blocks until a deployment reaches a terminal state (live/failed/rolled_back) and returns final status. Use after deploy to avoid polling; configurable timeout up to 600s.
Instructions
Block until a deployment reaches a terminal state (live / failed / rolled_back), then return its final status. Use after appcrane_deploy instead of polling appcrane_get_logs in a loop. Returns immediately if the deployment is already terminal. Defaults to 180s timeout, hard-capped at 600s. On timeout, returns { status: "pending", timed_out: true } so the caller can decide whether to keep waiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_sec | No | How long to wait. Default 180s, max 600s. | |
| deployment_id | Yes | Deployment id from appcrane_deploy |