cancel_server
Cancel an in-flight server start or swap on a specified port. Returns success even if no operation is in progress, preventing errors.
Instructions
Cancel an in-flight start or swap on this port (ADR-014). Sets a cancel flag on the in-flight marker; the running op picks it up at the next phase boundary (typically within ~1 s during readiness poll). Returns success with marker_existed=False if there is no in-flight op — 'nothing to cancel' is a successful no-op, not an error. A cancel that arrives after the new process has been spawned and the lockfile written is ignored; the op completes and reports cancel_ignored_post_commit=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number of the in-flight op to cancel |