Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scenario
Add
update/rejected_update_worker_restartin Go, Java, Python, TypeScript, and .NET. The feature waits for the initial Workflow Task, rejects an Update through a validator, and asserts that the complete persisted history is unchanged. It then replaces the worker, accepts a valid Update, checks that its result and final Workflow result are 1, and verifies that history has exactly one UpdateAccepted and one UpdateCompleted event and no UpdateRejected event.This combines the nondurable rejection and worker restart paths already covered separately by
update/non_durable_rejectandupdate/worker_restart. It follows the speculative rejection, reset, later acceptance, and replay sequence covered by the Lean Update proofs in core-validator.Validation
go run . run --lang go update/rejected_update_worker_restart— passedgo run . run --lang java update/rejected_update_worker_restart— passedgo run . run --lang py update/rejected_update_worker_restart— passedgo run . run --lang ts update/rejected_update_worker_restart— passedgo run . run --lang cs update/rejected_update_worker_restart— passedNo bug was found in the tested current SDK releases. An attempted Go SDK v1.49.0 run could not compile the suite because an unrelated
system_nexus/signal_with_startfeature uses APIs introduced after that release; this scenario was therefore not tested on v1.49.0.