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

DM-44720: Report unexpected errors from backend processing #167

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

rra
Copy link
Member

@rra rra commented Jun 7, 2024

Configure the UWS arq worker with Slack webhook support, and report unexpected job errors to Slack. Also report any errors updating the database as uncaught exceptions.

rra added 4 commits June 7, 2024 16:19
Configure the UWS arq worker with Slack webhook support, and report
unexpected job errors to Slack. Also report any errors updating the
database as uncaught exceptions.
Previously, we were reporting them as transient, which seemed to
result in pyvo retrying the request three times. Report them as fatal
instead, as a more conservative assumption, to see if that prevents
that behavior.
When reporting a failed task exception to Slack, add more metadata
to make the exception more useful. Do not serialize the job
parameters, though, since they may contain confidential information.
The required additional support for serializable exceptions has
been merged.
@rra rra force-pushed the tickets/DM-44720 branch from e364af1 to ed21d73 Compare June 8, 2024 01:22
Catch the error thrown when a cutout has no overlap with the specified
image and return a better error message to the user. Flag this error to
not be reported in Slack, since it's purely a user error.
@rra rra merged commit 1ac0e8b into main Jun 10, 2024
3 checks passed
@rra rra deleted the tickets/DM-44720 branch June 10, 2024 20:50
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