Open sentry-io[bot] opened 2 months ago
I thought this would be fixed in https://github.com/WordPress/openverse/pull/4875, but they are still happening.
This error is worrisome because there is very little visibility into what the effect of it is, and it's been difficult to understand exactly where it comes from, what causes it, or even when it happens.
My suggested plan of action to try to address this is, unfortunately, purely speculative. It is as follows:
@WordPress/openverse-api is anyone interested in taking this on? I've recommended a list of actions to try in the previous comment. I ordered them based on my estimation of how much effort they would take, and I would suggest trying them in that order unless you disagree with my relative estimations. After each one, we would need to deploy to production and see whether the RuntimeError is still happening.
Please ping me on any PRs that open as a result of this issue. I think someone in @WordPress/openverse-api should drive the work itself so that the understanding of it is within that group of maintainers, but I am happy to advise, review, and lend any other support to anyone working through this.
Sentry Issue: OPENVERSE-API-YE