Skip to content
Proud to collaborate with Microsoft for Startups

ticket.coding-artifact.deletion-complete ​

Advance a deletion lease to deleted only with exact object-count and byte evidence from the trusted storage boundary.

Confirm that every provider object was physically removed.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes—Authenticated organization scope; control-plane injected, never caller authority.
artifact_uuidstringYes—Deleting artifact whose physical cleanup completed.
worker_uuidstringYes—Exact trusted janitor identity holding the deletion lease.
lease_uuidstringYes—Exact active deletion lease UUID.
deleted_object_countintegerYes—Exact number of provider objects physically deleted, from 0 through 1024.
deleted_bytesintegerYes—Exact number of provider bytes physically deleted, from 0 through 2147483648.

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.deletion-complete",
  "initial_data": {
    "organization_uuid": "value",
    "artifact_uuid": "value",
    "worker_uuid": "value",
    "lease_uuid": "value"
  }
}