Add temporal module: workflows, activities, retries, saga, signals, versioning, Spring Boot starter
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
V1 run: result: picked o-9, shipped o-9
|
||||
V1 history:
|
||||
1 WORKFLOW_EXECUTION_STARTED
|
||||
5 ACTIVITY_TASK_SCHEDULED Pick
|
||||
6 ACTIVITY_TASK_STARTED
|
||||
7 ACTIVITY_TASK_COMPLETED
|
||||
11 ACTIVITY_TASK_SCHEDULED Ship
|
||||
12 ACTIVITY_TASK_STARTED
|
||||
13 ACTIVITY_TASK_COMPLETED
|
||||
17 WORKFLOW_EXECUTION_COMPLETED
|
||||
|
||||
== replay the V1 history against V1 code ==
|
||||
OK
|
||||
|
||||
== replay the V1 history against NaiveV2 (new step inserted, no guard) ==
|
||||
java.lang.RuntimeException: query failure for workflow_id: "ful-1"
|
||||
run_id: "run_id_in_replay"
|
||||
, queryType=__replay_only, args=Optional.empty, error=io.temporal.worker.NonDeterministicException: [TMPRL1100] Failure handling event 11 of type 'EVENT_TYPE_ACTIVITY_TASK_SCHEDULED' during replay. [TMPRL1100] Command COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK doesn't match event EVENT_TYPE_ACTIVITY_TASK_SCHEDULED with EventId=11 on check activityType with an expected value 'name: "FraudCheck"
|
||||
' and an actual value 'name: "Ship"
|
||||
'. {WorkflowTaskStartedEventId=9223372036854775807, CurrentStartedEventId=9}
|
||||
|
||||
== replay the V1 history against PatchedV2 (getVersion guard) ==
|
||||
OK
|
||||
|
||||
== a NEW execution on PatchedV2 ==
|
||||
PatchedV2 run: result: picked o-9, fraud-checked o-9, shipped o-9
|
||||
PatchedV2 history:
|
||||
1 WORKFLOW_EXECUTION_STARTED
|
||||
5 ACTIVITY_TASK_SCHEDULED Pick
|
||||
6 ACTIVITY_TASK_STARTED
|
||||
7 ACTIVITY_TASK_COMPLETED
|
||||
11 MARKER_RECORDED Version
|
||||
12 ACTIVITY_TASK_SCHEDULED FraudCheck
|
||||
13 ACTIVITY_TASK_STARTED
|
||||
14 ACTIVITY_TASK_COMPLETED
|
||||
18 ACTIVITY_TASK_SCHEDULED Ship
|
||||
19 ACTIVITY_TASK_STARTED
|
||||
20 ACTIVITY_TASK_COMPLETED
|
||||
24 WORKFLOW_EXECUTION_COMPLETED
|
||||
replay of its own history: OK
|
||||
Reference in New Issue
Block a user