Skip to content
Proud to collaborate with Microsoft for Startups

ticket.coding-artifact.prepare ​

Freeze the manifest digest, Git bundle digest, and byte size for a reserved coding artifact.

Freeze digests and size after bounded local Git bundle creation.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes—Authenticated organization scope; control-plane injected, never caller authority.
artifact_uuidstringYes—Reserved organization-scoped coding-artifact UUID.
manifest_sha256stringYes—Lowercase SHA-256 digest of the canonical artifact manifest.
artifact_sha256stringYes—Lowercase SHA-256 digest of the exact Git bundle bytes.
size_bytesintegerYes—Exact compressed Git bundle size from 1 through 536870912 bytes (512 MiB).
object_countintegerYes—Exact Git object count from 1 through 200000, recorded by the exporter.
uncompressed_bytesintegerYes—Exact uncompressed byte count from 1 through 2147483648 bytes (2 GiB), recorded by the exporter.

Output Schema ​

FieldTypeRequiredDefaultDescription
artifactdictNo—Provider-neutral artifact; excludes storage coordinates and credentials.
createdbooleanNo—True only when this idempotent call created the artifact.
changedbooleanNo—True only when this idempotent call advanced artifact state.
claimedbooleanNo—True only when this call acquired the lease.
organization_uuidstringNo—Input field preserved in workflow state.
delivery_uuidstringNo—Input field preserved in workflow state.
repository_uuidstringNo—Input field preserved in workflow state.
work_uuidstringNo—Input field preserved in workflow state.
idempotency_keystringNo—Input field preserved in workflow state.
formatstringNo—Input field preserved in workflow state.
object_formatstringNo—Input field preserved in workflow state.
base_oidstringNo—Input field preserved in workflow state.
head_oidstringNo—Input field preserved in workflow state.
session_uuidstringNo—Input field preserved in workflow state.
execution_uuidstringNo—Input field preserved in workflow state.
workspace_lease_uuidstringNo—Input field preserved in workflow state.
expires_atstringNo—Input field preserved in workflow state.
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure
failure_reasonstringNo—Human-readable failure reason from action_fail
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
artifact_uuidstringNo—Input field preserved in workflow state.
manifest_sha256stringNo—Input field preserved in workflow state.
artifact_sha256stringNo—Input field preserved in workflow state.
size_bytesintegerNo—Input field preserved in workflow state.
object_countintegerNo—Input field preserved in workflow state.
uncompressed_bytesintegerNo—Input field preserved in workflow state.
verifier_uuidstringNo—Input field preserved in workflow state.
lease_uuidstringNo—Input field preserved in workflow state.
lease_secondsintegerNo—Input field preserved in workflow state.
enabledbooleanNo—Input field preserved in workflow state.
reasonstringNo—Input field preserved in workflow state.
worker_uuidstringNo—Input field preserved in workflow state.
deleted_object_countintegerNo—Input field preserved in workflow state.
deleted_bytesintegerNo—Input field preserved in workflow state.
retryablebooleanNo—Input field preserved in workflow state.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—executeAccepted
executingNoNo—completeApplying the mutation
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedexecuteexecutingRun the mutation
executingcompletecompletedFinalize
* (any state)failfailedCatch-all failure

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "ticket.coding-artifact.prepare",
  "initial_data": {
    "organization_uuid": "value",
    "artifact_uuid": "value",
    "manifest_sha256": "value",
    "artifact_sha256": "value"
  }
}