Plan | Weekly Sync 2023-05-24 — Transcript
Full transcript
- 0:02all right you're all very welcome to the
- 0:0424th of May plan weekly team meeting
- 0:07uh let's see I got a lot of read-only
- 0:10items today
- 0:12is putting one in at the top but it's
- 0:13read only
- 0:15awesome
- 0:16and I have the first item uh three items
- 0:19down
- 0:21um yeah so I just wanted to highlight
- 0:23this because if you don't know
- 0:26probably the average well probably the
- 0:28the maximum number of release post items
- 0:31I've seen the stage contribute to the
- 0:33release Post in the last sort of five to
- 0:34six months has been six sort of
- 0:38um seemed to be pretty consistently five
- 0:40six every month is ten this month and
- 0:42even then that's if you roll all the AI
- 0:44items into one and consider it as one
- 0:47feature so I don't know why this
- 0:49happened but I just wanted to take a
- 0:51minute like to recognize it and
- 0:53celebrate the win because not only that
- 0:56but one of them one of the items is the
- 0:58top item in the release post we have
- 1:00tons of improvements to work items uh
- 1:02and some pages improvements as well so
- 1:05it's really like a whole cross stage
- 1:07effort like so really really nice so
- 1:10yeah that yourselves on the back
- 1:13take the win
- 1:14we didn't get team day but we got a
- 1:16massive win on the release post so there
- 1:19you go
- 1:19uh my next items read only but like it's
- 1:22if I don't it's been it's an MR that's
- 1:24been open for 24 hours if I don't get
- 1:26any feedback on it I'm gonna just merge
- 1:28it after
- 1:30um the meeting because I think it's
- 1:31probably a positive change
- 1:33uh and we're into demos so do we have
- 1:35Mario
- 1:39yes um hey everyone another demo just uh
- 1:43wanted to share with you all I guess uh
- 1:46that I have been actively working on
- 1:48removing the issue type column uh uh
- 1:51it's a lot of work
- 1:53it's used in everywhere in the
- 1:56application
- 1:57um we're at a point where we already
- 1:59have the work item type ID column in
- 2:02sync uh I fixed about where it was I
- 2:05don't think uh we backfilled again for
- 2:08the incident type
- 2:09so I think we're at a place where where
- 2:11that shouldn't be getting out of sync
- 2:14again we have a method that checks at
- 2:16least with the Callback
- 2:18but anyway
- 2:20um
- 2:20I'm working on removing the last Scopes
- 2:23I guess that's the most delicate part as
- 2:26it can have performance
- 2:28implications uh so all of that is going
- 2:31behind the feature flag at least the
- 2:33Scopes that now join with the issues
- 2:36sorry the work item types table
- 2:38and yep I hope I can I'm already working
- 2:41on an MR with a test where I actually
- 2:43removed the column to see it where it
- 2:46fails uh we are down to 128 jobs failing
- 2:50from 300 so that's good
- 2:53uh so it's just that I just wanted to
- 2:55share that uh at least at the stage
- 2:58level uh we should definitely not use
- 3:01the issue type column for new scopes
- 3:04for new anything we are at a point where
- 3:07soon we'll have to ignore the issue type
- 3:10column and just focus on the work item
- 3:12type ID
- 3:13hopefully in this release 16-1 and then
- 3:17in 16-2 we'll be able to drop the column
- 3:20uh very good hopefully uh so yeah that's
- 3:24it just a heads up so
- 3:27you can share as much as you can that um
- 3:30and that that we shouldn't use that
- 3:32column uh I have played some pieces of
- 3:36code that will safeguard the usage of
- 3:39the column in some places but there are
- 3:41some where I can't I would have to write
- 3:44uh I guess database callbacks and things
- 3:47like that procedures to to prevent it so
- 3:50so just that just so everyone is aware
- 3:54that's it
- 4:03that's pretty awesome thank you Maria
- 4:06for working on this
- 4:14okay I have the next item so this was uh
- 4:17shared a couple of plan meetings ago
- 4:19where we were considering to use uh
- 4:21fine-grained mutations to update certain
- 4:24aspects of work item rather than using
- 4:26uh work item update as a single mutation
- 4:30to do the changes earlier it was a
- 4:32performance problem that work item
- 4:34update mutation was slower because it
- 4:36was doing a lot of validations but now
- 4:38we have ran into permission issue as
- 4:40well so we noticed it for with Emojis
- 4:43first but turns out it is impacting
- 4:45notifications and to Do's as well so if
- 4:48you if you know uh you can visit an
- 4:51issue or an MR or an epic and react with
- 4:54an emoji even if you are not a member of
- 4:56that group or a project similarly you
- 4:58can add those items in your to-do's as
- 5:00well and you can turn on notifications
- 5:02from the sidebar for these objects as
- 5:04well in case of work items you cannot do
- 5:07it unless you are a reporter on that
- 5:09project which which means that even if
- 5:12you are a guest user for that project
- 5:14you'll not be able to do it so for now
- 5:16we are able to fix it at least for
- 5:18emojis because we have a mutation
- 5:20available which is more of a generic
- 5:21mutation around emojis so we can fix it
- 5:25for emojis where anyone as long as they
- 5:27can see that work item they can add an
- 5:28emoji reaction but notifications and
- 5:31to-do's still do not work so we would
- 5:34either need to determine whether we want
- 5:36a consistency across work items and
- 5:38issues and Mrs and if we want that
- 5:41consistency we would need to create
- 5:42dedicated mutations for it which are
- 5:44much more permissible and do not require
- 5:46any kind of permission check and just as
- 5:49long as user is logged in they can
- 5:51either add it to do for that work item
- 5:53or turn on notifications so we have had
- 5:56some participation in the discussion
- 5:58issue I'm looking for more inputs
- 6:01especially now that we have two use
- 6:03cases around this entire problem
- 6:04performance as well as permissions
- 6:06feel free to chime in and discuss async
- 6:09and we can move on to next item unless
- 6:12anyone wants to voice their opinion
- 6:13within the call themselves
- 6:32it's a quick thing
- 6:35um basically we also have
- 6:37um individual mutations to perform the
- 6:41notifications and the to do with the old
- 6:45one action
- 6:46and the reason we're not proposing to
- 6:48use it is because there's still um we
- 6:51haven't agreed that we can divert from
- 6:53using the main update mutation so if we
- 6:57agree that we can make exceptions
- 6:59assumptions that we can just fix these
- 7:02three problems with um changing the
- 7:05queries we use in the front end and we
- 7:07haven't agreed and I think this is
- 7:10something we should agree is the whole
- 7:12team because it
- 7:14there might be more reasons where new
- 7:16widgets will require different
- 7:19um different permissions and and the
- 7:22base permission for this mutation is
- 7:24update and work item and so if we want
- 7:28to include any widget inside the
- 7:30mutation that requires less than
- 7:32updating the whole item and that
- 7:35wouldn't work either so we would have to
- 7:38agree that using individual mutations
- 7:41for some Widgets or
- 7:44um change in the way we perform
- 7:47permissions in the update mutation
- 7:56I I kind of thought we already made the
- 7:59decision on this that that
- 8:01um
- 8:01when we can use the big one we do but
- 8:03when we need something specific there's
- 8:05not a problem with that
- 8:07particularly for performance or
- 8:09permission reasons or anything like that
- 8:10so
- 8:12um
- 8:12yeah
- 8:14I would say go ahead
- 8:15of course on that uh I I mean I did get
- 8:19involved a little bit on the issue
- 8:21discussion I think that yeah we can all
- 8:23agree that separate limitation is
- 8:26fine I think we have discussed that in
- 8:28the past two I I think that more
- 8:30important than that was uh if we should
- 8:32always use the update service for for
- 8:35this as a as a place where we always do
- 8:38updates on a work item and I do think
- 8:40that's important uh I mean I've seen it
- 8:44in the past in one of my changes where I
- 8:48change something directly then just to
- 8:51realize that we were in Grid and system
- 8:53notes and sending notifications and
- 8:55things like that so that's something the
- 8:57the update service always takes care of
- 8:59and I know this was also part of the
- 9:01discussion the update service can be
- 9:03slow uh so maybe what we should be
- 9:06working on is on making it faster uh
- 9:09Henrik raised an issue where
- 9:12one of the low is lowest parts of it is
- 9:14update services that we always fetch old
- 9:17labels and probably lots of them so
- 9:20maybe we can work on improvements on
- 9:24those things probably we shouldn't fetch
- 9:26labels if we're not going to update them
- 9:28so a simple check on the params where we
- 9:31don't if the params don't include label
- 9:34updates then don't fetch the old one
- 9:36something like that so I still agree
- 9:39that we should be using the update
- 9:40service
- 9:41but yeah smaller mutations should be
- 9:44fine too
- 9:51yeah I guess in in that case we can go
- 9:53ahead and open tracking issues to fix
- 9:55notifications and to do so work items
- 9:57and start using new mutations assuming
- 10:00that the mutations which are already
- 10:01available are compatible with work items
- 10:03just like Emoji one had yep thanks a lot
- 10:11what are we saying that
- 10:13individual mutations
- 10:15sometimes Miss system notes and to do's
- 10:21I mean if you write an individual
- 10:24mutation that for example uh changes the
- 10:26notification status directly so you call
- 10:30something like work at the word item
- 10:32update notification status I don't know
- 10:34the name of the method so then you are
- 10:36not using the work item update service
- 10:38that does a lot of checks we even do
- 10:41permission checks I mean on the policies
- 10:43and this is something that was also
- 10:45raised before for the each use create
- 10:47service for example uh so in general I
- 10:50think we should use the services for for
- 10:53many things also sometimes we fix
- 10:55something that we find a bug or a
- 10:58regression and if we use the services
- 11:00there is a single place where we can fix
- 11:02it Opposite to we don't know and where
- 11:06in what mutations we are updating
- 11:09something and yeah I mean having the the
- 11:13services uh like a single point of
- 11:17shipping.logic
- 11:22and we can also think about improving
- 11:24the update service I was thinking that
- 11:26maybe we could even change the update
- 11:28mutation uh the update work item
- 11:30mutation to not check the
- 11:33the permission then the but then we have
- 11:36the the service check
- 11:38uh I mean do permission checks on some
- 11:40of the attributes this is something we
- 11:42already do for for issues in some places
- 11:44uh I know for the YouTube type we check
- 11:47if the user can create a certain issue
- 11:50type and if not we default to the
- 11:52default issue type things like that and
- 11:54that those are things that the service
- 11:56handles
- 11:57so I can imagine with the the framework
- 12:00we already have for widgets I mean we
- 12:02can probably uh place this permission
- 12:05check at the widget service something
- 12:07like that and then not check uh do a
- 12:11general update work item check on the
- 12:13mutation
- 12:15but but yeah I mean I guess to to fix
- 12:18what you were saying kushala I think
- 12:20that the best way is definitely to just
- 12:22create two new mutations now and
- 12:27if possible use the service
- 12:30foreign
- 12:36because we don't show system notes if
- 12:39someone subscribed to a work item update
- 12:41via notifications or added to to-do's
- 12:43but yeah in as we enter we start
- 12:46introducing new widgets we may have to
- 12:49re-consider that and think of creating
- 12:52new mutations
- 13:15okay so is the request here for feedback
- 13:17on that issue
- 13:19no I think uh it was short discussion
- 13:22and we have decided a way forward so I
- 13:25think that's okay
- 13:28cool okay
- 13:33okay
- 13:34is that documented
- 13:37anywhere
- 13:40we should document it in uh either in
- 13:42the park items blueprint or yeah I think
- 13:45so the documentation yeah I think it's
- 13:47worth updating work items blueprint for
- 13:49this
- 13:50in fact these all these three widgets
- 13:53are missing and I have a to-do for this
- 13:55where I'll be updating work items
- 13:57blueprint to add these three widgets
- 14:00that we have introduced
- 14:03by doing this update yeah yeah I'll
- 14:06include the all of it as well okay
- 14:09awesome thank you
- 14:11I I think the decision to to sometimes
- 14:15use a global mutation versus individual
- 14:18ones I think that should actually be
- 14:20more of a general
- 14:22graphql decision not just a work items
- 14:25decision that's that's something that
- 14:27it's not work item specific
- 14:31we had a discussion about it I think
- 14:33around a year and a half ago and general
- 14:36decision was opt for fine-grained
- 14:39mutations whenever possible a work item
- 14:42we have a little bit different
- 14:43architecture so course create
- 14:45implementation made more sense from the
- 14:46start
- 14:47and we just diverted from the Disco
- 14:49performance reasons which are obviously
- 14:52important but overall if I recall
- 14:54correctly we decided applying great
- 14:56mutations
- 14:58we decided fine green mutations
- 15:02really
- 15:04yes exactly we had one huge course great
- 15:08uh course grade limitations was for
- 15:09issue of update issue and it did those a
- 15:13few performance problems back in times
- 15:14and it was very different from Omar but
- 15:17let's check a little off top sorry
- 15:22yeah and I think this is actually
- 15:24documented at the graphql level I mean
- 15:27the usage of fine grained I'm trying to
- 15:29find it
- 15:32empty
- 15:34well the documentation of graphql says
- 15:36it's acceptable to have both fine and
- 15:38color screen mutations
- 15:40but to be careful that too many finer
- 15:43invitations can lead to beneficial
- 15:45challenges
- 15:47yep
- 15:49that's what the graphql in general
- 15:51documentation says
- 15:53yeah I do remember the conversation
- 15:56um that I think you're talking about
- 15:57that I think it wasn't slack and I
- 16:00wonder if we ever
- 16:01updated it or if the update that Mario
- 16:05was talking about was
- 16:07from before that discussion I think
- 16:10that's for you from before
- 16:15and we'll never know if it wasn't Slack
- 16:22I don't remember but I do remember the
- 16:24outcome of the discussion being uh me
- 16:27creating a mutation to step update
- 16:30widgets that in the end I had to revert
- 16:32uh
- 16:34but yeah I I remember it being uh we
- 16:36prefer finder invitations at least when
- 16:40we started working on work items
- 16:43then then why are we diverted on this
- 16:45then why is this why because not using
- 16:48fine grain here because we have very
- 16:51different front-end architecture on the
- 16:53work item comparing to other
- 16:54applications and we are having
- 16:56fine-grained queries and most
- 16:58applications while work item has a core
- 17:00screen query on the root so updated work
- 17:02item in general was the easiest way for
- 17:05front-end to handle honestly we don't
- 17:08need to do any manual updates for the
- 17:09front end but again there are
- 17:11performance reasons why we start the
- 17:13version from it
- 17:16I think another which we're seeing now
- 17:19as well
- 17:20I think that it should really depends by
- 17:24case because
- 17:26or some attributes or widgets it makes
- 17:28sense to have them as part of a generic
- 17:31update mutation if you need atomicity
- 17:36for example I started with Hera he
- 17:39repeated as the first one and I had to
- 17:43opt uh I I had to choose the generic
- 17:46update notation simply because there are
- 17:49use cases when you need to set the
- 17:51parent when you create create a
- 17:56or kython yeah so you cannot first
- 17:59create work item and then try to set
- 18:02some attribute a parent attribute on it
- 18:04you need to do it together so
- 18:08depending whether widget needs atomicity
- 18:11if for example create action or update
- 18:14action it might also be reason better to
- 18:17use the same motivation or separate one
- 18:29uh so it sounds like any documentation
- 18:32updates going to be more complex than
- 18:34just recommend them one or the other so
- 18:37um Kershaw maybe do you want to make a
- 18:39proposal and then copy everyone in to
- 18:42make edits on it because it's like
- 18:44possible that we shouldn't recommend one
- 18:45or the other but specifically for work
- 18:47items give examples of when you might
- 18:49choose one over the other and then like
- 18:53Natalia if you want to weigh in with
- 18:54performance concerns
- 18:56like if any of the guidance is pushing
- 18:58people in one or other direction like uh
- 19:02you know weigh in with concerns on
- 19:05you know why we should favor one of the
- 19:06other in certain circumstances and we
- 19:08should get to something roughly
- 19:10uh that everyone can agree with right
- 19:24right cool looking forward to that Mr
- 19:27cheers
- 19:29uh next one's for me so we had this
- 19:31discussion two weeks ago about Mr
- 19:34reversions and I took a lot of feedback
- 19:36in this meeting and I'm thankful for it
- 19:39uh I have thought about it a lot and I
- 19:41think like measuring Mr reversions
- 19:44even if they're like it does have some
- 19:46positive aspects like the negative ones
- 19:49are just too kind of deceptive it's not
- 19:52something like it gives us information
- 19:53to know how many Mrs are being reverted
- 19:56but I kind of agree with the critical
- 19:58feedback that
- 19:59um it's not necessarily something that
- 20:01is good or bad and there may be a
- 20:03certain amount that's
- 20:05optimal that is not zero right like in
- 20:09some cases it's the right thing to do
- 20:10and so on so instead of targeting Mr
- 20:13reversions for efficiency like I think a
- 20:15better thing would be to try and address
- 20:17some of the
- 20:19like outcomes of certain times when we
- 20:22were Mrs and the two I'm going after are
- 20:25first of all
- 20:27um regressions that cause usability
- 20:29issues or just broken features uh to
- 20:33have some kind of lightweight RCA
- 20:35process
- 20:36um that and I mean lightweight I don't
- 20:40mean an fcl where we like block the team
- 20:42for five days for every single little
- 20:43thing that goes wrong but just to try
- 20:45and learn something from every time we
- 20:47break something for customers like would
- 20:48be enough for me I think we could trial
- 20:51something for two to three months uh see
- 20:53if it has an effect
- 20:55um
- 20:56you know like if we're I don't know what
- 20:57I had a quick look through our backlog
- 20:59and we generate maybe one regression per
- 21:02month at least assuming we're following
- 21:04the process of labeling them correctly
- 21:05so this shouldn't be like a huge deal
- 21:08but it should like if we get it right
- 21:10reduce the amount of uh breakages we're
- 21:12delivering to customers which would be
- 21:14nice
- 21:16um and then we can try for a couple of
- 21:17months and if it's really a terrible
- 21:18experience and it doesn't do anything we
- 21:20can scrap it but if there are
- 21:22improvements to make we can make those
- 21:24as well and then the second one is
- 21:27reducing time spent in broken Master you
- 21:30may like see some charts not gonna run
- 21:33that are fairly new from the engineering
- 21:35productivity team uh this month there
- 21:38was an issue with
- 21:41um
- 21:42I think it was I think it was pipeline
- 21:44stability so if you just look at like
- 21:46the last months uh the contribution of
- 21:49flaky tests is very low but on every any
- 21:52uh given month
- 21:55um they make up fifty percent of broken
- 21:57master and
- 21:5925 percent I think of those are
- 22:03flaky tests related to plan it's not
- 22:06something that anyone's done wrong I
- 22:08think just the product area that we have
- 22:10is maybe difficult to test or maybe it's
- 22:13been a resourcing thing over the years
- 22:15whatever but like we all know what
- 22:18broken Master does right like you can't
- 22:20merge anything while it's broken and if
- 22:22you see the number of times that it's
- 22:23broken each week like it really feels
- 22:26like something we could be improving as
- 22:27a company so I'm not really sure how to
- 22:30tackle this yet I don't want to load
- 22:32teams with
- 22:33um feature spec fixes I just want to
- 22:36know like
- 22:37other tests that we can quarantine
- 22:40are there things that we can do can we
- 22:42rally some support from other teams
- 22:44maybe to help us like clean up some of
- 22:47the tests that are are breaking in our
- 22:49product areas so if you have any ideas
- 22:51please like weigh in on this KR because
- 22:54currently
- 22:55I'm a little short of ideas on how to
- 22:57improve this one I just know it's
- 22:59something we probably should so yeah so
- 23:02you're very welcome to feedback on
- 23:04either KR and in particular I'm looking
- 23:06for suggestions from people who like
- 23:08work on the code every day and
- 23:11um can help to like in the end of the
- 23:13day like these are
- 23:15hopefully going to make everyone's lives
- 23:17a bit easier like if you don't have to
- 23:20deal with like reverting Mrs or you
- 23:22don't have to deal with broken Master as
- 23:24much like hopefully it's a little bit of
- 23:25a nicer development experience
- 23:27so yeah give me your thoughts and if you
- 23:29have any and I like I'd love to hear
- 23:30them as well
- 23:41um in the Periscope is there any good
- 23:43list of flaky tests related to plan
- 23:46and the fixes that we can go through
- 23:48easily because I think this is what we
- 23:51probably need to do like go for every
- 23:52fix and see like what happened but then
- 23:54maybe categorize it like throw it into
- 23:57AI that's what they do now and then
- 23:58categorize it
- 24:00so if you look at a subgroup specific
- 24:02triage issues you'll be able to find a
- 24:05lot of those flaky uh failure related
- 24:07issues uh I mean I think the triage
- 24:11report is created on weekly basis uh I I
- 24:14can maybe find a link to one of the
- 24:17recent issues from product planning and
- 24:19it will have a few of those flaky tests
- 24:21the thing is that most of those flaky
- 24:22tests are already quarantined and some
- 24:25of those are like very hard to reproduce
- 24:27consistently so that you'll be able to
- 24:29find and actually fix that failing test
- 24:31and that's the nature of flaky test that
- 24:33they don't always fail and don't always
- 24:35pass
- 24:40yeah there's also a classification there
- 24:43as well
- 24:44um
- 24:45things like unreliable Dom selector
- 24:48right so a lot of these are kind of
- 24:51already classified so if a certain class
- 24:54of these are going to be easy to fix
- 24:56like unreliable Dom selectors probably
- 24:58hard to reproduce but quite easy to fix
- 25:01I would imagine so
- 25:03um like if we can come up with something
- 25:05then all the better you know like it's a
- 25:07classifying kind of um find the ones
- 25:10that are that are kind of easily dealt
- 25:12with
- 25:16and one more question about the 20
- 25:19um
- 25:20how much of the tests are based on plan
- 25:22because like are we just a statistical
- 25:24outlier or because or because we write
- 25:26the most tests
- 25:30maybe that's that's a great question and
- 25:33exactly why I caveated with
- 25:36um that it wasn't necessarily something
- 25:38that we've done wrong it could be
- 25:40something we're doing right but
- 25:42nevertheless like nobody else is going
- 25:44to fix them so well I don't know maybe
- 25:46maybe somebody else will fix them if we
- 25:48could rally some support or something
- 25:49but I think first of all like we I just
- 25:52need to understand more about what's
- 25:54going on here and why so many of them
- 25:56are attributable to our stage
- 26:03just a note on that uh last week I
- 26:06reviewed some Mrs on an effort I'm not
- 26:09sure what the team is but they are
- 26:12working on trying to fix flaky specs uh
- 26:15so one thing they did is to wait for a
- 26:18request on on methods like click button
- 26:20click link and they actually reduce the
- 26:23copy wire timeout so
- 26:26so we might actually see an improvement
- 26:28uh
- 26:29the next couple of weeks or we might not
- 26:32really be seeing it not sure if anything
- 26:34has changed since last week
- 26:50or if you wouldn't mind um could you
- 26:52leave that in a comment on the KR phone
- 26:56yes I'll paste uh a link to the Mrs
- 27:02awesome man thank you
- 27:16we started with three read-only items
- 27:19and we finished with the read-only item
- 27:21I don't know if we should be verbalizing
- 27:23these or not so uh but please go ahead
- 27:26and read them I'm gonna stop the
- 27:28recording anyone who wants to stay on is
- 27:30welcome to do so we did uh I mentioned
- 27:33above though like there is a proposal to
- 27:34turn this into a social call if there is
- 27:36no agenda don't know if that also means
- 27:39we finish the agenda early but
About this transcript
This page contains the full transcript of Plan | Weekly Sync 2023-05-24 by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 4,163 words across 632 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.