Skip to content

fix!: Use plain Error in FailureConverter, WorkflowFailedError, and WorkflowUpdateFailedError #1685

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bergundy
Copy link
Member

💥 BREAKING CHANGE 💥

Instead of expecting that the FailureConverter will always return a TemporalFailure.
This change is required for the FailureConverter to support Nexus HandlerError.

NOTE: a similar breaking change has been made in the Java SDK a little while ago: temporalio/sdk-java#2365

@bergundy bergundy requested a review from a team as a code owner April 21, 2025 18:19
@bergundy bergundy force-pushed the failure-converter-error branch from b23851e to 7faa559 Compare April 21, 2025 18:33
Copy link
Contributor

@THardy98 THardy98 left a comment

Choose a reason for hiding this comment

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

lgtm, seems pretty straightforward but worth getting a look from James in case I'm not considering something

@bergundy bergundy force-pushed the failure-converter-error branch from 7faa559 to 525a4f3 Compare April 21, 2025 18:45
bergundy added a commit to temporalio/features that referenced this pull request Apr 21, 2025
See related change: temporalio/sdk-typescript#1685

Also upgraded Go in docker image to ensure the Go image build action passes.
Copy link
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

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

Make sense.

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