/srv/irclogs.ubuntu.com/2013/05/03/#juju-gui.txt

gary_posterbcsaller_, if I qa and give you a LGTM can you land now? :-)00:17
bcsaller_gary_poster: I think so00:17
gary_posteryay!  ok 1 sec00:17
gary_posterbcsaller_, "Assuming you clean up review notes, LGTM!  Yay, thanks!"00:23
hatchgary_poster: still around?00:26
gary_posterhatch, y00:26
hatchhttp://bazaar.launchpad.net/~hatch/juju-gui/promise-conflict/revision/646 mind trying this out whenever you get a chance to see if it fixes the loading screen issue00:26
hatchit solved it for ben and I00:26
gary_posterhuh, weird00:27
gary_posterok00:27
hatchyeah right?00:27
hatchheh...00:27
gary_posterhatch solves it.  don't love the solution ;-) looking for a sec...00:30
gary_posterhatch, "firing "update" is00:35
gary_poster                  // unnecessary, and potentially even mildly harmful.00:35
gary_poster"00:35
gary_posterMy current suspicion is that this is the problem00:36
gary_posterIt gets the service00:36
gary_posterthen gets the charm00:36
gary_posterfires update...00:36
gary_posterand we redispatch00:37
gary_postermeanwhile we've been loading haproxy because of the delta stream00:38
gary_posterwhich *also causes a redispatch00:38
gary_poster*00:38
gary_posterwhich then interrupts the connection of the promise and the view  (actually it already did that; but the first time it was ok...)00:39
gary_posterso this is the third time through00:39
gary_poster(the update causes the three-alarm fire, at the very least)00:39
hatchhmm interesting00:40
hatchtaking that fire out still causes it to render the three notifications but.... it looks like it's solved the hangup...00:42
gary_posterhatch, eh, I dunno, I should have kept it to myself.  There's something unpleasant happening because of that update, but it's not the only problem; commenting it out...00:42
gary_posterright00:42
hatchahh nope that didn't fix it00:42
hatchjust got the loading screen00:43
gary_posteryeah not surprised :-/00:43
gary_posterthe update is not right, where it is, but not the problem00:43
hatchyeah it looks like it can be safely removed now00:43
gary_posternot sure about that00:44
hatchno?00:44
gary_posterwe need to double check that the endpoint stuff still works in particular00:44
gary_posterthat's where it came from00:44
hatchit appears to00:49
hatchat least as far as the ui interactions are concerned00:49
gary_posterhatch, huh.  that would be cool to remove.  since it doesn't seem to solve anything concrete atm, could you run that change past bac tomorrow and see if he has any qa ideas?00:50
gary_posterbut does not need to be in this branch00:51
hatchsure - and thoughts on the 'fix' ? leave it in and create a follow-up ticket?00:52
gary_postergimme another minute on it, but probably00:53
gary_posterthe fact that we are loading the services/charms because of the delta stream at the same time as the unit view traversal code makes it confusing00:53
gary_posterthe promise code is being called all over the place00:54
gary_posterthe modelController stuff00:54
gary_postermostly for deltas00:54
hatchyeah - it's going to take quite a bit of work to remove the dispatches entirely00:54
gary_posterand then three times for the view00:54
hatchbut it's definitely doable00:54
gary_posterwould you wait to dispatch until...what?00:55
gary_posterthe delta has been processed and we have all models and charms?00:55
gary_posteroh, wait a second00:55
gary_posterI suggested a caching mechanism00:55
gary_posternot there00:55
gary_posterlemme hack that in, for the heck of it00:55
gary_posterwell, lemme review the "then" docs again...00:56
gary_posterI turn into a pumpkin in 4 minutes00:56
hatchhaha no problem00:58
gary_posteryeah you can call then multiple times on the same promise, as long as they return what you want the next "then" to have01:00
gary_posteraigh! turning...into...a...pumpkin!01:01
gary_posterhatch! go...ahead...and...land...01:01
gary_poster(||)01:01
gary_poster^^^ pumpkin01:01
hatchlol nice pumpkin01:01
gary_posternot good ascii art, sorry01:01
gary_posternight! :-)01:01
hatchnight01:02
rick_h_hey huwshimi, how goes?01:23
huwshimirick_h_: Hey. Pretty good. Trying to get through these bugs01:24
rick_h_huwshimi: cool, just wanted to check in if you need anything 01:24
huwshimirick_h_: I don't think so at the moment. Thanks for landing all my branches.01:25
rick_h_huwshimi: np, thanks for the update. Looks nice with the diff sizes/etc now01:25
huwshimirick_h_: Yeah, much better :)01:25
huwshimirick_h_: Things going OK at your end?01:27
rick_h_huwshimi: we'll see. I'm out tomorrow so just working on getting the laptop setup on raring 01:28
huwshimirick_h_: OK cool, success?01:28
rick_h_it's installed, still need to re-setup my environments for charmworld/juju-gui for working on stuff01:29
huwshimiFun!01:29
rick_h_party party01:30
huwshimi:)01:30
rick_h_let me know if you need anything and I'll look out for any branches or at list ping others in the morning01:30
huwshimirick_h_: Thanks, will do. Enjoy your evening :)01:30
rick_h_hopefully we'll get the demo stuff all wrapped up01:30
gary_posterhatch, when you are around, http://paste.ubuntu.com/5629085/ is another way of addressing the redraw problem we saw (ignoring lines 56-59, and lines 87++).  It is still a bit of a band-aid, but it is a good change IMO that happens to fix the immediate problem.  Preventing the three-times dispatch will be the better fix later, but we'll still want this.13:18
gary_posterteknico, LGTM thanks13:22
teknicogary_poster, I'd do anything to make Sublime happy, you know ;-)13:23
gary_posterteknico, lol13:23
rick_h_luca_: replied to your comments on the badges. If there's an issue please open a new bug to address how the .png should be updated.13:26
frankbangary_poster: morning. "Make selenium CI tests for sandbox". Is this switching to sandbox=true and then, e.g. deploying a charm?13:26
luca_rick_h_: Ah, I wasn't sure what to do :)13:26
gary_posterfrankban, yeah, that would be a good start :-)13:26
rick_h_luca_: yea, it's all good. Since the change has landed/etc it's a new change to adjust it going forward. 13:26
frankbangary_poster: cool13:27
gary_posterfrankban, did you get a chance to look at charm tests?13:27
frankbangary_poster: yes, they passed locally two times in a row13:27
gary_posterfrankban, ok cool, good enough.  Thank you very much.  I think it would be great to have an effort to see what needs to happen to make them reliable for everyone.  I wish they weren't so expensive to work on. :-/13:28
gary_posterWe can talk about that next week13:28
frankbangary_poster: sounds good13:29
gary_postercool13:29
frankbangary_poster: I see you also have a retrospective card re charm regression. less fragile tests and setting up a CI for the charm (including lint/pep8) could improve the situation IMHO13:31
frankbanhttps://pypi.python.org/pypi/flake8 is interesting13:31
gary_posterfrankban, +1.  I think there's a discussion, and maybe a tough decision, about CI vs. tarmac also though.  The issue with the charm is that when you push to trunk, it is *released*.  We don't have a release mechanism like with the GUI itself.  CI is really too late.  Alternatively, maybe we set up a different trunk, or a different release branch, and release to it after CI and QA.  That might work with other things 13:33
gary_posterwe need to do.13:33
frankbangary_poster: got it. I wonder if this could also be the right time to make deploy tests use juju-core13:38
gary_posterfrankban, I think we need both. Which will make the tests even slower. :-/13:39
gary_posterpossibly also more difficult to arrange.13:39
frankbangary_poster: do you know if jitsu test is compatible with juju-core?13:39
gary_posterfrankban, I don't know.  However you are cordially invited to the meeting for this blueprint ;-) https://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-juju-charm-testing13:41
frankban:-) 13:41
gary_posterthat will be sometime next week13:41
* frankban thinks our own custom test runner could not be a bad idea [spoiler]13:42
gary_posterheh13:44
gary_postermight be interested in that13:44
hatchgary_poster: thanks lookin gat diff13:59
gary_postercool14:00
sinzuihatch, jcsackett, someone? Huw has a branch that needs another review https://codereview.appspot.com/9159044/14:10
gary_postersinzui, done14:15
gary_postersinzui, is there a test deployment I should look for today?  I got an impression from Rick that you might want me to update the demo site today?14:15
sinzuigary_poster, we are still evaluating that. We have a branch that will unblock a lot of work. I suppose it will be in the afternoon when we decide if we have something to show off14:21
gary_postersinzui, ok.  I'm hoping to take the afternoon off, but I can sneak in and see if you want an update14:22
sinzuiokay. understood14:23
hatchI like your diff, couple questions...14:31
gary_postersure14:31
hatchwell just one14:31
hatchhow does this solve the problem? heh14:31
gary_poster:-)14:31
hatchI like how we don't create new instances14:31
hatchbut isnt' the execution the same?14:32
gary_posterhatch, first, tbh, this was a cleanup that I thought would solve another issue.  It didn't.  Then I noticed that this was cleaned up.  bonus! ;-)  That admission made, now you know I'm kinda guessing, but...14:33
gary_posterMy hypothesis is that the fact that the "then"s are called synchronously makes the difference14:34
gary_posterSo, old code:14:34
gary_posterpromise 1: showView14:34
gary_poster[stuff happens]14:35
gary_posterpromise 2: showView14:35
gary_poster[stuff happens]14:35
gary_posterpromise 3: showView14:35
gary_posterNew code:14:35
gary_posterpromise: showView, showView, showView!14:35
gary_poster[stuff didn't get a chance to happen]14:35
gary_posterhatch I realize that's lame14:36
gary_posterbut that's what I got ;-)14:36
hatchhaha - well it's a hypothesis that fits14:36
hatchso I'll take it!14:36
gary_poster:-)14:36
gary_posterhey jujugui.  I propose that we postpone our weekly retrospective until we see each other next week face to face.  However, let's have our daily call in 9 minutes at the usual Friday time.  please update kanban14:51
Makyogary_poster, +114:53
gary_postercool14:53
hatchI vote that we stop using paste.ubuntu.com in favour of something with syntax highlighting :)14:57
gary_posterit has syntax highlighting!  you just have to select it...14:57
hatchohhhh so it's allyalls fault LO14:58
hatch:P14:58
MakyoPff.15:00
gary_posterjujgui call now15:00
gary_postersorry15:00
gary_posterjujugui :-P15:00
* gary_poster signed up for Selenium for Pythonistas. Thanks bcsaller_ :-)15:26
bcsaller_cool :)15:26
gary_posteroops15:26
hatchthere are a number of javascript meetups but they are all in SF15:29
gary_posterbcsaller_, fwiw landscape is working fine with improv.  yay!  so, no worries.15:30
bcsaller_gary_poster: ha, cool, I'll check what I didn't set up properly 15:31
gary_postercool15:31
MakyoBack in a little bit.  Getting a tour since it's the first day.15:31
bcsaller_gary_poster:  (and anyone else) if there are any mutations you'd like to see let me know15:31
gary_posterbcsaller_, just to screw with people we could move the services around the screen ;-)15:32
gary_poster*note that was not a suggestion ;-)15:32
bcsaller_gary_poster: already started, I have one that should occasionally flip/mirror the setup15:32
gary_posterheh15:33
gary_postercool15:33
hatchbcsaller_: any chance you could make one of your little simulators that could simulate a slow back end?15:33
hatchso we can test for race conditions and the like15:33
bcsaller_hatch: that would maybe be something else. This creates mutations, we could add somethign at the sandbox layer that delayed outoing responses, but I'm not really sure how useful that is15:34
hatchwell right now with rapi and fakebackend everything returns really fast15:36
hatchI'd like to see what happens if there is a hangup somewhere15:36
bcsaller_hatch: but you'd want that relative to user-generated events, the stuff coming out of simulator is random and acts as though another use made remote changes to the env15:39
bcsaller_so the delay would be unknowable15:39
bcsaller_but a delay slider relative to sandbox replies is do-able outside this effort15:39
hatchahh I see what you're saying15:40
hatchbcsaller_: are you here today?16:09
bcsaller_hatch: yes16:11
hatchok great, I am just fixing the tests from garys patch to that race condition and then I'm going to propose this so I'd like another QA just to be safe16:11
bcsaller_hatch: let me know16:14
hatchjust finished the fixes so now running the suites again it'll probably be 10-1516:14
gary_posterjujugui, stepping away for afternoon.  Will occasionally check back.  I have a lot of work to do before Monday, so if you want to get in touch, I will be around eventually. :-)  I look forward to seeing everyone soon!16:21
hatchenjoy! see you Tuesday16:22
bcsaller_gary_poster: have a good one16:22
gary_posterthanks :-)16:22
hatchbcsaller_ if you could also plz qa this https://codereview.appspot.com/9178043/16:22
hatchwe can say gary and I paired so I'll land after one review :)16:23
* hatch is a rebel with a cause16:23
MakyoOops, reboot.16:25
hatchbcsaller_: if I could bug ya to qa that that would be awesome :) I'd like to finally drag that card into landed :)16:49
bcsaller_hatch: sorry I didn't say something, I've been working on it16:49
bcsaller_hatch: still get the 3+ notifications, you didn't want to add the timer around that?16:49
hatchI do....but I'm a little worried that it will then hide the real problem16:51
bcsaller_hatch: The simulator aggressively  shows refresh 'opportunities' , but doing a plugin that forces semi-random traversals might be fun16:55
hatchhaha oh boy16:57
hatchalllright finally merged that in!17:11
hatchbcsaller_, it looks like the CI failure in IE was from your branch... for the sandbox import...IE probably doesn't support the same methods17:26
bcsaller_nothing should touch the html5 codepaths17:26
bcsaller_I can test my current stuff on ie soon though17:28
hatchalright thanks - it just looks like that's when the latest failures started17:41
hatchor it could be something entirely unrelated of curse :)17:41
hatchbcsaller_, fakebackend.importEnvironment successfully imports v0 data - timeout exceeded17:43
hatchso it probably just takes too long 17:43
bcsaller_hatch: thats possible, I'm seeing errors in BrowserCharm test on IE, but I'll up the timeout on import17:53
hatchhmm those aren't showing up in the CI video17:54
hatch /join #yui18:01
hatch /join #yui18:01
hatch...18:01
MakyoOh nooooo.  Working in the precise container broke lbox D:19:27
rick_h_gary_poster: sinzui pushed up a working fix to the ~juju-gui/browser-default branch19:39
hatchbcsaller_, the other day I picked up FTL - I haven't been able to get more than 1/2 way on normal haha20:04
bcsaller_hatch: yeah, that one has a steep learning curve 20:04
hatchI got to the end on easy and got the final boss down to about 1/4 but that's it20:05
hatchI never have any money so my ship always sucks20:05
bcsaller_hatch: I bet you clear zones too fast then 20:06
hatchyeah? I've tried  but maybe I need to keep the fleet RIGHT behind me20:07
hatchI'm guessing that you have been more successful?20:08
bcsaller_hatch: yeah, I don't play much now, but I do have all the ships20:17
hatchheh I have 3 :)20:18
hatchI have been looking at Kerbal Space Program game20:18
hatchlooks pretty cool20:18
hatchhttp://store.steampowered.com/app/220200/20:19

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