Robotico.Saga 1.0.3

Robotico.Saga

Woodpecker CI

Build .NET 8 .NET 10 GitHub Packages

Saga pattern for compensating transactions and cross-service consistency. Orchestration or choreography; Result-based. Depends on Robotico.Result.

Robotico dependencies

flowchart LR
  A[Robotico.Saga] --> B[Robotico.Result]

Installation

dotnet add package Robotico.Saga

Quick start

Implement ISagaStep (ExecuteAsync + CompensateAsync). Run steps in order; on failure, call CompensateAsync for completed steps in reverse order. See docs/design.adoc for orchestration vs choreography.

Documentation

Design docs (AsciiDoc) are in the docs/ folder:

  • Design (docs/design.adoc) — Saga pattern, orchestration vs choreography, Execute/Compensate semantics, related packages.
  • Index (docs/index.adoc) — Quick links and how to build the docs.

To build HTML: asciidoctor docs/index.adoc -o docs/index.html and asciidoctor docs/design.adoc -o docs/design.html.

Building and testing

dotnet restore
dotnet build -c Release
dotnet test -c Release --collect:"XPlat Code Coverage"
  • Robotico.Repository — Persist saga state for resumability.
  • Robotico.Resilience — Retry step execution and compensation.
  • Robotico.Events — Emit domain events (choreography-style sagas).
  • Robotico.Mediator — Implement steps as Mediator request handlers.

License

See repository license file.

Showing the top 20 packages that depend on Robotico.Saga.

Packages Downloads
MishimaWf.Runtime
MishimaWf tick executor, scheduler, and replay engine.
11
MishimaWf.Runtime
MishimaWf tick executor, scheduler, and replay engine.
7
MishimaWf.Runtime
MishimaWf tick executor, scheduler, and replay engine.
1
MishimaWf.Runtime
MishimaWf tick executor, scheduler, and replay engine.
0

.NET 8.0

.NET 10.0

Version Downloads Last updated
1.0.3 19 07/26/2026
1.0.2 13 06/03/2026