/srv/irclogs.ubuntu.com/2014/09/23/#juju-gui.txt

hatchhey huwshimi 01:12
rick_h_huwshimi: actually could you do me a favor today please? There's one card in there "The complete changelog doesn't indicate"01:49
rick_h_huwshimi: could you look at that card in MV tonight? It's a small counting one that I think would be a nice to have and small to do01:49
huwshimirick_h_: Yep np01:52
rick_h_huwshimi: ty much01:52
huwshimino problems at all01:52
=== urulama-afk is now known as urulama
rick_h_morning10:57
fabricerick_h_: morning10:58
rick_h_how goes fabrice?10:59
rick_h_fabrice: any luck on the charm front?10:59
fabricerick_h_: I have the scripts wrapped but I am still trying to get it running under a vm ubuntu server utopic  which launch lxc utopic11:00
fabricerick_h_: my changes are at least working  on trusty11:00
fabricerick_h_: I would love to have an apt cache of some sort :)11:01
fabricerick_h_: this will be ready sometimes this afternoon after the test11:03
fabricebut first lunch11:03
=== fabrice is now known as fabrice|lunch
rick_h_fabrice|lunch: enjoy11:07
=== fabrice|lunch is now known as fabrice
hatchquiet in here!14:22
rick_h_ssshhhh14:22
hatch:P14:25
jcsackettrick_h_: i left the "remove mv flag" card in coding--should i park that there and create a new card for each bit i put up for review, or keep creating new cards in coding and move them along?14:39
rick_h_jcsackett: park it, there's WIP room14:40
jcsackettrick_h_: cool.14:40
rick_h_just make sure you get reviews as needed14:40
rick_h_jcsackett: are there a couple coming up? 14:40
rick_h_jcsackett: I got the first one14:40
jcsackettrick_h_: i saw, and replied.14:44
rick_h_jcsackett: rgr, shipping it now. 14:46
jcsackettrick_h_: well damn. good thing i QAed before proposing. :p14:46
rick_h_I'll call it trivial. :)14:46
jcsackettrick_h_: yeah, but you shipit'ed before i actually pushed my update, since i was going to wait on second review. :p14:47
jcsacketti'll fold it into the next branch.14:47
hatchlol14:48
rick_h_jujugui call in 7 please kanban14:54
jcsacketthrm. i miss bzr/launchpad support for pipes and prerequisite branches in prs.14:55
rick_h_mhilton: standup time15:01
rick_h_kadams54: ping got a sec?15:18
kadams54rick_h_: sure15:18
=== fabrice is now known as fabrice|family
rick_h_Makyo: can you email a link to your raw video to sally and myself please 15:42
kadams54guihelp: I'm ready for a pre-impl call on my card. Somehow, when you delete a relation, the aggregatedStatus attribute on a *different* relationship (or no relationship at all) is getting set to "pending-healthy".15:42
hatchthat's odd15:54
hatchkadams54: do you have any idea where?15:54
hatchlike have you traced the delete code?15:54
kadams54Yes… it doesn't appear to be happening in the delete code.15:55
hatchyou sure you have the simulator off?15:55
hatch:)15:55
kadams54This is in EC215:55
kadams54Rather, it happens as part of the topo update that gets called from _dbChangedHandler in app.js15:55
kadams54Which is triggered by the delete15:56
kadams54Things go off the tracks here: https://github.com/juju/juju-gui/blob/develop/app/views/topology/relation.js#L41015:58
kadams54So relation.aggregatedStatus is set to "pending-healthy" for the incorrect relation when the class gets set. But I'm not sure where/when aggregatedStatus is being changed to the wrong value.15:59
hatchkadams54: you can attach a change event handler to the attribute16:00
hatchput a debugger in the callback and you'll get a good async traceback16:00
kadams54Yeah… since I'm debugging in a real env I'm trying to do all the digging before changing code.16:01
hatchahh right right16:01
kadams54But I suppose I could switch back to sandbox since I've confirmed this happens in both places. I'm just leary given all the sandbox-only bugs we've found.16:01
hatchgood news is that aggregatedStatus is only touched in 5 places in the cod3e16:02
hatchagregatedStatus has a complex getter16:03
hatchI'd probably start in there16:03
kadams54Yeah, I'm looking in there. Right now it seems like relation.pending is still set to false on the relation I just deleted.16:09
kadams54Strike that… the pending attribute doesn't come into play here. Rather, the deleted attribute is what's important, and that is set incorrectly (to true) on the wrong relation.16:11
kadams54Time to do more digging to find out who's setting that…16:11
jcsackettjujugui: can i get 2 reviews and a QA on https://github.com/juju/juju-gui/pull/576 ? it's mostly deletes.16:15
hatchyeah that;s odd16:15
hatchjcsackett: sure16:15
kadams54jcsackett: Sure. My head is starting to hurt on my card anyhow :-)16:16
jcsackettthanks, hatch, kadams54.16:17
hatchjcsackett: sad to see all this work go16:19
hatch:)16:19
jcsackett:p16:21
hatchalthough the git diff is wako16:23
hatchjcsackett: just one comment could you investigate it plz16:32
jcsacketthatch: it's used in topology/service.js16:33
jcsackettin a tangled mess with relations and stuff.16:34
jcsackettit may very well be able to go, but it requires research outside of the scope of removing the MV flag.16:34
jcsackettone has to suss out the whole topology set.16:35
hatchjcsackett: ahh ok that's what I was worried about thanks16:42
hatchcould you create a bug around that so we know to go revisit it at a later time?16:42
hatchand +116:42
=== urulama is now known as urulama-afk
hatchMakyo: well I tried :) maybe one of these days we'll get named params in js16:51
MakyoIt'd be nice!16:52
hatchoh well - I always have Dart16:56
hatchhmm this conflict UI stuff might be a little more work than I had thought16:57
hatchjujugui is there anywhere else in the app that we use the conflict resolution besides in the config? I can't find anything so just confirming16:58
rick_h_hatch: no, that's it17:00
hatchok - this would probably lend itself well to something like react now with a conflict ui layer on top17:01
hatchthis databinding is....complex17:01
hatch:)17:02
kadams54lunching17:10
hatchjujugui anyone want to sit and listen to me reason about my implementation for the new conflict resolution fixes?17:15
rick_h_hatch: otp for the next hour but happy to after that17:15
hatchok I'm going to start hacking on this and then whenever you have a moment ping me and I'll run through it17:17
rick_h_hatch: rgr17:18
hatchrick_h_: timeoff request posted17:32
hatchjus a piddly little thing17:32
hatch:)17:32
Makyojujugui would like another quick look at https://github.com/juju/juju-gui/pull/572 if someone's got a chance.17:53
hatchMakyo: +118:04
rick_h_Makyo: if hatch says +1 you've got mine thanks!18:05
rick_h_hatch: call time? I've got 1518:15
hatchrick_h_: sure joining standup18:16
* rick_h_ goes off to dr again, biab18:28
kadams54_hatch: I think I've got the bug accurately captured in a failing test… can you take a look and verify that I'm on the right track?19:13
kadams54_hatch: https://gist.github.com/kadams54/8a32eeee81e62031f17c19:13
hatchlooking19:15
kadams54_The test sets up two endpoint sets that have one endpoint in common, but the other endpoint differs on the ID. The compareRelationEndpoints should return false because only one endpoint matches, but it does not.19:15
=== fabrice|family is now known as fabrice
hatchkadams54_: I don't think this test makes sense19:17
kadams54_Chat?19:17
hatchthey can't relate because they require/provide the same thing19:17
hatchok i'll hop in the standup19:17
hatchkadams54_: ping me when you get back if you get stuck - I'm interested in the resolution of this, relations are a pita :)19:33
kadams54_hatch: will do. I'm pretty sure I know how to fix it, but I still don't know exactly why it's breaking the way it is, and that bugs me :-)20:08
hatchhaha - well...best of  luck20:08
hatchlemme know if you need another sounding board20:08
kadams54_hatch: I don't think the problem is in flipping the endpoints, though I agree with your assessment that it's not doing what it's intended to do.20:15
hatchdamn20:16
kadams54_Rather, the problem seems to be with the nested .some() functions that are looping through both sets of endpoints on line 1627-163120:16
hatchthis was written in a rush for a demo I believe so it's entirely possible an edge case was missed (obviously)20:17
hatchheh 20:17
kadams54_If I read them right, if any of the endpoints in the set match, then it will return true, when it should require *all* of the endpoints in the set to match.20:17
hatchdamn I love writing code like this but wow is it hard to reason about later20:17
hatchwell only one on each side needs to match20:18
hatchohh nm rght20:18
kadams54_I need a good stiff drink and some painkillers20:18
hatchlol - who needs a liver anyways20:19
rick_h_kadams54_: hatch anything I can help with?20:54
hatchnot here20:55
kadams54_Ditto - all good.20:55
kadams54_Unless you have some vicodin.20:55
rick_h_no, I've got the blue stuff 20:55
* rick_h_ can't recall the name now...20:55
rick_h_valium, that's it20:56
hatchmoms little helper20:56
kadams54_This relations-induced headache keeps reminding me of Lucille Bluth's misinterpretation of the prescription warnings as "winking eye drink with alcohol" instructions.20:56
hatchthat's valium right?20:57
hatchor how was it marketed....it was something like that20:57
rick_h_jcsackett: if MV flag gone gone?20:58
hatchyup valium http://en.wikipedia.org/wiki/Mother's_Little_Helpers20:58
jcsackettrick_h_: should be gone gone early tomorrow. 20:59
rick_h_hatch: heh, well there you go. It's part of my anti-migraine regiment :)20:59
rick_h_jcsackett: ah ok. I saw no open cards for you and got curious20:59
rick_h_oh bah20:59
hatch:)20:59
rick_h_jcsackett: ignore me, I was looking at the top grouping20:59
rick_h_moving things around fooled me all up20:59
jcsackettrick_h_ it's done that to me a time or two as well. 21:00
rick_h_Makyo: can I change your card to not blocked? Are we good now to update the button as appropriate?21:00
rick_h_can you tell when I get done with calls, all of a sudden very curious in everyone's cards :P21:00
jcsackett:p21:01
rick_h_antdillon: get our of here21:02
rick_h_bah, I need ops to kick him out of here21:02
rick_h_+ops21:02
hatchlol21:02
rick_h_stupid irc21:02
hatchantdillon: has a worse work/life balance than I do21:02
Makyorick_h_, thought I did, must not have hit submit, so yeah.21:02
rick_h_and he's about to have no sleep in life when the kid shows up21:02
MakyoJust about to propose, anyway21:03
rick_h_Makyo: ok cool, card seem to be in good shape now with your last change?21:03
MakyoOne line fix, now :)21:03
rick_h_Makyo: ooh, yay. I was hoping that'd be easy now but was scared...nothing is easy these days21:03
antdillonrick_h_, lol I have +1's damn it!21:03
rick_h_Makyo: cool, and then the notification card as a follow up on that one for tomorrow?21:03
rick_h_antdillon: :P21:04
rick_h_antdillon: apologize to robin for me. Poor guy got huw'd hard today21:04
Makyorick_h_, Yep.21:04
antdillonrick_h_, lol hes been writing charms for IS with them reviewing ... your review it nice in comparison21:06
rick_h_antdillon: hah! ok, well normally we'd break someone new in a little easier 21:06
* rick_h_ runs away for a bit. I'll be back on tonight working in the blog post and such though if people need a hand/reviews in 3hrs21:06
Makyojujugui small review, QA in real env: https://github.com/juju/juju-gui/pull/57721:07
hatchMakyo: lol21:08
hatchI recall that line being there at some point21:08
MakyoWell, it's back :)21:08
MakyoGoing to exercise dogs, back in a few.21:08
kadams54_hatch: this relation comparison has turned into a real pita. It's seems like its not just a bug, but potentially a fundamental change in how we compare relations.21:23
kadams54_That is, the way we currently compare relations doesn't work when you have multiple relations that share one endpoint, but not the other.21:24
hatchkadams54_: I don't think you can have multiple relations sharing a single endpoint21:25
kadams54_Mongo cluster bundle21:25
hatchlooking21:25
kadams54_All of the relations between the shards and the master all share one endpoint (the master) but have different endpoints at each of the shards.21:26
hatchahhh21:26
hatchso yeah that's definitely not going to work with this 21:26
hatchtbh I didn't know that was even possible21:26
kadams54_I'm going to need to think harder about this.21:31
kadams54_But that'll have to happen tonight. It's dinner time on the east coast.21:31
huwshimiMorning22:58
hatchmornin22:59
Makyojujugui another small one https://github.com/juju/juju-gui/pull/57823:19
rick_h_Makyo: <323:19
rick_h_morning huwshimi 23:19
rick_h_Makyo: comments in23:22
hatchMakyo: review done23:23

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