uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
339 stars 128 forks source link

Tests for Continue as New and one additional scenario #1313

Closed agautam478 closed 4 months ago

agautam478 commented 4 months ago

What changed? Cherry picked the two additional replay test scenarios from @taylanisikdemir PR https://github.com/uber-go/cadence-client/pull/1281

ff4f4d194181f9574c66336673ae33227ce30d96 ec3ecd5288eb3f9148bbce6910cf3c6173ce7115

Why? We have decided not to move forward with the core changes in the PR as it requires additional extensive testing but these tests are extremely important and should be included in the replaytest suite. The continue-as-new test is particularly important as it will help us address one of the major bugs in the replayer.

How did you test it? tested locally by running replay_test file

Potential risks NA