Agent Application DevelopmentAccount
Knowledge catalogChoose core direction and segmented content
Practice 36AdvancedSystem designAbout 18 minutes

Corresponding knowledge: Committed effects and conditional compensation in sagas

Agent has booked a hotel but the flight ticket failed. Should the hotel be automatically canceled?

Examine cross-service transactions, compensation conditions, irreversible actions, and human intervention.

Sagacompensationaffairs

Knowledge content check2026-10-03 · Check the source of the original question2026-10-02

Knowledge unit directory

LEARN · PRACTICE · REFLECT

Knowledge exercises·Independent answers

My notes and review ↗

Principles and Solutions have been collapsed. Explain the core mechanism, boundaries and verification methods in your own words, and then compare them.

Answers and personal notes

Each modified commit will be kept as an independent history. Your level of mastery is up to you to evaluate yourself against the standards.

Explain in your own words first

The core principles, analysis, Q&A and migration cases have been closed. When you are ready, unfold it and compare it with the content to find any omissions.

Hands-on verificationComplete on demand · Suggestions15 minutes

List the failure matrix and allowable compensatory actions for the two-step hotel and flight processes.

Expand acceptance requirements and checkpoints
  • Unknown results should be verified first
  • Charge action recheck authorization
  • Compensate for failure without pretending to be successful

Key inspections

  • Compensation is not considered a database rollback
  • Check for unknown results first
  • Compensation has authorized, idempotent and failed states