YouTube2Text

Nick & Gabe discuss work item status widget behavior with a requirement's test report — Transcript

by GitLab Unfiltered · 2,926 words · 481 segments · language en · Watch on YouTube

Full transcript

  1. 0:00for other people
  2. 0:02so we are talking about uh
  3. 0:07this comment here
  4. 0:10um
  5. 0:12where there is this uh
  6. 0:15desire to have a kind of generic workout
  7. 0:17of status widget that can be used by
  8. 0:19different types like
  9. 0:20um
  10. 0:22and recently we renamed verification
  11. 0:25status as status isn't going to do that
  12. 0:27and I totally agree with Melissa's
  13. 0:30desire to build something that's more
  14. 0:31broadly useful for work items
  15. 0:33but here's sort of the the pickle that
  16. 0:37I've been thinking about with this
  17. 0:38um is it when you think about sort of
  18. 0:40this goal of having these different
  19. 0:42kind of state buckets to denote if
  20. 0:45something is actually done or not if
  21. 0:47it's active or inactive
  22. 0:49as we've sort of uh worked through this
  23. 0:51and also heard from Matthew and Dan that
  24. 0:53like requirements can have different
  25. 0:55like sort of workflow statuses about uh
  26. 0:58what the progress of them
  27. 1:01um we sort of end up with this kind of
  28. 1:02interesting thing where if we look at uh
  29. 1:05what what what how behaves today there's
  30. 1:07a unit test
  31. 1:09right that contains uh some sort of link
  32. 1:12to the requirement maybe in the title or
  33. 1:13whatever which gets run in a job which
  34. 1:16gets around as part of a pipeline which
  35. 1:18then generates the test report the test
  36. 1:20report gets uploaded is in our Json
  37. 1:22artifact or apartment.json file
  38. 1:25which then uh kind of surfaces the
  39. 1:28status the current status of uh
  40. 1:31satisfied failed unverified
  41. 1:34here in the requirement
  42. 1:37um the challenge with this when you
  43. 1:38think about this looking at
  44. 1:40um
  45. 1:41how we would map these to the different
  46. 1:43buckets
  47. 1:46um
  48. 1:47like if you think about the requirement
  49. 1:49it might also be let's say if it's in
  50. 1:52draft
  51. 1:54right uh what were the other stats that
  52. 1:56Melissa said down here
  53. 1:59I would say interview accepted by client
  54. 2:02um
  55. 2:05in review
  56. 2:09accepted by client
  57. 2:17so it's hard to tell like uh which
  58. 2:19buckets these fall in right I think in
  59. 2:21review would be definitely active
  60. 2:24drafts would sort of be
  61. 2:28uh maybe if it's actively being drafted
  62. 2:31in the active bucket too
  63. 2:34um but while these different statuses
  64. 2:37are true of the requirement it's like
  65. 2:38kind of life cycle
  66. 2:40at the same time
  67. 2:42um it would be unverified until the
  68. 2:45pipelines run and the test report kind
  69. 2:47of generates stuff
  70. 2:49and then if it does get generated
  71. 2:53um you could say like satisfied
  72. 2:55and passive exception are completed
  73. 2:58uh but sort of like what happens if it
  74. 3:01then fails at some point in a later
  75. 3:04pipeline
  76. 3:05where do you put the failed which bucket
  77. 3:07do you put it in is it in uh inactive
  78. 3:10well it could be failed and not being
  79. 3:12worked on to correct it could be failed
  80. 3:16and
  81. 3:17working on to fix this right
  82. 3:20so it's like not clear how to bucket the
  83. 3:23output from the test report cleanly into
  84. 3:26the buckets for the different statuses
  85. 3:28and then reconciling those with sort of
  86. 3:32the uh workflow statuses on a
  87. 3:35requirement
  88. 3:36um
  89. 3:37and the other thing to think about is
  90. 3:39that like in this sort of
  91. 3:41uh kind of flow
  92. 3:44um this all like everything to the left
  93. 3:46of requirement is the test report I
  94. 3:50would just call it a test report
  95. 3:52and so if we think about how this is
  96. 3:54going to work and we want to have like a
  97. 3:56generic status which is that all workers
  98. 3:57can work work with
  99. 4:01um you almost need to have it be
  100. 4:03uh
  101. 4:05a separate widget
  102. 4:08from the test report
  103. 4:10because it's impossible to know if
  104. 4:13uh what the actual status is of the
  105. 4:16requirement itself in terms of its
  106. 4:20is somebody working on or not is it
  107. 4:22actually being worked on or not
  108. 4:24um
  109. 4:25and so this would sort of let you have
  110. 4:27your own
  111. 4:28uh I would even call this status with
  112. 4:31the test report it's just a state almost
  113. 4:33like uh because these things don't
  114. 4:35really change and you can't really
  115. 4:37change them
  116. 4:38unless the code passes either the
  117. 4:42pipeline is never run against a
  118. 4:44requirement in which case it's
  119. 4:45unverified it still could be work B
  120. 4:48being worked on but the merge request
  121. 4:50hasn't been put up yet so it's going to
  122. 4:52be unverified
  123. 4:53and then at some point when maybe it's
  124. 4:55in review is when the pipelines start
  125. 4:57running
  126. 4:59um it could even be put into
  127. 5:02A Satisfied state
  128. 5:04uh before it gets accepted by a client
  129. 5:08right so I don't know if a client would
  130. 5:10accept it until
  131. 5:12the test I guess the the tests are
  132. 5:14saying that it's satisfied
  133. 5:16so that's sort of where I was thinking I
  134. 5:19don't know if you agree with me the only
  135. 5:21way to like sort of cleanly solve this
  136. 5:23is to have
  137. 5:24your
  138. 5:25test report be a separate widget
  139. 5:28right and then what we can do and this
  140. 5:30is the if you think about like from a
  141. 5:32value standpoint
  142. 5:34this is all the stuff that is an
  143. 5:36ultimate which is tying a work out into
  144. 5:38a test a bit basically a pipeline job
  145. 5:41test report uh and separating that would
  146. 5:45make it clean to kind of package this up
  147. 5:47and then the stats widget is sort of a
  148. 5:48separate thing but if this is sort of
  149. 5:50available then certificate and figure
  150. 5:52out how they want to map any sort of
  151. 5:54like automations
  152. 5:56that happened between the test report
  153. 5:58widget and how that transitions the
  154. 6:01status widget
  155. 6:03um
  156. 6:04I also think in the future Nick and I
  157. 6:06are uh we're talking about like right
  158. 6:08now I think this is a one-to-one
  159. 6:10behavior
  160. 6:12um
  161. 6:13but you might have lots of different
  162. 6:15unit tests
  163. 6:17um
  164. 6:18that I'll need to pass a unit test
  165. 6:22two
  166. 6:26uh and then you might have a unit test
  167. 6:29free it gets mapped to a job that gets
  168. 6:31executing your job and maybe all of
  169. 6:34these are linked to the same requirement
  170. 6:37um and in order for that requirement to
  171. 6:38be satisfied all three of these you need
  172. 6:40to be passed and I imagine at some point
  173. 6:42a customer gonna ask for can I see test
  174. 6:45reports breakdown or status or test runs
  175. 6:48or whatever in a little widget in a
  176. 6:51requirement itself
  177. 6:53so that's almost like we're thinking a
  178. 6:55little bit ahead
  179. 6:57um we might want to have a test report
  180. 7:00widget
  181. 7:01that has these unverified satisfied past
  182. 7:05failed
  183. 7:06and decouple that from the like life
  184. 7:09cycle of
  185. 7:10uh the uh requirement might go through
  186. 7:13because if it's failed it might we might
  187. 7:16trigger that to transition into some
  188. 7:18other status right that would then do
  189. 7:20something but it it doesn't seem like
  190. 7:23it's lining up well to like smash these
  191. 7:26things these two things together into
  192. 7:28one thing
  193. 7:29at least from like uh
  194. 7:31generalization standpoint do you have
  195. 7:33any thoughts on that Nick
  196. 7:36yeah I mean I I think I initially was
  197. 7:38thinking of this in the more linear flow
  198. 7:40but
  199. 7:42I think if it's true that something
  200. 7:43could be satisfied while it's in review
  201. 7:45I mean then that automatically kind of
  202. 7:48uh
  203. 7:50makes it hard to to do because you'd
  204. 7:52have two simultaneous statuses and one
  205. 7:56would have to win but then you kind of
  206. 7:58don't have a lot of clarity uh and I
  207. 8:00don't really want to end up in a
  208. 8:01situation where we're doing like sub
  209. 8:03steps or something like interview
  210. 8:05satisfied or something like that like as
  211. 8:07a parenthesis like I would probably
  212. 8:09rather keep these separate if that's not
  213. 8:12a consideration like that we have to the
  214. 8:15thing about like
  215. 8:16you know what you'd end up having to do
  216. 8:18I think would be
  217. 8:19to use essentially automation
  218. 8:22to make that work in a generalizable way
  219. 8:26right like because other work items
  220. 8:28aren't going to have test reports so
  221. 8:29you'd have to basically create like a
  222. 8:30generic
  223. 8:31automation capability and then create a
  224. 8:34rule for just requirements that is tied
  225. 8:38to the test report which
  226. 8:41I don't know I mean we want to do stuff
  227. 8:42like that eventually but I don't know if
  228. 8:44that's more complicated than than this
  229. 8:47sort of Route
  230. 8:48um where where you can just kind of
  231. 8:50utilize this on its own I mean we do
  232. 8:53know we talked just this morning with
  233. 8:54the customer that basically I think
  234. 8:56talked through that use case if I want
  235. 8:58to see everything down from the story
  236. 9:00down to the requirements down to the the
  237. 9:03individual tests that were run
  238. 9:05against those requirements
  239. 9:08um you know and and even to the kind of
  240. 9:10environment level for those tests so I I
  241. 9:13mean yeah that that request is uh not
  242. 9:17just forthcoming but already already
  243. 9:19something we're hearing
  244. 9:20um well the other interesting challenge
  245. 9:22about this speaking to that uh
  246. 9:25is that if you think about how pipelines
  247. 9:28and all that stuff actually work
  248. 9:30um
  249. 9:31it's not really clean right like you
  250. 9:34have I mean it's clean how they work but
  251. 9:35in this scenario
  252. 9:37um and this is what is typical git lab
  253. 9:40today uh you might have all this
  254. 9:43happening simultaneously where you have
  255. 9:46uh free feature branches or two feature
  256. 9:49branches a main branch
  257. 9:52when we run a pipeline
  258. 9:54um we run it against the branch usually
  259. 9:56uh and so you might link to a
  260. 9:59requirement in your future branch and it
  261. 10:02passes there but then when you merge
  262. 10:05feature Branch into your main branch uh
  263. 10:08it fails right uh you could also a
  264. 10:11requirement could fail in a certain
  265. 10:13environment like environment a and
  266. 10:15staging it might pass in environment B
  267. 10:17like during deploys because the
  268. 10:19pipelines also run during deploys which
  269. 10:21say I think generally run all the tests
  270. 10:23and test Suites as part of that as well
  271. 10:25so you get this sort of like complex
  272. 10:26like there's lots of places where it
  273. 10:29could pass and fail
  274. 10:31uh depending on which environment set
  275. 10:33it's on and like right now I think the
  276. 10:35workaround is you only set your your
  277. 10:38requirements verification to happen when
  278. 10:41you merge a feature branch and domain
  279. 10:43and that's something you could do but it
  280. 10:44also does get a little bit complicated
  281. 10:46even within when you do that
  282. 10:48um like in gitlab for example our deploy
  283. 10:52pipeline pushes things to staging and I
  284. 10:55think it pushes things to Canary and I
  285. 10:57think it pushes things to production
  286. 11:00uh and you almost need to know if it
  287. 11:03does fail uh in which environment does
  288. 11:06it fail
  289. 11:07or is it currently failing
  290. 11:09right
  291. 11:10um and there's also use cases today
  292. 11:12where the past with exception is where
  293. 11:14they'll quarantine Engineers will
  294. 11:16quarantine the flaky tests because
  295. 11:18something's wrong with the test not
  296. 11:19necessarily with the code and so they're
  297. 11:21basically saying it's fine if we don't
  298. 11:23run this test right now uh we're willing
  299. 11:25to take the risk so we're just not going
  300. 11:27to run it
  301. 11:28right which then would have implications
  302. 11:30also on things like this I think it's
  303. 11:33all stuff for the certified team to
  304. 11:34figure out but it does feel
  305. 11:37like you we just can't like
  306. 11:39do all that smash it all together
  307. 11:42is there so so in that environment right
  308. 11:45like you go through your workflow your
  309. 11:47workflow basically ends at accepted
  310. 11:50um meaning that this requirement is
  311. 11:53now in a usable State
  312. 11:55um and it would never like there'd never
  313. 11:59really be a
  314. 12:00completed
  315. 12:02status right or like or would we
  316. 12:06somehow mirror the
  317. 12:08verification status in the in the
  318. 12:12workflow status because that's where I
  319. 12:13could see that getting kind of
  320. 12:15confusing I mean I think accepted by
  321. 12:17comment where I'd say would be completed
  322. 12:18your requirement is accepted by the
  323. 12:21client which means it's completed and
  324. 12:22done they've accepted it
  325. 12:25um but even after it's been accepted by
  326. 12:27the client
  327. 12:28it could fail in a future
  328. 12:30at a future point in time if the code
  329. 12:32changes
  330. 12:34at which point it
  331. 12:36would you automatically move this to
  332. 12:40like would it no longer be it would have
  333. 12:42to be like sort of kick it back into
  334. 12:44this a new workflow of
  335. 12:46okay this whatever the intake is for
  336. 12:49this uh you know triage
  337. 12:52uh and then it would have to kick this
  338. 12:54back into whatever an inactive state was
  339. 12:56and then an engineer would pick it up
  340. 12:58Triage it fix it it would go through
  341. 13:00they don't have to get accepted again
  342. 13:01because it's passing you know
  343. 13:06um
  344. 13:10yeah I don't know what necessarily to do
  345. 13:14yeah I mean that's mostly a question of
  346. 13:16him like
  347. 13:17I understand the only features that
  348. 13:19you're looking at the list you're
  349. 13:19looking at boards you're looking at like
  350. 13:21stuff to do
  351. 13:22you know most likely you're probably
  352. 13:25filtering out some of your requirements
  353. 13:27and things unless that's what you are
  354. 13:28are looking for but
  355. 13:31um you know how do you
  356. 13:33how do you find those uh things that
  357. 13:36need attention and if it's if you're
  358. 13:38just filtering out things that are
  359. 13:40um
  360. 13:41let's say like you're filtering for
  361. 13:42things that are in like an active State
  362. 13:43like things to work on uh if it's
  363. 13:46completed in that sense but it's failed
  364. 13:49like you wouldn't necessarily see it
  365. 13:52um I don't know like there's obviously
  366. 13:54ways around that you'd create different
  367. 13:55views and things like that to get to to
  368. 13:57requirements that are
  369. 13:59um failing based on that status or
  370. 14:01something like that but
  371. 14:03um
  372. 14:04that is just kind of a Nuance of the
  373. 14:07different items getting potentially
  374. 14:08mixed together
  375. 14:10um
  376. 14:12I mean this kind of makes sense I think
  377. 14:13in this model like if you think about
  378. 14:14this from like a widget perspective like
  379. 14:17this would
  380. 14:18probably at least as I'm thinking about
  381. 14:21it and again I think you know something
  382. 14:22for the certified team to to figure out
  383. 14:24would be
  384. 14:26um a verification or like test Report
  385. 14:30app um where you could basically like
  386. 14:32app in the sense of you know we have
  387. 14:34like the attribute widgets which are
  388. 14:35generally like your iterations it's like
  389. 14:37a single thing and if we only cared
  390. 14:39about you know verified unverified it
  391. 14:42could be an attribute but if we if we
  392. 14:44expect to
  393. 14:46um want to be able to list out like what
  394. 14:49environments and where and what test
  395. 14:50cases and things like that in the future
  396. 14:54um you could build that like a little
  397. 14:55bit more robustly probably as something
  398. 14:57like an app um another example of an app
  399. 14:59would be like related links or something
  400. 15:02like that um or tasks even on on like an
  401. 15:05issue
  402. 15:06um so you can use something like that
  403. 15:07and kind of bubble that up and then
  404. 15:09still bubble that up to the
  405. 15:12um
  406. 15:13you know metadata that's used in other
  407. 15:15places uh because I assume if you
  408. 15:19you know wherever looking at a
  409. 15:20requirement in a list view or something
  410. 15:21you'd still want to see you know what
  411. 15:23the main stat like verification status
  412. 15:25of that would be
  413. 15:27um it's not really a use case that we
  414. 15:29have I mean this will be the first time
  415. 15:30I think we're doing that on the work
  416. 15:31item so some stuff to be figured out
  417. 15:33there but
  418. 15:35um that's kind of how I envisioned some
  419. 15:37of that stuff working
  420. 15:39yeah the other thing I think is
  421. 15:41interesting about this too and if you
  422. 15:44think about not just a test Report app
  423. 15:46but
  424. 15:47a lot of times when I'm looking at an
  425. 15:50issue to see if I can review it I want
  426. 15:52to know
  427. 15:54oh I didn't see the merge requests but I
  428. 15:56can't see which environment they're in
  429. 15:57like if they're in the deploy process
  430. 16:00where I have to go to test it if it's
  431. 16:02ready
  432. 16:04um
  433. 16:04and and more or less like some of this
  434. 16:06more metadata about it and I'm wondering
  435. 16:09if there's a way to make this even a
  436. 16:11little bit more generic instead of just
  437. 16:12a test Report app
  438. 16:14it sort of gives you like your current
  439. 16:17status of
  440. 16:18where where your issue is in terms of
  441. 16:21environments
  442. 16:22uh pipeline statuses and that sort of
  443. 16:25thing because there's also I can't
  444. 16:27remember I don't have it open right now
  445. 16:29there was an ask to be able to associate
  446. 16:31a pipeline directly to a work item of
  447. 16:35type test case
  448. 16:36or test session I think is what it was
  449. 16:38so that when your tests are running you
  450. 16:41see which pipeline they're running in uh
  451. 16:44and then you can click into that
  452. 16:45pipeline today and go look at like the
  453. 16:46test reports I guess is the use case
  454. 16:48there but it's sort of
  455. 16:51this is really just tying in all this
  456. 16:53information
  457. 16:54uh into a specific work item where the
  458. 16:59relationship is driven by the work item
  459. 17:01id being associated to
  460. 17:03I guess one of the the unit tests
  461. 17:06I definitely think something that for
  462. 17:07certified think about but it also opens
  463. 17:09up the door if you do think about a
  464. 17:11little bit more generically for a lot of
  465. 17:12cool
  466. 17:13uh integration of like Downstream devops
  467. 17:16data into work items
  468. 17:21anything else to add for that
  469. 17:23advising stop recording and go on that
  470. 17:25other stuff on the agenda
  471. 17:27uh uh no I don't think so
  472. 17:30um this is all pretty new functionality
  473. 17:31to me so it's uh enlightening to learn
  474. 17:35about it but also sort of map it back to
  475. 17:37the to the work items and
  476. 17:39um
  477. 17:40kind of how we can make that more
  478. 17:42appropriately reusable but also not like
  479. 17:45uh where it needs to be kind of more
  480. 17:48specific in some cases yeah
  481. 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.