Skip to content
Proud to collaborate with Microsoft for Startups

ticket.reconcile.sweep ​

Sweep source-backed tickets whose fault went quiet; record quiescence and suggest retirement (auto-apply only for release-superseded incidents, opt-in).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringNo——
quiet_daysintegerNo—Days of silence before a ticket is suggested for retirement (default 14).
superseded_quiet_daysintegerNo—Corroborating silence required before a release-superseded ticket may be auto-applied (default 3).
deployed_versionsjsonNo—Map of project -> currently deployed version. Enables the strong release-supersession signal; without it only the time window applies.
applybooleanNo—Auto-apply the retirement for release-superseded incidents. Default false — suggestions wait for a human.
dry_runbooleanNo—Evaluate and report without writing anything.
source_typeslistNo——
limitintegerNo——
nowstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
scannedintegerNo——
suggestedintegerNo——
supersededintegerNo——
appliedintegerNo——
skippedintegerNo——
errorsintegerNo——
dry_runbooleanNo——
resultslistNo——
organization_uuidstringNo—Input field preserved in workflow state.
quiet_daysintegerNo—Input field preserved in workflow state.
superseded_quiet_daysintegerNo—Input field preserved in workflow state.
deployed_versionsjsonNo—Input field preserved in workflow state.
applybooleanNo—Input field preserved in workflow state.
source_typeslistNo—Input field preserved in workflow state.
limitintegerNo—Input field preserved in workflow state.
nowstringNo—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

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.reconcile.sweep",
  "initial_data": {
    "organization_uuid": "value",
    "quiet_days": 123,
    "superseded_quiet_days": 123,
    "deployed_versions": "value"
  }
}