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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

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.
Attached patch Patch v1Splinter Review
Attachment #729569 - Flags: review?(mcote)
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+
Good point, I've adjusted the operator :-) https://hg.mozilla.org/automation/orangefactor/rev/e72486078cd8
Deployed to flyingtanks. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Thank you :-0
Product: Testing → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: