Skip to content

Conversation

@sophiatev
Copy link
Contributor

When attempting to synchronize the instance and history tables in the case that the process died after updating the history table but before updating the instance table upon completing a work item, there can be a null reference exception in the current logic. The problem is I assumed there is always an instance table entry in this situation, but this is not necessarily the case (for example, if this is a suborchestration that had only one round of execution and then immediate completion, it will not have an instance table entry if the process died after updating the history table). This PR fixes the null reference exception in that case.

@sophiatev sophiatev merged commit dfca343 into main Dec 4, 2025
44 checks passed
@sophiatev sophiatev deleted the stevosyan/fix-null-reference-bug-in-tables-sync branch December 4, 2025 05:49
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.

3 participants