build_cancel
Cancel a running build: mark the run as cancelled and release its host lease, terminating the owned process so resources are freed for other tasks.
Instructions
Cancel a run: mark it cancelled and release its host lease (terminates the process when this server owns it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | No | build | |
| lock | No | The host lock this run holds (owner build:<id>), when it is still its own | |
| notes | No | ||
| owner | Yes | Host-lock owner holding this run's lease, 'build:<id>' | |
| handle | No | Process handle (pid) when known | |
| status | Yes | ||
| command | Yes | ||
| host_id | Yes | ||
| summary | No | Parsed counts from the log summary line | |
| web_url | No | Absolute URL of this run's page in the web UI (Activity page) | |
| log_path | No | ||
| warnings | No | Material-guard findings; None when the log was clean or unscanned | |
| artifacts | No | ||
| exit_code | No | ||
| created_at | Yes | ||
| updated_at | Yes |