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

Explicitly handle some recoverable sqlx errors instead of failing #52

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

swlynch99
Copy link
Contributor

The whole goal of durable is for its workflows to be reliable. While we can't handle some errors, there are a subset of sqlx errors that are not the fault of the workflow itself and should instead be handled by performing a retry.

This commit handles these and translates them into either retries or runtime-level errors.

The whole goal of durable is for its workflows to be reliable. While we
can't handle some errors, there are a subset of sqlx errors that are not
the fault of the workflow itself and should instead be handled by
performing a retry.

This commit handles these and translates them into either retries or
runtime-level errors.
@swlynch99 swlynch99 enabled auto-merge (squash) September 25, 2024 00:22
@swlynch99 swlynch99 enabled auto-merge (squash) September 25, 2024 18:16
@swlynch99 swlynch99 merged commit 24c19f9 into main Sep 25, 2024
7 checks passed
@swlynch99 swlynch99 deleted the sean/better-error-recovery branch September 25, 2024 18:16
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.

1 participant