Cancellation and Compensation
Retry repeats an operation; compensation undoes one that succeeded
Temporal will retry for you but it cannot know your rollback semantics. You build reserve-GPU → allocate-sandbox → start-model → register-endpoint, make the last step fail, and orchestrate the compensating steps in reverse — the Saga pattern as ordinary durable code. Then you cancel a running Workflow and see what cancellation actually does to in-flight Activities.
Estimated time: 75 minutes
Stuck on something? The AI tutor sees this lecture—just ask.
Loading learning experience...