Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix for sub-orchestration gRPC serialization issue #149

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

cgillum
Copy link
Member

@cgillum cgillum commented Feb 2, 2023

Fixes #145

The issue is specific to protobuf/gRPC serialization of history events used by Azure Functions .NET Isolated and Java. There was a null placeholder value for SubOrchestrationInstanceCreatedEvent.InstanceId, which was not compatible with the protobuf contract. The quick fix is to use "" instead of null.

There is a potentially larger fix, which is to correctly rehydrate the instance ID value for this history event, but this would require a database schema change, which is a much more expensive process. Per testing, the workaround in this PR should be sufficient to unblock basic sub-orchestration usage.

@cgillum cgillum added this to the v1.1.1 milestone Feb 2, 2023
@cgillum cgillum self-assigned this Feb 2, 2023
@cgillum cgillum merged commit 9adbf23 into main Feb 2, 2023
@cgillum cgillum deleted the fix145 branch February 2, 2023 04:43
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.

Returning from sub-orchestration fails
1 participant