build_status
Retrieve a Source 2 build run’s status, exit code, summary counts, material-guard warnings, and artifacts by run ID to verify whether a map build is clean.
Instructions
One build run's record: status, exit code, parsed summary counts, material guard and artifacts.
`warnings` carries the MATERIAL GUARD findings when the log referenced missing/reserved materials
(Valve's `_vrf/` subtree, or another map's `maps/<other>/` subtree): counts per kind plus the first
few offending paths. Such a run can still be 'succeeded' — the resourcecompiler exits 0 and the map
then error-renders as a red/black checkerboard, so treat a non-None `warnings` as NOT clean.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run id from build_start, e.g. 'b-1a2b3c4d' |
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 |