Skip to content
Proud to collaborate with Microsoft for Startups

runner.drift_repair_cloud_run_job ​

Repair drift: re-finalize Cloud Run environment metadata

Repair the Cloud Run marker resource for a Cloud Run runner group.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-runners-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—UUID of the RunnerGroup to repair drift for, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
cloud_connection_uuiduuidNo—UUID of the CloudConnection backing this runner group's cloud backend, picked from the organization's connections.
backend_typestringNo——
actions_neededlistYes——
workflow_run_idstringNo—Engine-stamped workflow run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this drift action operates on, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
backend_typestringNo——
workflow_run_idstringNo—Engine-stamped workflow run ID
runner_execution_uuiduuidNo—UUID of the RunnerExecution this drift action operates on, picked from the organization's (optionally group-scoped) list of executions.
statusstringNo——
outcomestringNo——
initiated_atstringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
errorstringNo——
error_typestringNo——
actor_uuiduuidNo—UUID of the user or service actor who triggered this action, injected server-side from the authenticated request; used for audit/attribution only.
reasonstringNo——
workflow_run_uuiduuidNo—Internal engine-stamped correlation/run identifier for this DAG execution; not a foreign key to any business entity, so no source picker is attached.
retry_countintegerNo——
retried_fromstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statejsonNo——
compensation_triggerjsonNo——
comp_current_layerjsonNo——
comp_queuejsonNo——
comp_retry_countjsonNo——
cloud_connection_uuiduuidNo—UUID of the CloudConnection backing this runner group's cloud backend, echoed through from input, picked from the organization's connections.
actions_neededlistNo——
resource_typestringNo——
skippedbooleanNo——
applied_actionstringNo——
sub_workflow_uuiduuidNo—Internal engine run id of a child workflow this drift-repair step chained while applying its fix (e.g. token-resolve or re-provision); not a user-facing entity reference, so no source picker is attached.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.drift_repair_cloud_run_job",
  "initial_data": {
    "runner_group_uuid": "value",
    "actions_needed": "value"
  }
}