Skip to content

Make sure workers do not propagate retryable errors as fatal#353

Merged
Sushisource merged 5 commits intotemporalio:masterfrom
Sushisource:more-worker-grpc-retry
Jul 18, 2022
Merged

Make sure workers do not propagate retryable errors as fatal#353
Sushisource merged 5 commits intotemporalio:masterfrom
Sushisource:more-worker-grpc-retry

Conversation

@Sushisource
Copy link
Copy Markdown
Member

@Sushisource Sushisource commented Jul 7, 2022

What was changed

Workers should not bubble up retryable errors as fatal, rather they should prefer to just drop the task and let it expire naturally.

Why?

Robustness

Checklist

  1. Closes

  2. How was this tested:
    New UT. Can't test specific scenario user reported b/c of Tonic internals, but it's not exactly complex.

  3. Any docs updates needed?

@Sushisource Sushisource marked this pull request as draft July 7, 2022 23:43
@Sushisource
Copy link
Copy Markdown
Member Author

Will take a different approach - makes more sense to just drop these rather than retrying forever.

@Sushisource Sushisource marked this pull request as ready for review July 11, 2022 22:09
@Sushisource Sushisource changed the title Make sure workers retry deadline errors, and retry forever generally Make sure workers do not propagate retryable errors as fatal Jul 15, 2022
@Sushisource Sushisource merged commit 94ef228 into temporalio:master Jul 18, 2022
@Sushisource Sushisource deleted the more-worker-grpc-retry branch July 18, 2022 16:57
lorensr added a commit to temporalio/sdk-typescript that referenced this pull request Jul 29, 2022
- Turn down log level for this line ([#362](temporalio/sdk-rust#362))
- Fix bug where LA resolutions could trigger activations with no associated WFT ([#357](temporalio/sdk-rust#357))
- Don't allow activity completions with unset successful result payloads ([#356](temporalio/sdk-rust#356))
- Make sure workers do not propagate retryable errors as fatal ([#353](temporalio/sdk-rust#353))
- Fix null LA results becoming unparseable ([#355](temporalio/sdk-rust#355))
Sushisource added a commit to Sushisource/sdk-core that referenced this pull request May 12, 2023
…lio#353)

* Just swallow retryable errors which exceed the retry limit
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