storage.coding-artifact-recovery-point.restore ​
Restore and verify one exact staged coding-artifact recovery point, then purge only the isolated restore target
Restore one exact staged point only after the drill has started.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-storage |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
runner_group_uuid | uuid | Yes | — | — |
recovery_point_ref | uuid | Yes | — | — |
drill_uuid | uuid | Yes | — | — |
drill_started_at | datetime | Yes | — | — |
expected_source_point_at | datetime | Yes | — | — |
expected_source_identity_digest | string | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | — |
runner_group_uuid | uuid | No | — | — |
recovery_point_ref | uuid | No | — | — |
drill_uuid | uuid | No | — | — |
owner_uuid | uuid | No | — | — |
source_point_at | datetime | No | — | — |
completed_at | datetime | No | — | — |
rpo_seconds_observed | integer | No | — | — |
rto_seconds_observed | integer | No | — | — |
restored_item_count | integer | No | — | — |
restored_bytes | integer | No | — | — |
source_identity_digest | string | No | — | — |
restore_target_digest | string | No | — | — |
verification_digest | string | No | — | — |
cleanup_digest | string | No | — | — |
evidence_digest | string | No | — | — |
failure_reason | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "storage.coding-artifact-recovery-point.restore",
"initial_data": {
"organization_uuid": "value",
"runner_group_uuid": "value",
"recovery_point_ref": "value",
"drill_uuid": "value"
}
}