Repository navigation
Release v5.13.0
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:
saferetries freely,idempotentretries with the same key, andonceis never retried when an attempt may have reached the system. It stops for reconciliation instead, including when a restart interrupts an attempt. GET /stage/invocationslists invocations and the ones stopped for reconciliation.POST /stage/invocations/{identity}/reconciliationrecords which outcome happened and the origin continues from that choice.POST /stage/invocations/{identity}/answeranswers 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,RequestsPerSecondandMaxAttempts. - 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
refusedwhen the command was handed on and rejected, and throughfailedonly 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
onceability is refused while the host keeps its grain storage in memory, because a restart would lose the record that stops a repeat. SetStage:Orleans:StoragetoMongoDB, or setStage:Invocations:AllowVolatileOncetotruein a sandbox.