Skip to content

docs: add Saga pattern page with sequential, parallel, idempotency, and pitfall examples#185

Open
TrickSumo wants to merge 1 commit into
aws:mainfrom
TrickSumo:saga-pattern
Open

docs: add Saga pattern page with sequential, parallel, idempotency, and pitfall examples#185
TrickSumo wants to merge 1 commit into
aws:mainfrom
TrickSumo:saga-pattern

Conversation

@TrickSumo
Copy link
Copy Markdown
Contributor

Closes #160

Summary

Adds a dedicated Saga pattern page under Patterns, as requested in #160.

Changes

New page

docs/patterns/saga-pattern.md covers:

  • Description of the saga pattern
  • Sequential saga example (forward steps + compensating steps in reverse on failure)
  • Parallel saga variant using context.parallel() for independent forward steps
  • Idempotency of compensating steps with warning admonition
  • Two common pitfalls with wrong/correct examples

@TrickSumo
Copy link
Copy Markdown
Contributor Author

TrickSumo commented May 16, 2026

Deleted #179 by mistake. Recreated for the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add dedicated Saga / compensation pattern page

1 participant