You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ProcessWorkflowTask processes the given workflow which includes
866
+
// - fetching, reordering and replaying historical decision events. (Decision events in this context is an umbrella term for workflow relevant events)
867
+
// - state machine is incrementally built with every decision.
868
+
// - state machine makes sure that when a workflow restarts for some reason same activities (or timers etc.) are not called again and previous result state is loaded into memory
869
+
//
870
+
// Note about Replay tests mode:
871
+
//
872
+
// This mode works by replaying the historical decision events responses (as defined in isDecisionEventForReplay())
873
+
// and comparing these with the replays gotten from state machine
874
+
//
875
+
// Compared to isDecisionEvent(), isDecisionEventForReplay() omits the following events even though they are workflow relevant respond events:
876
+
// complete/failed/cancel/continueasnew
877
+
// The reason is that state machine doesn't have a correspondong decision for these so they cause false positive non-determinism errors in Replay tests.
0 commit comments