GrowthExperiments catches all exceptions for some calls (specifically, homepage modules) and then logs them on the GrowthExperiments channel (see SpecialHomepage::logModuleRenderIssue). That reduces the visibility of serious issues (e.g. no one will watch the GrowthExperiments channel during a train deploy) and is confusing for developers. They should be logged to the exception channel (or both if that's preferable).
Description
Details
Event Timeline
As an aside, the code catches Exception and Error subclasses; it would be slightly more correct to catch Exception and Throwable. Currently the only throwables are Exception and Error but PHP makes no promise that this will be the case.
I would say we do this in an upcoming sprint. Probably exception channel on its own is sufficient.
Change 534779 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] Log exceptions to exception channel
As an aside, the code catches Exception and Error subclasses; it would be slightly more correct to catch Exception and Throwable. Currently the only throwables are Exception and Error but PHP makes no promise that this will be the case.
I think this can be done later, if at all. In the attached patch I've changed to log to the exception channel.
Change 534779 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Log exceptions to exception channel
Change 536310 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Use more conventional API error handling
Change 536311 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Standardize error handling
Change 536310 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Use more conventional API error handling
Change 536311 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Standardize error handling
Probably no errors on any of the other target wikis right now?
Btw I added a
{ "match_phrase": { "origin": "GrowthExperiments" } },
to the dashboard filter so everything that was on the dashboard before the patch is kept there.