runner.software-delivery.cleanup-execution-log-dispatch ​
Claim the oldest due execution-log retention task and run its durable multi-store cleanup controller
Claim and dispatch at most one due execution-log retention task.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-runners |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | internal.invocation | Internal retention task dispatcher |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
worker_uuid | string | Yes | — | — |
idempotency_key | string | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
claim_next | dict | No | — | — |
prepare_claim | dict | No | — | — |
cleanup | 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 | claim | ticket.software-delivery.cleanup-claim-next | — |
| 2 | prepare | runner.software-delivery.cleanup-execution-log-claim-prepare | — |
| 3 | cleanup | runner.software-delivery.cleanup-execution-log | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
ticket.software-delivery.cleanup-claim-next | claim_next |
runner.software-delivery.cleanup-execution-log-claim-prepare | prepare_claim |
runner.software-delivery.cleanup-execution-log | cleanup |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.software-delivery.cleanup-execution-log-dispatch",
"initial_data": {
"organization_uuid": "value",
"worker_uuid": "value",
"idempotency_key": "value"
}
}