Skip to content

Release v5.13.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 21:00
bfee179

Stage now runs ability invocations as durable messages on the Orleans silo it already hosts, through Choreography, and a command action reports a refusal apart from a failure.

Added

  • Durable ability invocations: an invocation is recorded with the fact, run or transition that caused it before anything runs, then performed by a Choreography run under the capability ability:<System>.<Ability>@<contract major> with the extension package digest pinned. Its identity is derived from the origin's semantic address and causation, never the attempt, and is the grain key, the run's deduplication key and the idempotency key the extension receives. (#1067)
  • Effect classes: safe retries freely, idempotent retries with the same key, and once is never retried when an attempt may have reached the system. It stops for reconciliation instead, including when a restart interrupts an attempt.
  • GET /stage/invocations lists invocations and the ones stopped for reconciliation. POST /stage/invocations/{identity}/reconciliation records which outcome happened and the origin continues from that choice. POST /stage/invocations/{identity}/answer answers an ability that answers later, after checking the identity against the persona or policy the invocation names. Both are sandbox tooling and are not mapped in a published runtime.
  • Per-system gates from deployment configuration under Stage:Invocations:Systems: MaxConcurrent, RequestsPerSecond and MaxAttempts.
  • Documentation: Durable ability invocations, linked with the Screenplay reactions, workflows, state machines and operations pages and with the Choreography runtime pages.

Changed

  • A workflow action that invokes a command now leaves through refused when the command was handed on and rejected, and through failed only when the invocation itself broke. A refusal that no outlet routes still fails the node. The rendered action performers behave the same way. (part of #1251)
  • Upgraded to Cratis.Choreography 2.5.0, Cratis.Chronicle 19.148.0 (the version Choreography 2.5.0 requires) and Cratis.Screenplay 6.19.0.
  • The sandbox host no longer registers a no-op Chronicle telemetry callback, because Chronicle now binds its telemetry configuration itself.
  • A once ability is refused while the host keeps its grain storage in memory, because a restart would lose the record that stops a repeat. Set Stage:Orleans:Storage to MongoDB, or set Stage:Invocations:AllowVolatileOnce to true in a sandbox.