ticket.ingest.lumen-error-group ​
Map a Lumen error group (new or regressed) into an incident ticket.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-tickets |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
error_group_uuid | string | Yes | — | — |
fingerprint | string | Yes | — | — |
title | string | Yes | — | — |
severity | string | No | — | — |
occurrence_delta | integer | No | — | — |
workflow_uuid | string | No | — | — |
actor | string | No | — | — |
state_name | string | No | — | — |
trace_uuid | string | No | — | — |
first_seen_at | datetime | No | — | — |
last_seen_at | datetime | No | — | — |
error_group_url | string | No | — | — |
last_release | string | No | — | Version that last emitted this group. Once every affected project is deployed past it, the fault's code is gone. |
first_release | string | No | — | — |
affected_projects | list | No | — | — |
primary_project | string | No | — | — |
group_status | string | No | — | Upstream group lifecycle state (open/resolved/regressed). 'regressed' vetoes any automatic retirement. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
ticket_uuid | string | No | — | — |
created | boolean | No | — | — |
occurrence_count | integer | No | — | — |
organization_uuid | string | No | — | Input field preserved in workflow state. |
error_group_uuid | string | No | — | Input field preserved in workflow state. |
fingerprint | string | No | — | Input field preserved in workflow state. |
title | string | No | — | Input field preserved in workflow state. |
severity | string | No | — | Input field preserved in workflow state. |
occurrence_delta | integer | No | — | Input field preserved in workflow state. |
workflow_uuid | string | No | — | Input field preserved in workflow state. |
actor | string | No | — | Input field preserved in workflow state. |
state_name | string | No | — | Input field preserved in workflow state. |
trace_uuid | string | No | — | Input field preserved in workflow state. |
first_seen_at | datetime | No | — | Input field preserved in workflow state. |
last_seen_at | datetime | No | — | Input field preserved in workflow state. |
error_group_url | string | No | — | Input field preserved in workflow state. |
last_release | string | No | — | Input field preserved in workflow state. |
first_release | string | No | — | Input field preserved in workflow state. |
affected_projects | list | No | — | Input field preserved in workflow state. |
primary_project | string | No | — | Input field preserved in workflow state. |
group_status | string | No | — | Input field preserved in workflow state. |
failed_at | string | No | — | ISO-8601 timestamp when action_fail recorded the failure |
failure_reason | string | No | — | Human-readable failure reason from action_fail |
failure_type | string | No | — | Engine-stamped failure category |
failed_action | string | No | — | Engine-stamped action that raised |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | string | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | execute | Accepted |
executing | No | No | — | complete | Applying the mutation |
completed | No | Yes | Yes | — | Done |
failed | No | Yes | No | — | Failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | execute | executing | Run the mutation |
executing | complete | completed | Finalize |
* (any state) | fail | failed | Catch-all failure |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "ticket.ingest.lumen-error-group",
"initial_data": {
"organization_uuid": "value",
"error_group_uuid": "value",
"fingerprint": "value",
"title": "value"
}
}