Nick & Gabe discuss work item status widget behavior with a requirement's test report — Transcript
Full transcript
- 0:00for other people
- 0:02so we are talking about uh
- 0:07this comment here
- 0:10um
- 0:12where there is this uh
- 0:15desire to have a kind of generic workout
- 0:17of status widget that can be used by
- 0:19different types like
- 0:20um
- 0:22and recently we renamed verification
- 0:25status as status isn't going to do that
- 0:27and I totally agree with Melissa's
- 0:30desire to build something that's more
- 0:31broadly useful for work items
- 0:33but here's sort of the the pickle that
- 0:37I've been thinking about with this
- 0:38um is it when you think about sort of
- 0:40this goal of having these different
- 0:42kind of state buckets to denote if
- 0:45something is actually done or not if
- 0:47it's active or inactive
- 0:49as we've sort of uh worked through this
- 0:51and also heard from Matthew and Dan that
- 0:53like requirements can have different
- 0:55like sort of workflow statuses about uh
- 0:58what the progress of them
- 1:01um we sort of end up with this kind of
- 1:02interesting thing where if we look at uh
- 1:05what what what how behaves today there's
- 1:07a unit test
- 1:09right that contains uh some sort of link
- 1:12to the requirement maybe in the title or
- 1:13whatever which gets run in a job which
- 1:16gets around as part of a pipeline which
- 1:18then generates the test report the test
- 1:20report gets uploaded is in our Json
- 1:22artifact or apartment.json file
- 1:25which then uh kind of surfaces the
- 1:28status the current status of uh
- 1:31satisfied failed unverified
- 1:34here in the requirement
- 1:37um the challenge with this when you
- 1:38think about this looking at
- 1:40um
- 1:41how we would map these to the different
- 1:43buckets
- 1:46um
- 1:47like if you think about the requirement
- 1:49it might also be let's say if it's in
- 1:52draft
- 1:54right uh what were the other stats that
- 1:56Melissa said down here
- 1:59I would say interview accepted by client
- 2:02um
- 2:05in review
- 2:09accepted by client
- 2:17so it's hard to tell like uh which
- 2:19buckets these fall in right I think in
- 2:21review would be definitely active
- 2:24drafts would sort of be
- 2:28uh maybe if it's actively being drafted
- 2:31in the active bucket too
- 2:34um but while these different statuses
- 2:37are true of the requirement it's like
- 2:38kind of life cycle
- 2:40at the same time
- 2:42um it would be unverified until the
- 2:45pipelines run and the test report kind
- 2:47of generates stuff
- 2:49and then if it does get generated
- 2:53um you could say like satisfied
- 2:55and passive exception are completed
- 2:58uh but sort of like what happens if it
- 3:01then fails at some point in a later
- 3:04pipeline
- 3:05where do you put the failed which bucket
- 3:07do you put it in is it in uh inactive
- 3:10well it could be failed and not being
- 3:12worked on to correct it could be failed
- 3:16and
- 3:17working on to fix this right
- 3:20so it's like not clear how to bucket the
- 3:23output from the test report cleanly into
- 3:26the buckets for the different statuses
- 3:28and then reconciling those with sort of
- 3:32the uh workflow statuses on a
- 3:35requirement
- 3:36um
- 3:37and the other thing to think about is
- 3:39that like in this sort of
- 3:41uh kind of flow
- 3:44um this all like everything to the left
- 3:46of requirement is the test report I
- 3:50would just call it a test report
- 3:52and so if we think about how this is
- 3:54going to work and we want to have like a
- 3:56generic status which is that all workers
- 3:57can work work with
- 4:01um you almost need to have it be
- 4:03uh
- 4:05a separate widget
- 4:08from the test report
- 4:10because it's impossible to know if
- 4:13uh what the actual status is of the
- 4:16requirement itself in terms of its
- 4:20is somebody working on or not is it
- 4:22actually being worked on or not
- 4:24um
- 4:25and so this would sort of let you have
- 4:27your own
- 4:28uh I would even call this status with
- 4:31the test report it's just a state almost
- 4:33like uh because these things don't
- 4:35really change and you can't really
- 4:37change them
- 4:38unless the code passes either the
- 4:42pipeline is never run against a
- 4:44requirement in which case it's
- 4:45unverified it still could be work B
- 4:48being worked on but the merge request
- 4:50hasn't been put up yet so it's going to
- 4:52be unverified
- 4:53and then at some point when maybe it's
- 4:55in review is when the pipelines start
- 4:57running
- 4:59um it could even be put into
- 5:02A Satisfied state
- 5:04uh before it gets accepted by a client
- 5:08right so I don't know if a client would
- 5:10accept it until
- 5:12the test I guess the the tests are
- 5:14saying that it's satisfied
- 5:16so that's sort of where I was thinking I
- 5:19don't know if you agree with me the only
- 5:21way to like sort of cleanly solve this
- 5:23is to have
- 5:24your
- 5:25test report be a separate widget
- 5:28right and then what we can do and this
- 5:30is the if you think about like from a
- 5:32value standpoint
- 5:34this is all the stuff that is an
- 5:36ultimate which is tying a work out into
- 5:38a test a bit basically a pipeline job
- 5:41test report uh and separating that would
- 5:45make it clean to kind of package this up
- 5:47and then the stats widget is sort of a
- 5:48separate thing but if this is sort of
- 5:50available then certificate and figure
- 5:52out how they want to map any sort of
- 5:54like automations
- 5:56that happened between the test report
- 5:58widget and how that transitions the
- 6:01status widget
- 6:03um
- 6:04I also think in the future Nick and I
- 6:06are uh we're talking about like right
- 6:08now I think this is a one-to-one
- 6:10behavior
- 6:12um
- 6:13but you might have lots of different
- 6:15unit tests
- 6:17um
- 6:18that I'll need to pass a unit test
- 6:22two
- 6:26uh and then you might have a unit test
- 6:29free it gets mapped to a job that gets
- 6:31executing your job and maybe all of
- 6:34these are linked to the same requirement
- 6:37um and in order for that requirement to
- 6:38be satisfied all three of these you need
- 6:40to be passed and I imagine at some point
- 6:42a customer gonna ask for can I see test
- 6:45reports breakdown or status or test runs
- 6:48or whatever in a little widget in a
- 6:51requirement itself
- 6:53so that's almost like we're thinking a
- 6:55little bit ahead
- 6:57um we might want to have a test report
- 7:00widget
- 7:01that has these unverified satisfied past
- 7:05failed
- 7:06and decouple that from the like life
- 7:09cycle of
- 7:10uh the uh requirement might go through
- 7:13because if it's failed it might we might
- 7:16trigger that to transition into some
- 7:18other status right that would then do
- 7:20something but it it doesn't seem like
- 7:23it's lining up well to like smash these
- 7:26things these two things together into
- 7:28one thing
- 7:29at least from like uh
- 7:31generalization standpoint do you have
- 7:33any thoughts on that Nick
- 7:36yeah I mean I I think I initially was
- 7:38thinking of this in the more linear flow
- 7:40but
- 7:42I think if it's true that something
- 7:43could be satisfied while it's in review
- 7:45I mean then that automatically kind of
- 7:48uh
- 7:50makes it hard to to do because you'd
- 7:52have two simultaneous statuses and one
- 7:56would have to win but then you kind of
- 7:58don't have a lot of clarity uh and I
- 8:00don't really want to end up in a
- 8:01situation where we're doing like sub
- 8:03steps or something like interview
- 8:05satisfied or something like that like as
- 8:07a parenthesis like I would probably
- 8:09rather keep these separate if that's not
- 8:12a consideration like that we have to the
- 8:15thing about like
- 8:16you know what you'd end up having to do
- 8:18I think would be
- 8:19to use essentially automation
- 8:22to make that work in a generalizable way
- 8:26right like because other work items
- 8:28aren't going to have test reports so
- 8:29you'd have to basically create like a
- 8:30generic
- 8:31automation capability and then create a
- 8:34rule for just requirements that is tied
- 8:38to the test report which
- 8:41I don't know I mean we want to do stuff
- 8:42like that eventually but I don't know if
- 8:44that's more complicated than than this
- 8:47sort of Route
- 8:48um where where you can just kind of
- 8:50utilize this on its own I mean we do
- 8:53know we talked just this morning with
- 8:54the customer that basically I think
- 8:56talked through that use case if I want
- 8:58to see everything down from the story
- 9:00down to the requirements down to the the
- 9:03individual tests that were run
- 9:05against those requirements
- 9:08um you know and and even to the kind of
- 9:10environment level for those tests so I I
- 9:13mean yeah that that request is uh not
- 9:17just forthcoming but already already
- 9:19something we're hearing
- 9:20um well the other interesting challenge
- 9:22about this speaking to that uh
- 9:25is that if you think about how pipelines
- 9:28and all that stuff actually work
- 9:30um
- 9:31it's not really clean right like you
- 9:34have I mean it's clean how they work but
- 9:35in this scenario
- 9:37um and this is what is typical git lab
- 9:40today uh you might have all this
- 9:43happening simultaneously where you have
- 9:46uh free feature branches or two feature
- 9:49branches a main branch
- 9:52when we run a pipeline
- 9:54um we run it against the branch usually
- 9:56uh and so you might link to a
- 9:59requirement in your future branch and it
- 10:02passes there but then when you merge
- 10:05feature Branch into your main branch uh
- 10:08it fails right uh you could also a
- 10:11requirement could fail in a certain
- 10:13environment like environment a and
- 10:15staging it might pass in environment B
- 10:17like during deploys because the
- 10:19pipelines also run during deploys which
- 10:21say I think generally run all the tests
- 10:23and test Suites as part of that as well
- 10:25so you get this sort of like complex
- 10:26like there's lots of places where it
- 10:29could pass and fail
- 10:31uh depending on which environment set
- 10:33it's on and like right now I think the
- 10:35workaround is you only set your your
- 10:38requirements verification to happen when
- 10:41you merge a feature branch and domain
- 10:43and that's something you could do but it
- 10:44also does get a little bit complicated
- 10:46even within when you do that
- 10:48um like in gitlab for example our deploy
- 10:52pipeline pushes things to staging and I
- 10:55think it pushes things to Canary and I
- 10:57think it pushes things to production
- 11:00uh and you almost need to know if it
- 11:03does fail uh in which environment does
- 11:06it fail
- 11:07or is it currently failing
- 11:09right
- 11:10um and there's also use cases today
- 11:12where the past with exception is where
- 11:14they'll quarantine Engineers will
- 11:16quarantine the flaky tests because
- 11:18something's wrong with the test not
- 11:19necessarily with the code and so they're
- 11:21basically saying it's fine if we don't
- 11:23run this test right now uh we're willing
- 11:25to take the risk so we're just not going
- 11:27to run it
- 11:28right which then would have implications
- 11:30also on things like this I think it's
- 11:33all stuff for the certified team to
- 11:34figure out but it does feel
- 11:37like you we just can't like
- 11:39do all that smash it all together
- 11:42is there so so in that environment right
- 11:45like you go through your workflow your
- 11:47workflow basically ends at accepted
- 11:50um meaning that this requirement is
- 11:53now in a usable State
- 11:55um and it would never like there'd never
- 11:59really be a
- 12:00completed
- 12:02status right or like or would we
- 12:06somehow mirror the
- 12:08verification status in the in the
- 12:12workflow status because that's where I
- 12:13could see that getting kind of
- 12:15confusing I mean I think accepted by
- 12:17comment where I'd say would be completed
- 12:18your requirement is accepted by the
- 12:21client which means it's completed and
- 12:22done they've accepted it
- 12:25um but even after it's been accepted by
- 12:27the client
- 12:28it could fail in a future
- 12:30at a future point in time if the code
- 12:32changes
- 12:34at which point it
- 12:36would you automatically move this to
- 12:40like would it no longer be it would have
- 12:42to be like sort of kick it back into
- 12:44this a new workflow of
- 12:46okay this whatever the intake is for
- 12:49this uh you know triage
- 12:52uh and then it would have to kick this
- 12:54back into whatever an inactive state was
- 12:56and then an engineer would pick it up
- 12:58Triage it fix it it would go through
- 13:00they don't have to get accepted again
- 13:01because it's passing you know
- 13:06um
- 13:10yeah I don't know what necessarily to do
- 13:14yeah I mean that's mostly a question of
- 13:16him like
- 13:17I understand the only features that
- 13:19you're looking at the list you're
- 13:19looking at boards you're looking at like
- 13:21stuff to do
- 13:22you know most likely you're probably
- 13:25filtering out some of your requirements
- 13:27and things unless that's what you are
- 13:28are looking for but
- 13:31um you know how do you
- 13:33how do you find those uh things that
- 13:36need attention and if it's if you're
- 13:38just filtering out things that are
- 13:40um
- 13:41let's say like you're filtering for
- 13:42things that are in like an active State
- 13:43like things to work on uh if it's
- 13:46completed in that sense but it's failed
- 13:49like you wouldn't necessarily see it
- 13:52um I don't know like there's obviously
- 13:54ways around that you'd create different
- 13:55views and things like that to get to to
- 13:57requirements that are
- 13:59um failing based on that status or
- 14:01something like that but
- 14:03um
- 14:04that is just kind of a Nuance of the
- 14:07different items getting potentially
- 14:08mixed together
- 14:10um
- 14:12I mean this kind of makes sense I think
- 14:13in this model like if you think about
- 14:14this from like a widget perspective like
- 14:17this would
- 14:18probably at least as I'm thinking about
- 14:21it and again I think you know something
- 14:22for the certified team to to figure out
- 14:24would be
- 14:26um a verification or like test Report
- 14:30app um where you could basically like
- 14:32app in the sense of you know we have
- 14:34like the attribute widgets which are
- 14:35generally like your iterations it's like
- 14:37a single thing and if we only cared
- 14:39about you know verified unverified it
- 14:42could be an attribute but if we if we
- 14:44expect to
- 14:46um want to be able to list out like what
- 14:49environments and where and what test
- 14:50cases and things like that in the future
- 14:54um you could build that like a little
- 14:55bit more robustly probably as something
- 14:57like an app um another example of an app
- 14:59would be like related links or something
- 15:02like that um or tasks even on on like an
- 15:05issue
- 15:06um so you can use something like that
- 15:07and kind of bubble that up and then
- 15:09still bubble that up to the
- 15:12um
- 15:13you know metadata that's used in other
- 15:15places uh because I assume if you
- 15:19you know wherever looking at a
- 15:20requirement in a list view or something
- 15:21you'd still want to see you know what
- 15:23the main stat like verification status
- 15:25of that would be
- 15:27um it's not really a use case that we
- 15:29have I mean this will be the first time
- 15:30I think we're doing that on the work
- 15:31item so some stuff to be figured out
- 15:33there but
- 15:35um that's kind of how I envisioned some
- 15:37of that stuff working
- 15:39yeah the other thing I think is
- 15:41interesting about this too and if you
- 15:44think about not just a test Report app
- 15:46but
- 15:47a lot of times when I'm looking at an
- 15:50issue to see if I can review it I want
- 15:52to know
- 15:54oh I didn't see the merge requests but I
- 15:56can't see which environment they're in
- 15:57like if they're in the deploy process
- 16:00where I have to go to test it if it's
- 16:02ready
- 16:04um
- 16:04and and more or less like some of this
- 16:06more metadata about it and I'm wondering
- 16:09if there's a way to make this even a
- 16:11little bit more generic instead of just
- 16:12a test Report app
- 16:14it sort of gives you like your current
- 16:17status of
- 16:18where where your issue is in terms of
- 16:21environments
- 16:22uh pipeline statuses and that sort of
- 16:25thing because there's also I can't
- 16:27remember I don't have it open right now
- 16:29there was an ask to be able to associate
- 16:31a pipeline directly to a work item of
- 16:35type test case
- 16:36or test session I think is what it was
- 16:38so that when your tests are running you
- 16:41see which pipeline they're running in uh
- 16:44and then you can click into that
- 16:45pipeline today and go look at like the
- 16:46test reports I guess is the use case
- 16:48there but it's sort of
- 16:51this is really just tying in all this
- 16:53information
- 16:54uh into a specific work item where the
- 16:59relationship is driven by the work item
- 17:01id being associated to
- 17:03I guess one of the the unit tests
- 17:06I definitely think something that for
- 17:07certified think about but it also opens
- 17:09up the door if you do think about a
- 17:11little bit more generically for a lot of
- 17:12cool
- 17:13uh integration of like Downstream devops
- 17:16data into work items
- 17:21anything else to add for that
- 17:23advising stop recording and go on that
- 17:25other stuff on the agenda
- 17:27uh uh no I don't think so
- 17:30um this is all pretty new functionality
- 17:31to me so it's uh enlightening to learn
- 17:35about it but also sort of map it back to
- 17:37the to the work items and
- 17:39um
- 17:40kind of how we can make that more
- 17:42appropriately reusable but also not like
- 17:45uh where it needs to be kind of more
- 17:48specific in some cases yeah
- 17:51okay cool
About this transcript
This page contains the full transcript of Nick & Gabe discuss work item status widget behavior with a requirement's test report by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 2,926 words across 481 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.