Closed
Bug 1646832
Opened 5 years ago
Closed 5 years ago
Don't submit Sentry issues for build team members
Categories
(Firefox Build System :: Mach Core, enhancement, P3)
Firefox Build System
Mach Core
Tracking
(firefox80 fixed)
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
(Keywords: in-triage)
Attachments
(4 files)
As mentioned here, to reduce noise in reported Sentry errors, we should have a blocklist (starting with Ricky and I) to avoid submitting locally-caused errors.
Assignee | ||
Comment 1•5 years ago
|
||
We can get the current user's email address by doing:
# Git
1. git config user.email | "mhentges@mozilla.com"
# hg
1. hg config ui.username | "Mitchell Hentges <mhentges@mozilla.com>"
2. Parse email from between "<...>", if possible
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mhentges
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Sentry is initialized globally, but it's not clear to consumers when this actually happens.
For example, an unwary developer may call report_exception() within check_and_get_mach(),
not knowing that Sentry hasn't been initialized yet.
Using a class should make the dependency on register_sentry() more verbose.
Depends on D80913
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09f0deb1bebc
Don't report Sentry issues for build team members r=rstewart
https://hg.mozilla.org/integration/autoland/rev/81ad300530b8
Use objects to represent availability of Sentry r=rstewart
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/09f0deb1bebc
https://hg.mozilla.org/mozilla-central/rev/81ad300530b8
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D81792
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ecad36269be
Fix Sentry blocklist not applying to some members r=rstewart
Comment 8•5 years ago
|
||
bugherder |
Assignee | ||
Comment 9•5 years ago
|
||
register_sentry() should always return an error-reporter implementation.
Comment 10•5 years ago
|
||
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fad18d87c94
Use NoopErrorReporter for build team members r=rstewart
Comment 11•5 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•