/srv/irclogs.ubuntu.com/2015/10/08/#launchpad-dev.txt

cjwatsonwgrant: buildbot failure is yours rather than mine, I believe09:44
wgrantBah09:45
wgrantDodgy import.09:45
cjwatsonwgrant: The unauthenticated-modifying-BMP thing seems to happen in various zopeless situations, judging from the test suite, and lp.code.subscribers.branchmergeproposal already had a similar check.  Do you want me to track down the exact causes of that and try to remove those guards?10:27
wgrantcjwatson: Sounds reasonable enough, feel free to leave it.10:27
cjwatsonI'm not sure of the difference between user is None and isinstance(user, UnauthenticatedPrincipal).10:29
wgrantIndeed, I was surprised it was UnauthenticatedPrincipal rather than None.10:31
cjwatsonIt might only be in the test suite, due to login(ANONYMOUS) in TestCaseWithFactory.setUp.10:33
wgrantDoes it rSP, or does it really login() in Zopeless?10:33
wgrantOr fire the events directly?10:33
cjwatsonlazr.lifecycle does queryInteraction to get the user if you don't pass it one directly10:34
cjwatsonAnd TCWF.setUp login()s regardless of layer10:35
cjwatsonThe event dispatch is just something like notify(ObjectModifiedEvent(proposal, snapshot, [])), no rSP involved10:35
wgrantRight, so it fires it directly.10:36
wgrantAnonymous code couldn't usually modify an MP to cause an event.10:36
cjwatsonOh, sorry, you mean the point where it enters MP editing.  In the cases I'm looking at it's just Zopeless, so things like merge detection.10:56
cjwatsonWhich does notify_modified(proposal, proposal.markAsMerged, merge_revno)10:56
mptwgrant, hi, is there a current graph of your progress with Critical LP bugs over time? I remember there was one a couple of years ago, but no idea where it was11:28
wgrantmpt: http://webnumbr.com/launchpad-critical-bugs11:28
mptbrilliant, thanks11:29
cjwatsonmutter non-zero-based axis11:32
wgranthttps://lpstats.canonical.com/graphs/LPProjectCriticalBurndown/20101208/20151009/11:33
StevenKIt has remained remarkably constant11:47
wgrantMost of the remaining bugs are pretty boring.11:48
wgrantThere are one or two timeouts that occur more than a dozen times a day.11:48
wgrantNew ones crop up and we slay them.11:48
cjwatsonI'm a little surprised the timeout chunk didn't drop more with the new DB servers.  Maybe some of those never show up in practice any more.11:58
wgrantMost that were slow for DB reasons (other than perhaps bug edits) were death by a thousand queries or absolutely terrible queries.11:58
wgrantNot just a few bad queries.11:59
* cjwatson runs into the tension between writing "... for which this ... builds" because that way people won't make bogus Victorian grammar complaints, or writing "... that this ... builds for" because the grammar is fictional but getting complaints anyway13:10
wgrantWe've classically used the former, but the latter I have no problem with.13:12
=== \b is now known as benonsoftware
blrmorning19:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!