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 fail of speculative workflow task #3898

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

alexshtin
Copy link
Member

What changed?
Fix fail of speculative workflow task. If speculative workflow task is failing, corresponding WTScheduled and WTStarted events are added (similar to WTCompleted), and next workflow task is created as transient.

Why?
Consistency with normal workflow task.

How did you test it?
Added new integration test.

Potential risks
No risks.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner February 3, 2023 06:33
@mmcshane
Copy link
Contributor

mmcshane commented Feb 3, 2023

Am I reading this correctly that speculative WFT failures will become durable and have the standard holy trinity of events?

@alexshtin
Copy link
Member Author

"holy trinity", I like this! Yes, they will be created.

@alexshtin alexshtin enabled auto-merge (squash) February 3, 2023 20:56
@alexshtin alexshtin merged commit d43e112 into temporalio:master Feb 3, 2023
@alexshtin alexshtin deleted the feature/fail-speculative-wt branch February 3, 2023 21:33
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