Closed Bug 655838 Opened 14 years ago Closed 14 years ago

Change throttle rules to use ReleaseChannel

Categories

(Socorro :: General, task)

task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: laura, Assigned: lars)

References

Details

As we discussed in IRC/email last week, we'd like to proceed with the following change to throttling. Sheila has given the go-ahead, so we should implement ASAP. - Any release where the ReleaseChannel is "nightly", "aurora" or "beta" should pass through at 100% - Other existing rules should stand. Assigning to Lars because he had a specific idea on the best way to implement this.
Here's my proposal for throttling rules. throttleConditions.default = [ ("Comments", lambda x: x, 100), # 100% of crashes with comments ("ReleaseChannel", lambda x: x in ("nightly", "aurora", "beta"), 100), ("ProductName", 'Firefox', 10), # 10% of Firefox ("Version", re.compile(r'\..*?[a-zA-Z]+'), 100), # 100% of all alpha, beta or special ("ProductName", lambda x: x[0] in 'TSC', 100), # 100% of Thunderbird, SeaMonkey & Camino (None, True, 0) # reject everything else ] The trick here is that we want it to be fast. The ReleaseChannel rule could be a tiny bit faster if we use the same trick that we use of the ProductName rule and only look at the first letter of the ReleaseChannel. However, in practicality, I don't think it matters much. I've changed the ProductName Firefox rule to look at the whole string. I never really liked that first/last letter rule.
checked into the trunk, .../branches/releases/1.7.7, and .../branches/lars-178dev1 all at the same time. r3153 we're ready to deploy
Depends on: 655915
(In reply to comment #2) > checked into the trunk, .../branches/releases/1.7.7, and > .../branches/lars-178dev1 all at the same time. r3153 > > we're ready to deploy Deployed to production in bug 655915
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.