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 WorkflowDone exception #17047

Merged
merged 2 commits into from
Nov 23, 2024
Merged

Conversation

nerdai
Copy link
Contributor

@nerdai nerdai commented Nov 23, 2024

Description

#17043 introduced a bug in our Workflow execution by wrapping WorkflowDone exceptions with a WorkflowRuntimeError. This PR handles such exceptions as required for successful workflow execution. Tests that assert error's raised are also adjusted to match the new WorkflowRuntimeError.

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.

  • I believe this change is already covered by existing unit tests

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 23, 2024
Copy link
Collaborator

@logan-markewich logan-markewich left a comment

Choose a reason for hiding this comment

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

Thanks you!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 23, 2024
@nerdai
Copy link
Contributor Author

nerdai commented Nov 23, 2024

Merging despite tests fail that seem to be due to pants pulling in Pydantic v2.10

@nerdai nerdai merged commit 70ff5e0 into main Nov 23, 2024
7 of 11 checks passed
@nerdai nerdai deleted the nerdai/fix-workflow-tests branch November 23, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants