16:00:29 #startmeeting Storyboard 16:00:30 Meeting started Mon Jan 26 16:00:29 2015 UTC and is due to finish in 60 minutes. The chair is krotscheck. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:31 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:34 The meeting name has been set to 'storyboard' 16:00:38 hi 16:00:45 Agenda: https://wiki.openstack.org/wiki/StoryBoard#Agenda 16:00:52 No actions from last week. 16:01:00 #topic Urgent Items: StoryBoard Validation is broken 16:01:32 so that's due to the validation that was merged 16:01:32 So from what I gather, the client is sending data that the app is not passing, yes? 16:01:38 i proposed a revert here 16:01:38 https://review.openstack.org/150035 16:01:46 well, not really that 16:01:50 o/ 16:02:01 the backend is passing that data, it automatically passes date_created, date_updated... 16:02:11 but then it doesn't accept them on the response 16:02:41 Right. And the client doesn’t make assumptions about the data format it gets, it just sends whatever it receives right back. 16:02:48 yep 16:03:15 yolanda: Was that a clean revert? As in, no conflicts? 16:03:53 krotscheck, yes, tests passing and looks fine, no conflict 16:03:58 krotscheck: The revert is not merged yet 16:04:04 needs to be approved 16:04:06 kk 16:04:10 but I think we can do that right now 16:04:12 Is Aleksey here? 16:04:27 don't see him on the channel 16:05:06 What’s his handle? I keep forgetting 16:05:12 there are 2 points here: the date_created, date_updated, creator_id extra fields sent even from the backend. And we also don't send data properly,as we don't have to send the "id" field on the payload, but on the url, on posts 16:05:15 it should be aripinen 16:05:37 * NikitaKonovalov looking around to find him 16:05:38 +2 16:05:58 +1/apprved 16:06:02 k 16:06:05 +2 I mean 16:06:13 Cool, it should have recovered by the end of the meeting, we’ll keep an eye on it 16:06:23 Anything else that needs to be done right now before we move on? 16:06:43 validation was crashing as well, not sure if related to this as well 16:06:54 errors about dupes, minimum length, etc... 16:07:09 Fun 16:07:12 this was showing the error on the xhr call but nothing shown on the client 16:07:16 Happy monday, everyone :) 16:07:42 That usually indicates a catastrophic error on the server that causes a truncation of the response. 16:07:51 i.e. it never gets CORS headers because everything blew up. 16:08:19 krotscheck, i saw the response correctly sent by server, a json response telling "xxx is to short", or something like that 16:08:20 Alright, I’ll spend today trying to get things stable again, and see where the two aren’t talking to one another. 16:08:24 but client wasn't showing that 16:08:31 hun 16:08:32 hun 16:08:34 huhn 16:08:38 but if we revert the json schema thing, it can be related 16:08:48 #action krotscheck Get Storyboard back to a happy place. 16:09:07 Ok, so that just erged, we should see it going in in about 10 minutes or so 16:09:15 Let’s be patient and move on. 16:09:20 #topic urgent: Auth Tokens validate on truncated tokens 16:09:30 rcarillocruz was working on that, I seem to recall that it merged. 16:09:43 I've done the fix 16:09:49 so now it should work fine 16:09:51 Cool 16:09:56 Moving on 16:10:05 Urgent Items: Working Directory Cron Fail 16:10:16 So this took down storyboard last monday, which required another revert. 16:10:37 I’ve since revisited the issue and altered my approach to generating a working directory space. 16:10:47 So that the cron system won’t even start up if it doesn’t have one. 16:11:02 Patch is here: https://review.openstack.org/#/c/149454/ 16:11:06 And appears to have +4 16:11:15 So we’ll rebase and go from there. 16:11:20 Any other urgent items? 16:11:29 project groups was broken as well 16:11:31 i did a fix 16:11:37 patch? 16:11:45 https://review.openstack.org/150027 16:12:45 Looks good. 16:12:49 * NikitaKonovalov needs to check that 16:13:13 GImme a sec, going to update the agenda with all the urgent items. 16:14:28 #topic Urgent: Why All The Explosions 16:14:57 nice topic :) 16:15:05 i miss an integration test here 16:15:21 something to check how changes in the backend afect to the client, and test if all together work 16:15:22 Ok, server was down twice in two weeks. I don’t feel we need to take drastic action here, but what’s missing going forward? 16:15:23 krotscheck: I guess it's because running SB locally and in production is a bit different 16:15:39 the cron failed due to permissions 16:15:43 NikitaKonovalov: True. That was definitely the case for working directory. 16:15:53 we could not predict it locally 16:16:02 NikitaKonovalov: But even then I could have taken a different approach that made things not take down the rest of the server. 16:16:11 NikitaKonovalov: The validation thing though seems like something we could have done testing for. 16:16:38 krotscheck, problem i see is that we do tests for the features in backend and for the ones in frontend 16:16:41 but nothing together 16:16:46 Right, no gating. 16:17:13 And the integration tests in the frontend don’t really exist. 16:17:36 but even if we do tests in the frontend, we are doing that against the master branch 16:17:39 of the backend 16:17:41 The client gates on the backend. The backend does not gate on the client :/ 16:18:07 a common integration tests run for each feature in the frontend and backend will make sense 16:18:26 if you can come up with an integration tests that uses both, i'd be happy to set up the job to correctly do the zuul git checkouts so that things are tested together in the gate 16:19:16 i can take a look at it this week, what do you think that could be a good approach? 16:19:20 jeblair: We _sortof_ already have it. That’ll take more work. 16:19:41 the client currently installs the backend to run integration tests against it, but that’s only against master. 16:19:52 krotscheck: which job is that? 16:20:39 jeblair: gate-storyboard-webclient-js-test-integration I think 16:20:45 It’s been a year since I et that up though 16:21:16 yolanda: Want to take that on? Gating our components against each other is going to become important. 16:21:19 krotscheck: okay, so probably we just need that job to checkout the zuul refs of both projects then run on changes to both projects; sound right? 16:21:43 krotscheck, jeblair, i'm happy to doit 16:21:48 jeblair: Yep. Right now we use pip though I think. I don’t think it’ll be that simple. 16:22:06 Awesome 16:22:14 re 16:22:17 #action yolanda Figure out how to have our projects gate on each other. 16:22:19 krotscheck, yolanda: yeah, there's a thing called zuul-cloner that does what needs to be done for git trees 16:22:43 jeblair: Wait, so it can clone the gatekeeper and the keymaster? 16:22:55 you do need both 16:23:00 guys, what you think about using a storyboard-dev, and do frequent releases to prod only if everything seems to be stable ? 16:23:16 jeblair, i saw that on the zuul code but never used, sounds like a handy tool 16:23:47 mrmartin: We’re working on that, actually. The puppet module needs to not default to https, and then we can push it. 16:23:54 mrmartin: Want to take a stab at that? 16:24:10 we did something similar for groups portal 16:24:29 krotscheck: you intend to stop deploying production cd? 16:24:55 jeblair: Eventually. Not yet. 16:25:01 the other side, that you really need to do client - server integration test :) 16:25:07 jeblair: Right now we want storyboard-dev so the draft client doesn’t present a security hole. 16:25:38 jeblair: Moving from there to adding versioning seems a sane next step, and then we can talk about To-CD-Or-Not-To-CD 16:26:02 mrmartin: Yes. That 16:26:17 krotscheck: yes, we should talk about it. i would like to continue doing cd. 16:26:33 Ok, we’re going off into the weeds right now. The big thing the recent downtimes have revealed is a need to test the client against the api. 16:26:51 jeblair: I would too. But I acknowledge that some people get scared when versions update. 16:27:24 And yolanda has taken responsibility for that, so unless there’s another urgent item, let’s move on. 16:27:49 Any other urgent items? 16:28:11 we had enough :) 16:28:50 Alllrightey 16:28:54 #topic User Feedback 16:28:59 ANything new other than “It’s broken"? 16:31:00 I'm trying to use storyboard, and my largest pain point are the missing email notifications. 16:31:12 Ok, looks like StoryBoard is healthy again, I was just able to create a story: https://storyboard.openstack.org/#!/story/2000131 16:31:13 but I know it is coming :) 16:31:22 mrmartin: I’ll talk about that in ongoing work :) 16:31:44 ah krotscheck, we did a fix to create stories before the revert 16:31:49 I have a user feedback: There are two yolanda robla’s in storyboard :) 16:31:57 oh yes 16:32:19 I wonder how that would work if there’s more than one john smith 16:32:26 https://storyboard.openstack.org/#!/project_group/58 16:32:48 this page is listing stories not related to project groups 16:33:41 mrmartin: Right, we know about that one. 16:34:00 * krotscheck feels sheeping about not fixing all the client issues :/ 16:34:06 *sheepish 16:34:15 * krotscheck also wants to write javascript again. It’s been so long! 16:34:27 krotscheck: I know that feeling. not. 16:34:31 Ok, so story for my issue: https://storyboard.openstack.org/#!/story/2000132 16:34:57 STory for mrmartin: https://storyboard.openstack.org/#!/story/2000043 16:35:11 Anything else? 16:35:13 and a UX one: when I select a story from group, what is the proper way to navigate back to stories page? 16:35:43 so 16:35:53 again 16:36:07 mrmartin: Back arrow? 16:36:19 krotscheck: gerrit includes email addresses in mouseover text for user links to help disambiguate. (to whatever degree that helps) 16:36:26 When I select a story from a project, how can I navigate back to the project page agian. 16:36:40 yeap, back arrow can be an option. don't you plan to implement some breadcrumbs? 16:36:41 ah, jeblair , i just added the same comment 16:36:54 in my case i think it's same user but different openids 16:37:59 mrmartin: Breadcrumbs are a difficult question when you navigate to a story that can have N>1 projects it’s associated with. 16:38:55 krotscheck: ok, so now when I click on a project link of a task, it displays the inline editor 16:39:11 ah, that's a thing that needed to be solved 16:39:18 I think we want to navigate more often, than edit the project assigned to a task 16:39:33 krotscheck, mrmartin, we talked about it on prev meetings right? 16:39:34 mrmartin: i think there may be a story for that... 16:39:40 yolanda: yes, i think we did 16:39:47 Yep. 16:39:50 ok. 16:39:55 lemme see if i can find it 16:40:02 jeblair filed a story. 16:40:26 krotscheck: there's no "stories i filed" page is there? :) 16:40:41 jeblair: Nope. User feedback? :) 16:40:48 krotscheck: will file a story ;) 16:40:53 :D 16:42:00 Sounds like we have our work cut out for us this week :) 16:42:32 Alright, moving on. 16:42:38 #topic Discussion Topics. 16:42:44 Anyone have something big they want to bring up? 16:42:47 (Agenda is empty) 16:44:14 Alright, weekly update time! 16:44:24 #topic Streaming API 16:44:33 rcarrillocruz isn’t here, moving on. 16:44:41 Neither is jedimike 16:44:47 mrmartin: https://storyboard.openstack.org/#!/story/2000095 16:44:48 let me ping them 16:44:56 #topic Ongoing work (NikitaKonovalov) 16:44:57 mrmartin: also related https://storyboard.openstack.org/#!/story/179 16:45:07 jeblair: thanks. 16:45:10 Ok 16:45:20 I've finally solved a routing issue for tasks 16:45:45 which now allows a client to do something like story.tasks.list() 16:45:47 o/ 16:46:02 Nice! 16:46:03 and get the correct result 16:46:23 I really like how that’s coming together. 16:46:42 https://review.openstack.org/#/c/150052/ this one is for the backednd 16:47:00 and this is the client https://review.openstack.org/#/c/150067/ 16:47:08 Hrmmmm..... 16:47:23 That would break the search API 16:47:36 And the criteria listing. 16:47:39 sohuld not because /tasks still works 16:47:44 Ahhh, gotcha 16:48:20 next steps for me adding comments, timeline to stories in client 16:48:27 then subscriptions 16:48:50 once that is complete I'll switch to CLI 16:49:20 Cool 16:49:32 #topic Ongoing Work (jedimike) 16:49:34 And I guess tags are pretty close to getting merged 16:49:40 Oops, sorry. 16:49:54 Accidentally hit return 16:49:57 that' s all the update actually 16:49:58 #topic Ongoing Work (NikitaKonovalov0 16:50:00 Ok, ok 16:50:05 #topic Ongoing Work (jedimike) 16:50:12 Hey there! How’s life? 16:50:37 I haven't had any time to work on anything but getting our pypimirror and CI working properly again, and I'm back on support again this week, so chances of getting anything done are minimal :( 16:50:49 Alright then, moving on. 16:51:02 #topic Ongoing Work (yolanda) 16:51:37 this is pending from discussion 16:51:38 https://review.openstack.org/137798 16:52:18 Right! 16:52:23 I keep trying to review that. 16:52:59 What usually happens is I look at it and think: There has _got_ to be a better way to do this, and hten I lose myself in research. 16:53:29 i feel i miss a bit on the promises, but i didn't find a better way to do it with the current backend 16:53:49 maybe if we had some backend that returns logged user details and prefs together? 16:54:04 The current user could return a hash of preferences maybe? 16:54:15 * krotscheck isn’t certain he likes that idea. 16:54:18 a hash? 16:54:37 user: {id: foo, preferences: { one: two, three: four}} 16:54:45 Hash. Java terminology. A dict. 16:54:56 i was thinking in md5 :) 16:55:05 yes, i meant that 16:55:18 How do others feel about this? 16:56:44 I guess no real opinions. 16:57:03 +1 for hash 16:57:06 Hash 16:57:08 yolanda: Even so, you run into the issue that the preferences may age out, and you need preferences INSIDE the services API to get the page limit. 16:57:29 And that’s where most caching usually falls down, because we don’t really want to trigger two API calls for every call 16:57:47 add a cache TTL 16:58:01 the way i was doing now is using angular cache, and if i had no cache, i queried again for prefs 16:58:02 mrmartin: We have one. 16:58:28 yolanda: We’ve already got a TTL baked into the angular caching layer, it should be transparent to $resource 16:59:01 do we have a cache invalidate http header in the backend response? 16:59:03 krotscheck, i found the problem in testing, if i had some javascript error on the client for some reason, cache was lost 16:59:19 yolanda: Interesting. 16:59:19 if the user prefs are changed, you can notifiy the client to refetch the user prefs. 16:59:50 We’re running out of time. 16:59:58 mrmartin , and i was manually updating prefs if there was some change, i mean, i was manually updating the user prefs object 17:00:34 Ok, we’ll pick up with pref caching next week. 17:00:37 Thanks everyone! 17:00:40 #endmeeting