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)

enhancement

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.

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
Severity: -- → S3
Keywords: in-triage
Priority: -- → P3
Assignee: nobody → mhentges

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
Regressions: 1649565
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ecad36269be Fix Sentry blocklist not applying to some members r=rstewart

register_sentry() should always return an error-reporter implementation.

Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8fad18d87c94 Use NoopErrorReporter for build team members r=rstewart
Regressions: 1667750
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: