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

Fix handling of entity operation errors for isolated entities #2752

Merged

Conversation

sebastianburckhardt
Copy link
Collaborator

@sebastianburckhardt sebastianburckhardt commented Feb 28, 2024

The current code is not properly handling failing entity operation batches. Specifically, for failing batches, it was failing all operations indiscriminately, instead of processing the failure details of each operation in the batch and sending them back to the orchestration caller.

This PR fixes the problem by propagating the results of the batch back to the DurableTask middleware pipeline, even if the function failed.

I think this bug could have been caught if the entity tests #2612 were run in CI, as opposed to having to run them manually (I remember these tests all passing last year but they are failing now which alerted me to this problem).

Pull request checklist

  • My changes do not require documentation changes
  • I've added my notes to release_notes.md
  • My changes should be added to v3.x branch.

@sebastianburckhardt sebastianburckhardt merged commit e568610 into dev Mar 5, 2024
20 checks passed
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