job_event
Append a timeline event to a job, optionally update its current phase, and attach structured details for errors, crashes, screenshots, milestones, or learnings.
Instructions
Append one timeline event. phase updates the job's current phase; error/crash require a
message and SHOULD carry data.log_tail so the job page can expand the failure in a .
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON detail: log_tail (capped 64 KB) for error/crash, exit_code, url, md5, test_run_id | |
| level | Yes | ||
| phase | No | Sets the job's current phase when given | |
| job_id | Yes | Job id from job_enqueue/job_list, e.g. 'j-1a2b3c4d' | |
| message | Yes | What happened (the timeline line) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| data | No | JSON detail: log_tail, exit_code, artifact url, md5, ... | |
| level | Yes | ||
| phase | No | ||
| job_id | Yes | ||
| message | Yes | ||
| created_at | Yes |