Skip to content
Proud to collaborate with Microsoft for Startups

ticket.git-delivery.publish-replay ​

Replace the newest retryable failed publication attempt with a fresh request for the head the work has since acknowledged.

Re-request publication after a retryable failure, deriving every field.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
delivery_uuidstringYes—The delivery to re-drive. Every other field of the replacement request -- sequence, head, destination ref, policy digest, binding, artifact -- is derived from the attempt being replaced and the work's acknowledged head, so there is nothing to look up and nothing to get wrong. Refused unless the delivery is publishing, the newest attempt failed as retryable, nothing is active, and the acknowledged head equals the head that attempt requested.
actor_typestringNo——
actor_uuidstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
attemptdictNo——
createdbooleanNo——
claimedbooleanNo——
changedbooleanNo——
confirmedbooleanNo——
organization_uuidstringNo—Input field preserved in workflow state.
delivery_uuidstringNo—Input field preserved in workflow state.
sequenceintegerNo—Input field preserved in workflow state.
idempotency_keystringNo—Input field preserved in workflow state.
requested_head_oidstringNo—Input field preserved in workflow state.
destination_refstringNo—Input field preserved in workflow state.
policy_digeststringNo—Input field preserved in workflow state.
binding_uuidstringNo—Input field preserved in workflow state.
artifact_uuidstringNo—Input field preserved in workflow state.
expected_remote_oidstringNo—Input field preserved in workflow state.
actor_typestringNo—Input field preserved in workflow state.
actor_uuidstringNo—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
broker_uuidstringNo—Input field preserved in workflow state.
lease_uuidstringNo—Input field preserved in workflow state.
lease_secondsintegerNo—Input field preserved in workflow state.
attempt_uuidstringNo—Input field preserved in workflow state.
broker_binding_keystringNo—Input field preserved in workflow state.
broker_capabilitieslistNo—Input field preserved in workflow state.
outcomestringNo—Input field preserved in workflow state.
native_push_refstringNo—Input field preserved in workflow state.
provider_request_refstringNo—Input field preserved in workflow state.
evidencejsonNo—Input field preserved in workflow state.
observed_remote_oidstringNo—Input field preserved in workflow state.
verifier_typestringNo—Input field preserved in workflow state.
verifier_uuidstringNo—Input field preserved in workflow state.
failure_classstringNo—Input field preserved in workflow state.
retryablebooleanNo—Input field preserved in workflow state.
required_actionjsonNo—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.git-delivery.publish-replay",
  "initial_data": {
    "organization_uuid": "value",
    "delivery_uuid": "value"
  }
}