restart_if_stale
Restart the worker only when it serves a stale build (behind or mismatched); otherwise no-op with reason. Returns immediately; poll runtime_info for update.
Instructions
Bounded mutation. Restarts the worker only when it demonstrably serves a stale build (worker-behind-dist or surface mismatch); no-op with a reason when fresh. Returns immediately; the restart lands seconds later, so poll runtime_info for the new worker. Refuses when unsupervised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||