Skip to content
Proud to collaborate with Microsoft for Startups

runner.execution-launch-mgc-vm ​

Launch one runner execution on a Magalu Cloud VM

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-mgc
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group UUID
organization_uuiduuidNo—Organization UUID
runner_execution_uuiduuidNo—Existing execution UUID to reuse
commandjsonNo—Command to run (generic mode)
environmentdictNo—Extra environment variables (carry secrets; vaulted — see module docstring)

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group UUID
runner_execution_uuiduuidYes—Execution UUID created/reused
provider_execution_refstringNo—Magalu VM instance reference
completed_atstringNo—ISO-8601 completion timestamp
failed_atstringNo—ISO-8601 failure timestamp
failure_reasonstringNo—Failure reason on terminal failure
failure_typestringNo—Failure type
failed_actionstringNo—Action that failed
failed_at_statestringNo—State where failure occurred
failed_stepstringNo—Step that failed
failed_layerstringNo—Layer where failure occurred
errorstringNo—Error message
error_typestringNo—Error type

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—prepare—
getting_registration_tokenNoNo—launch_execution—
launching_executionNoNo—complete—
preparingNoNo—get_registration_token—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedpreparepreparing—
preparingget_registration_tokengetting_registration_token—
getting_registration_tokenlaunch_executionlaunching_execution—
launching_executioncompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.execution-launch-mgc-vm",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}