Investigate production ThreadDict
AttributeErrors
#10341
Labels
Lead: @jimchamp
Issues overseen by Jim (Front-end Lead, BookNotes) [managed]
Needs: Breakdown
This big issue needs a checklist or subissues to describe a breakdown of work. [managed]
Needs: Investigation
This issue/PR needs a root-cause analysis to determine a solution. [managed]
Needs: Staff / Internal
Reviewed a PR but don't have merge powers? Use this.
Priority: 2
Important, as time permits. [managed]
Type: Bug
Something isn't working. [managed]
Milestone
Problem
Sentry has logged a large number of
AttributeErrors
, with messages like:These occur when we try to access values in
web.ctx
(likeweb.ctx.site
orweb.ctx.features
) that are seemingly not set.Reproducing the bug
Context
Breakdown
It seems that their are a few classes of
ThreadedDict
AttributeErrors
, each happening in different code paths. I think the first step should be to gather more information about each class of error, then determine how to proceed. There may be a general solution that gracefully handles all such errors, or we may need to fix each of these separately.Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
The text was updated successfully, but these errors were encountered: