runner.environment-deletion-gcp ​
Delete GCP/GCE environment for a runner group
Delete GCP/GCE environment metadata for a runner group.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| 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 | Yes | — | Organization UUID |
workflow_run_id | string | No | — | Engine-stamped workflow run ID |
workflow_run_uuid | string | No | — | Engine-stamped correlation/run id (ADR-015/E1); tolerated on input |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | Runner group whose GCE environment was deleted |
organization_uuid | uuid | No | — | Organization that owned the runner group |
workflow_run_uuid | string | No | — | Internal engine correlation/run identifier for this DAG execution, stamped by the engine (ADR-015/E1); not a reference to any business entity. |
deleted_at | string | No | — | ISO timestamp the deletion DAG finalised |
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 | — | — |
load_gcp_environment | json | No | — | Output of the load_gcp_environment DAG step |
delete_gcp_workload | json | No | — | Output of the delete_gcp_workload DAG step |
finalize_gcp_environment_deletion | json | No | — | Output of the finalize_gcp_environment_deletion DAG step |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | load | runner.load_gcp_environment | — |
| 2 | delete | runner.delete_gcp_workload | — |
| 3 | finalize | runner.finalize_gcp_environment_deletion | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
runner.load_gcp_environment | load_gcp_environment |
runner.delete_gcp_workload | delete_gcp_workload |
runner.finalize_gcp_environment_deletion | finalize_gcp_environment_deletion |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.environment-deletion-gcp",
"initial_data": {
"runner_group_uuid": "value",
"organization_uuid": "value"
}
}