events schema
One status event POSTed by bench to /runs/{id}/events. The Job or process exit status stays the final authority.
Schema file: schema/json/events.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
run_id |
string |
Yes | |
sequence |
integer |
Yes | Starts at 0 and grows by one per event, so the API can order and de-duplicate. ≥ 0 |
time |
utcTimestamp | Yes | |
step |
pipelineStep | Yes | |
state |
reportedState | Yes | |
phase |
string |
No | Current phase while state is running during the load step, for example warmup or stage-2. |
message |
string |
No |
Definitions
Section titled “Definitions”pipelineStep
Section titled “pipelineStep”The seven steps of the run pipeline.
Type: "resolve", "snapshot", "load", "collect", "normalize", "summarize", "finalize"
reportedState
Section titled “reportedState”The lifecycle states bench can report. pending, launching and cancelled belong to the API’s runner.
Type: "running", "collecting", "succeeded", "failed"