Determinism

What Workflow code may and may not do, taught by breaking it

Replay only works if the code makes the same decisions from the same history. You write a Workflow that flips a coin, watch the SDK throw a non-determinism error on replay, and derive the rule: Workflow = decisions, Activity = effects. Covers the sandbox, deterministic time and randomness, and side effects.

Estimated time: 80 minutes

Stuck on something? The AI tutor sees this lecture—just ask.

Loading learning experience...