runner.execution-sync-stale-gcp ​
Start GCE execution-sync workflows for active runner rows that may be stale
Dispatch sync workflows for stale active GCE runner executions.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the sweep to the correct tenant. |
limit | integer | No | — | Max executions to fan out per run (default 25, max 200) |
min_age_seconds | integer | No | — | Only consider executions older than this (default 60s) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
candidate_count | integer | No | — | Non-terminal executions matched by the scan |
started_count | integer | No | — | Per-execution sync workflows successfully started |
skipped_missing_metadata_count | integer | No | — | Rows skipped because they carry no provider reference to sync against |
failed_start_count | integer | No | — | Rows whose sync workflow failed to start |
started_runner_execution_uuids | list | No | — | — |
failed_runner_execution_uuids | list | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
organization_uuid | uuid | No | — | — |
limit | integer | No | — | — |
min_age_seconds | integer | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | reconcile | — |
reconciling | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | reconcile | reconciling | — |
reconciling | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.execution-sync-stale-gcp",
"initial_data": {
"organization_uuid": "value"
}
}