runner.execution-launch-gcp ​
Launch one runner execution on GCE
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | Runner group UUID |
organization_uuid | uuid | No | — | Organization UUID (derived from runner group if omitted) |
runner_execution_uuid | uuid | No | — | Existing execution UUID to reuse |
command | json | No | — | Command to run: string or list of strings (generic mode) |
environment | dict | No | — | Extra environment variables to inject (vaulted — persisted state_data holds a [VAULT:...] reference) |
extra_labels | dict | No | — | Additional GCP labels to attach to the VM (lowercase keys enforced, e.g. agent-session-id) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_execution_uuid | uuid | Yes | — | RunnerExecution row this workflow drove |
runner_group_uuid | uuid | No | — | Runner group the execution belongs to |
organization_uuid | uuid | No | — | Organization that owns the runner group |
command | json | No | — | Command to run (passed through from input) |
environment | dict | No | — | Extra environment variables (passed through from input; vaulted) |
extra_labels | dict | No | — | Additional GCP labels (passed through from input) |
provider_execution_id | string | No | — | LTIP/GCE VM reference the execution landed on |
zone_used | string | No | — | GCE zone the VM was actually placed in (after fallback) |
completed_at | string | No | — | ISO timestamp when launch finalised |
failed_at | string | No | — | ISO timestamp when launch failed |
failure_reason | string | No | — | Populated only when the workflow ends in FAILED |
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 | — | prepare | — |
getting_registration_token | No | No | — | launch_execution | — |
launching_execution | No | No | — | complete | — |
preparing | No | No | — | get_registration_token | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | prepare | preparing | — |
preparing | get_registration_token | getting_registration_token | — |
getting_registration_token | launch_execution | launching_execution | — |
launching_execution | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.execution-launch-gcp",
"initial_data": {
"runner_group_uuid": "value"
}
}