Closed
Bug 854907
Opened 12 years ago
Closed 12 years ago
Raise the threshold for suppressing the weekly War on Orange summary email when we think the OF is inaccurate
Categories
(Tree Management Graveyard :: OrangeFactor, defect)
Tree Management Graveyard
OrangeFactor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
|
1.26 KB,
patch
|
mcote
:
review+
|
Details | Diff | Splinter Review |
Bug 827856 made it that if the OF was calculated to be zero (due to a long-standing bug), we suppress the normal email & instead contact admins.
Whilst this worked fine this week, last week we had a reported OF of 0.1, which was clearly wrong, but (obviously) wasn't suppressed.
Whilst the ideal solution would be to fix the root cause of the incorrect OF; given that the OF is currently 7.xx we should just raise the threshold for now, to catch more broken cases in the meantime.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #729569 -
Flags: review?(mcote)
Comment 2•12 years ago
|
||
Comment on attachment 729569 [details] [diff] [review]
Patch v1
Review of attachment 729569 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
::: woo_mailer.py
@@ +224,5 @@
> stats['orangefactorstr'],
> change)
>
> + if stats['orangecount'] <= 2 and not options.test_mode:
> + error_msg = 'This week\'s orange count is less than 2! Something must have broken :-('
Tecccccchnically less than or equal to 2. :)
Attachment #729569 -
Flags: review?(mcote) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Good point, I've adjusted the operator :-)
https://hg.mozilla.org/automation/orangefactor/rev/e72486078cd8
Comment 4•12 years ago
|
||
Deployed to flyingtanks. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•12 years ago
|
||
Thank you :-0
Updated•11 years ago
|
Product: Testing → Tree Management
Updated•5 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•