This PR fix a bug with the carrayOverEvents of continueAsNew API. The old implementation loops through the whole newEvents list to add EVENTRAISED to carrayOverEvents, which is not correct. With this fix, it only loops through events that haven't been processed in the newEvents list.
Pull request checklist
[X] My changes do not require documentation changes
[ ] Otherwise: Documentation issue linked to PR
[X] My changes are added to the CHANGELOG.md
[X] I have added all required tests (Unit tests, E2E tests)
Issue describing the changes in this PR
resolves https://github.com/microsoft/durabletask-java/issues/182
This PR fix a bug with the
carrayOverEvents
ofcontinueAsNew
API. The old implementation loops through the wholenewEvents
list to addEVENTRAISED
tocarrayOverEvents
, which is not correct. With this fix, it only loops through events that haven't been processed in thenewEvents
list.Pull request checklist
CHANGELOG.md
Additional information
Additional PR information