Pcornel
Automation · Workflow Automation

Approval Gates

Cheat sheet · https://pcornel.dk/topic.php?topic=5369

Back to the Topic

Answer

Approval gates pause a workflow until someone approves, such as before deploying to production, with timeouts and a record of the decision.

Remember

  • Approval gates pause a workflow until someone approves.
  • Set an approver and a timeout.
  • Record the decision.

First checks

  • Approval step configuration — who approves
  • Timeout for approval — expiry
  • Approval audit log — evidence

Verify in this order

workflow → approval request → approved/rejected → continue/stop

Where it usually breaks

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Workflow Automation → Approval Gates · operational reference

LayerWorkflow Automation → Approval Gates operational reference
Runtime/ownershipWorkflow approval gates / protected resource checks · identify controller/parser, durable intent, identity and target ownership before mutation
Persistent intentVersioned definition/configuration with explicit dependencies, scope and credential boundary
VerificationRun a workflow that reaches a gate, confirm state is durable while waiting, approve one instance and reject/expire another, then inspect downstream transition and target state.
Expected interpretationThe workflow cannot cross the protected transition without the required decision, waiting survives worker/controller changes, and approve/reject/timeout lead to explicit different paths.
Recovery boundaryPreserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5369

Confirmation

Confirm action

Continue?