Skip to content
Proud to collaborate with Microsoft for Startups

runner.execution-sync-stale-kubernetes ​

Start Kubernetes execution-sync workflows for active runner rows that may be stale

Dispatch sync workflows for stale active Kubernetes runner executions.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—UUID of the caller's organization, injected server-side from the authenticated request; scopes the reconcile scan to the correct tenant.
limitintegerNo——
min_age_secondsintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
candidate_countintegerNo——
started_countintegerNo——
skipped_missing_metadata_countintegerNo——
failed_start_countintegerNo——
started_runner_execution_uuidslistNo——
failed_runner_execution_uuidslistNo——
completed_atstringNo——
failed_atstringNo——
organization_uuiduuidNo——
limitintegerNo——
min_age_secondsintegerNo——
failure_reasonstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—reconcile—
reconcilingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedreconcilereconciling—
reconcilingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "runner.execution-sync-stale-kubernetes",
  "initial_data": {
    "organization_uuid": "value"
  }
}