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

Do not send queries after we would fail WFT #792

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

Sushisource
Copy link
Member

What was changed

Do not send queries if the task would be failed anyway

Why?

Pointless waste of time and effort, and can potentially un-fail the WFT if a legacy query is successfully responded to.

Checklist

  1. Closes [Bug] Python 1.6.0 query can reset task failure inadvertently via query #786

  2. How was this tested:
    Added test

  3. Any docs updates needed?

@Sushisource Sushisource requested a review from a team as a code owner August 9, 2024 23:04
@Sushisource Sushisource changed the title Query task fail Do not send queries after we would fail WFT Aug 9, 2024
@Sushisource Sushisource enabled auto-merge (squash) August 12, 2024 17:38
@Sushisource Sushisource merged commit a896566 into temporalio:master Aug 12, 2024
6 checks passed
@Sushisource Sushisource deleted the query-task-fail branch August 14, 2024 17:20
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.

[Bug] Python 1.6.0 query can reset task failure inadvertently via query
2 participants