Skip to content

Conversation

davidmrdavid
Copy link
Collaborator

@davidmrdavid davidmrdavid commented Aug 16, 2021

Follow-up to: #302

In the case of signalEntity, we need to increase the internal sequenceID for the following APIs to be correctly processing in our linear-pass algorithm. This PR adds that change.

Additionally, I realized that in the pre-existing SDK, continueAsNew input strings weren't getting correctly serialized (they also need to be stringified) so this PR fixes that.

@davidmrdavid
Copy link
Collaborator Author

@ConnorMcMahon: I found another small bug, thankfully before the release :)
This would have broken orchestrators doing a callEntity after a signalEntity.

@davidmrdavid davidmrdavid changed the title Increase sequence number in fire-and-forget APIs Increase sequence number in fire-and-forget APIs and fix ContinueAsNew Serialization Aug 16, 2021
Copy link

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though I'm curious if a test for the serialization bug would be worthwhile?

@davidmrdavid davidmrdavid merged commit d2786e0 into dev Aug 16, 2021
@davidmrdavid davidmrdavid deleted the dajusto/linear-pass-patch1 branch August 16, 2021 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants