Skip to content

Release v2.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:32
18caf2c

Workflow nodes can now wait for an answer that arrives later, one slow external system can no longer take every worker slot, and a run stopped on an ambiguous outcome can be resumed with the outcome a person chose. Built for extension invocations in Stage; see Cratis/Stage#1067.

Added

  • WorkflowNodeOutcome.Suspended(key, expiresAfter): a performer that accepted the work answers later. The node waits like a wait without holding a worker, and ends when it is completed by key or expires through the expired outlet (#200)
  • IWorkflowCompletions.Complete completes the suspended node by WorkflowCompletionKey, and WaitKind.Completion is a new wait kind
  • WorkflowsOptions.CapabilityLimits bounds the performer calls of a capability in flight on a silo, by capability id or a prefix such as ability:Slack.*, through IWorkflowCapabilityGates
  • IWorkflowRun.Reconcile resumes a run stopped on an ambiguous outcome with a chosen success, failure or skip, recorded as WorkflowNodeReconciled with the actor. IWorkflowRun is now at [Version(1)]
  • NodeExecutionSnapshot.Reason and NodeExecutionSnapshot.IdempotencyKey tell a person what was ambiguous and which invocation to look up
  • Documentation: suspension by key, capability gates and reconciliation, linked with the Stage invocation work