runner.software-delivery.cleanup-execution-log ​
Delete provider runtime logs, Lumen traces, workflow payload history, and main-database execution payloads, then atomically finalize the exact Tickets cleanup task
Delete every controlled execution-log copy under one exact claim.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-runners |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | internal.invocation | Internal exact-claim retention controller |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
cleanup_task_uuid | string | Yes | — | — |
claim_uuid | string | Yes | — | — |
worker_uuid | string | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
renew_claim | dict | No | — | — |
cleanup_provider_runtime | dict | No | — | — |
cleanup_lumen | dict | No | — | — |
cleanup_workflow_history | dict | No | — | — |
cleanup_main_db | dict | No | — | — |
finalize | dict | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | string | No | — | — |
failure_reason | string | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | renew_claim | ticket.software-delivery.cleanup-execution-log-renew | — |
| 2 | provider_runtime | runner.software-delivery.cleanup-execution-log-provider-runtime | — |
| 3 | lumen | lumen.software-delivery.cleanup-execution-traces | — |
| 4 | workflow_history | runner.software-delivery.cleanup-execution-log-workflow-history | — |
| 5 | main_db | runner.software-delivery.cleanup-execution-log-main-store | — |
| 6 | finalize | ticket.software-delivery.cleanup-execution-log-finalize | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
ticket.software-delivery.cleanup-execution-log-renew | renew_claim |
runner.software-delivery.cleanup-execution-log-provider-runtime | cleanup_provider_runtime |
lumen.software-delivery.cleanup-execution-traces | cleanup_lumen |
runner.software-delivery.cleanup-execution-log-workflow-history | cleanup_workflow_history |
runner.software-delivery.cleanup-execution-log-main-store | cleanup_main_db |
ticket.software-delivery.cleanup-execution-log-finalize | finalize |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.software-delivery.cleanup-execution-log",
"initial_data": {
"organization_uuid": "value",
"cleanup_task_uuid": "value",
"claim_uuid": "value",
"worker_uuid": "value"
}
}