ticket.coding-artifact.available-artifact ​
Project the now-available artifact as the root 'artifact' output of ticket.coding-artifact.available.
Put the available artifact where the DAG's root output says it is.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-tickets |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | Authenticated organization scope; control-plane injected, never caller authority. |
artifact_uuid | string | Yes | — | The artifact the commit step just marked available. |
storage_object_uuid | string | No | — | Echoed root input; not consulted. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
artifact_uuid | string | No | — | — |
organization_uuid | string | No | — | — |
repository_uuid | string | No | — | — |
work_uuid | string | No | — | — |
delivery_uuid | string | No | — | — |
storage_object_uuid | string | No | — | — |
idempotency_key | string | No | — | — |
state | string | No | — | — |
format | string | No | — | — |
object_format | string | No | — | — |
base_oid | string | No | — | — |
head_oid | string | No | — | — |
manifest_sha256 | string | No | — | — |
artifact_sha256 | string | No | — | — |
session_uuid | string | No | — | — |
execution_uuid | string | No | — | — |
workspace_lease_uuid | string | No | — | — |
created_by_uuid | string | No | — | — |
verifier_uuid | string | No | — | — |
verification_lease_uuid | string | No | — | — |
verification_expires_at | string | No | — | — |
failure_reason | string | No | — | — |
legal_hold_reason | string | No | — | — |
legal_hold_set_by_uuid | string | No | — | — |
legal_hold_set_at | string | No | — | — |
expires_at | string | No | — | — |
prepared_at | string | No | — | — |
available_at | string | No | — | — |
verified_at | string | No | — | — |
deletion_requested_at | string | No | — | — |
deletion_worker_uuid | string | No | — | — |
deletion_lease_uuid | string | No | — | — |
deletion_expires_at | string | No | — | — |
deletion_failure_reason | string | No | — | — |
deleted_by_uuid | string | No | — | — |
deleted_at | string | No | — | — |
created_at | string | No | — | — |
updated_at | string | No | — | — |
manifest_version | integer | No | — | — |
size_bytes | integer | No | — | — |
object_count | integer | No | — | — |
uncompressed_bytes | integer | No | — | — |
deletion_attempts | integer | No | — | — |
deleted_object_count | integer | No | — | — |
deleted_bytes | integer | No | — | — |
legal_hold | boolean | No | — | — |
failed_at | string | No | — | ISO-8601 timestamp when action_fail recorded the failure |
failure_type | string | No | — | Engine-stamped failure category |
failed_action | string | No | — | Engine-stamped action that raised |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | string | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | execute | Accepted |
executing | No | No | — | complete | Applying the mutation |
completed | No | Yes | Yes | — | Done |
failed | No | Yes | No | — | Failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | execute | executing | Run the mutation |
executing | complete | completed | Finalize |
* (any state) | fail | failed | Catch-all failure |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "ticket.coding-artifact.available-artifact",
"initial_data": {
"organization_uuid": "value",
"artifact_uuid": "value"
}
}