storage.coding-artifact-bucket.ensure ​
Create or reconcile private customer-owned coding-artifact storage through the selected CloudConnection and bind it to a runner group
Ensure customer storage exists and bind it to one coding runner group.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-storage |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run identifier; ignored by the Storage-owned provisioning action. |
organization_uuid | uuid | Yes | — | — |
runner_group_uuid | uuid | Yes | — | — |
storage_connection_uuid | uuid | Yes | — | — |
retention_days | integer | No | — | Noncurrent recovery version retention, 7-90 days. |
capacity_bytes | integer | Yes | — | Hard audited live-byte ceiling for this runner group's customer-owned coding-artifact bucket. |
storage_usd_per_gb_month | string | Yes | — | Versioned customer storage price in USD per decimal GB-month, with at most 8 decimal places. |
pricing_revision | string | Yes | — | Immutable identifier for the supplied storage price. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | No | — | — |
configured | boolean | No | — | — |
created | boolean | No | — | — |
provider | string | No | — | — |
binding_version | integer | No | — | — |
binding_digest | string | No | — | — |
retention_days | integer | No | — | — |
capacity_bytes | integer | No | — | — |
storage_usd_per_gb_month | string | No | — | — |
pricing_revision | string | No | — | — |
failure_reason | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | ensure | — |
ensuring | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | ensure | ensuring | — |
ensuring | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "storage.coding-artifact-bucket.ensure",
"initial_data": {
"organization_uuid": "value",
"runner_group_uuid": "value",
"storage_connection_uuid": "value",
"capacity_bytes": 123
}
}