Skip to content
Proud to collaborate with Microsoft for Startups

runner.execution-logs-sync-gcp ​

Sync logs metadata for a GCE runner execution

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_execution_uuiduuidYes—Execution UUID to fetch logs for
runner_group_uuiduuidNo—Runner group UUID (optional, resolved from execution)
organization_uuiduuidNo—Organization UUID (optional, resolved from execution)

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_execution_uuiduuidYes—RunnerExecution whose logs were fetched
runner_group_uuiduuidNo—Runner group UUID (passed through from input)
organization_uuiduuidNo—Organization UUID (passed through from input)
new_events_countintegerNo—Number of new log events fetched
log_sync_errorstringNo—Provider fetch error, when the log fetch itself failed
completed_atstringNo—ISO timestamp when the logs sync finalised
failed_atstringNo—ISO timestamp when logs sync failed
failure_reasonstringNo—Populated only when the workflow ends in FAILED
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—fetch_logs—
fetching_logsNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedfetch_logsfetching_logs—
fetching_logscompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.execution-logs-sync-gcp",
  "initial_data": {
    "runner_execution_uuid": "value"
  }
}