guardian / guardian/grid

Don't report to Sentry when polling for uploaded images

Open
#589 0 comments 0 reactions 0 assignees View on GitHub
bug techdebt To Review
Dominant language
Scala
Stars
1.5k
Forks
121
Avg merge
4d 1h
Merged PRs (30d)
29

Description

When an image is uploaded, the client polls the media-api to check when it has been successfully ingested. This is triggering an error that is being reported to Sentry. We should catch the error and avoid reporting to Sentry as it is the expected behaviour. It also seems to be flooding Sentry, resulting in a "too many requests" error.

Contributor guide

Open the contributing guide

Research direction

Start by locating the client code that polls the media-api after an image upload and identify where polling errors are sent to Sentry. Reproduce or inspect the polling failure, then verify that the expected ingestion error is handled without a Sentry report and that unrelated errors remain reportable.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.