Skip to content

Conversation

alexshtin
Copy link
Contributor

What changed?
Fail workflow task with BadSearchAttributes cause if search attributes mapper returned an error.

Why?
Just returning an error from handleCommands causes workflow task to timeout but not to fail, which is wrong.
Failing workflow task allow to write error message to the history and expose error message in WebUI/tctl.

How did you test it?
Upcomming functional tests.

Potential risks
No risks but there is small behaviour change: WTFail event will be written to the history instead of WTTimeout.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner February 8, 2023 18:56
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