Issue
I've uploaded a CODEOWNERS file, but I'm not seeing any assignments for this issue. I've noticed other issues seem to work.
Applies To
- Github Integration users
- CODEOWNERS users
Symptoms
- Issues are unassigned
Resolution
For CODEOWNERS to work, code mappings must be set up correctly first. If code mappings fail, automatic issue assignment using CODEOWNERS will also fail.
Some common examples:
No "in-app" frames in the stack trace
Code mappings only work for in-app
frames. This means that if your error consists of only system (non in-app
) frames then code mappings will not work, and by extension CODEOWNERS.
Solution: You will want to use Sentry stack trace rules to configure which frames are in-app
Filenames without a leading /
Code mappings do not apply to stack trace frames with a filename
that does not start with a /
. For example in Python if you run your app with: python main.py
an error occurs within main.py
, the event in Sentry will have a filename
of just main.py
Solution: Use Sentry ownership rules in addition to your CODEOWNERS file to handle these outlier cases.