YouTube2Text

Epic Work Items Migration - Weekly Sync — Transcript

by GitLab Unfiltered · 7,118 words · 1,004 segments · language en · Watch on YouTube

Full transcript

  1. 0:03hello everyone uh welcome to Epic work
  2. 0:06items migration weekly uh it's 21st
  3. 0:08December and uh we have a couple of
  4. 0:11updates across different work streams so
  5. 0:14unless anyone wants to workiz we can uh
  6. 0:18uh move to discussion otherwise we can
  7. 0:20uh still discuss some of the workstream
  8. 0:22uh
  9. 0:25points eugia you want to uh verbalize
  10. 0:29any updates from stream one uh no mine
  11. 0:33are mostly for Just for information um
  12. 0:36so I think just reading
  13. 0:38enough okay cool
  14. 0:43thanks all right so we can jump straight
  15. 0:46to discussion uh especially with the
  16. 0:49widgets and how new widgets can be
  17. 0:52introduced uh with the work item
  18. 0:56types um yes I was keeping the
  19. 1:00prev points from workstream two um don't
  20. 1:06know oh yeah there there's a there's a
  21. 1:09blocker right yeah there's yes yeah so
  22. 1:12uh Alexandre you want to uh
  23. 1:19discuss yeah I think this was raised by
  24. 1:22uh Philip though but I can verbalize it
  25. 1:25oh yes sorry I did not add my name there
  26. 1:28uh yeah there's not much going on uh uh
  27. 1:33I'm just trying to Define strategies for
  28. 1:35each epic Association that on that other
  29. 1:37epic and uh there's a lot so maybe if
  30. 1:41someone can pick some of them it will be
  31. 1:43it would be
  32. 1:44good and there's a point from Alexandro
  33. 1:47if you want to talk about it yeah I was
  34. 1:49I was thinking about how we can do that
  35. 1:52because like I was I was thinking that
  36. 1:54most of the associations are kind of
  37. 1:56easy and there is not much to be copied
  38. 1:59um and then I thought about like notes
  39. 2:01and it feels a bit much to create a
  40. 2:05duplicate
  41. 2:06note um for every single epic like for
  42. 2:11the respective issue sort of thing right
  43. 2:14so now what you want is basically
  44. 2:16replace
  45. 2:17the
  46. 2:19um epic ID with the with the
  47. 2:23corresponding issue ID basically but
  48. 2:26that means that the code should now be
  49. 2:28prepared to read from both the read both
  50. 2:32actually the Epic note and the
  51. 2:33corresponding work item note um were
  52. 2:37were actually be like be capable to
  53. 2:39decide which one it wants to read
  54. 2:42from um so then the back filling all it
  55. 2:45needs to do is to replace um the the
  56. 2:49referenced IDs in the database and the
  57. 2:52code will just read the correct note um
  58. 2:56still um so that's that's one option
  59. 3:00and I think that works for for
  60. 3:03tables for data that lives in the same
  61. 3:06table both for epics and issues right
  62. 3:09like notes like I don't know
  63. 3:11subscriptions and I think there are a
  64. 3:13couple others um and we can go with the
  65. 3:17copying strategy in in the for the
  66. 3:20tables that for the data that lives in
  67. 3:23different tables basically um and that's
  68. 3:27probably something like uh relationships
  69. 3:30or parents or like epic relationships
  70. 3:32that needs to be moved to the issues
  71. 3:34relationships and so on so there is
  72. 3:36where you need to to basically create a
  73. 3:39copy
  74. 3:40um I think we'll need to use a mix of
  75. 3:43the strategies I don't think we want to
  76. 3:45create a lot of this data duplication
  77. 3:48that may actually like put a little bit
  78. 3:50more pressure on the database itself I
  79. 3:53feel I think it's like we're we're kind
  80. 3:56of stretching the database already and
  81. 3:58that's why we have this cells thing
  82. 4:00ongoing and and all that stuff to move
  83. 4:03data off of a single database so I don't
  84. 4:05know if we want to just like duplicate
  85. 4:07data just because we want to move to the
  86. 4:09work items um but yeah that's that's
  87. 4:12just a couple thoughts that we may want
  88. 4:14to think about when we when we decide on
  89. 4:17strategy to um to migrate data basically
  90. 4:21to work items from
  91. 4:25epics yeah so far the ones that I looked
  92. 4:27at uh they are simple but I think the
  93. 4:30most complicated one will be nodes and
  94. 4:32resource label events I think these both
  95. 4:34will hold a lot of
  96. 4:36data Maybe one one thing we could try is
  97. 4:39just add a new column
  98. 4:42to to noes table to hold in work iten ID
  99. 4:46instead of duplicating and then uh we
  100. 4:49just switch we just run a backr
  101. 4:52migration to switch the field or
  102. 4:54something like that but yeah yeah but
  103. 4:57that mean that means that the code needs
  104. 4:58to be prepared to read from the
  105. 5:01correct like you'll still need to to
  106. 5:04read from two
  107. 5:06different ideas like through through
  108. 5:08different fields right um because the
  109. 5:10Legacy code reads from from where it
  110. 5:13reads but yeah we can we can uh we can
  111. 5:17think about that um On a par item I
  112. 5:20guess
  113. 5:23basis uh yeah we can post upd to to to
  114. 5:26that epic I linked uh so we can open a
  115. 5:28topic for
  116. 5:30these fields there about
  117. 5:44it I would also expect that we use
  118. 5:46combination of both uh I think we
  119. 5:49discussed this slightly in the original
  120. 5:53plan and I thought that for notes and
  121. 5:55labels we would just switch them over
  122. 5:58for the remaining we would copy over
  123. 6:00like for example here Archy or SES to
  124. 6:04the appropriate widget tables but for
  125. 6:08not specifically I think we should avoid
  126. 6:11doing duplicities because the note ID is
  127. 6:15part of the reference if you paste
  128. 6:17somewhere in the comments yeah so if you
  129. 6:20would
  130. 6:22later uh drop uh the reference to the
  131. 6:25old Legacy note then the L would be
  132. 6:31broken so it might be better to just
  133. 6:34switch over yeah but I think we can just
  134. 6:37generalize the strategies in like if
  135. 6:39it's within the same table we don't have
  136. 6:42to create a duplicate and if it's if the
  137. 6:45data lives in different tables then you
  138. 6:46kind of still have to to to create a a
  139. 6:49record right so then for for resource
  140. 6:52tables we we
  141. 6:55actually have the issue ID and epic ID
  142. 6:58in in
  143. 7:00basically all of them not yeah not for
  144. 7:04the weight but for the weight you don't
  145. 7:05need to migrate anything so so that
  146. 7:08should be fine and for the iteration the
  147. 7:10same thing like you don't have an
  148. 7:12iteration on the Epic so so you don't
  149. 7:14have to migrate anything there as well
  150. 7:16uh but for the other table like State
  151. 7:19and label you have the Epic ID in there
  152. 7:22so you can just populate the
  153. 7:24corresponding issue idea I guess uh but
  154. 7:26the code needs to be prepared to
  155. 7:28basically understand and and read if
  156. 7:30like if both fields are populated how do
  157. 7:33you handle that situation
  158. 7:41right yeah what did you mean by or notes
  159. 7:44that should be copied over are are you
  160. 7:47in favor of
  161. 7:48duplicating the
  162. 7:50notes or do you mean copied over as in
  163. 7:53like like you said uh I was thinking for
  164. 7:57notes and labels they should just
  165. 8:00be oh they should be just switched yeah
  166. 8:04the ideas should just be switched from
  167. 8:06like issue ID to the to the or from epic
  168. 8:10ID to the issue ID but that would have
  169. 8:13to happen at the time
  170. 8:16of back filling is that right or or
  171. 8:20before we switch over to the Cod need to
  172. 8:23be able to handle both right to handle
  173. 8:25both options before we do the back
  174. 8:27filling itself so the would need to be
  175. 8:30in place to be capable of reading for
  176. 8:32the Epic itself like for the Epic
  177. 8:35object it should be able to load nodes
  178. 8:38if the notes are referenced either by
  179. 8:40epic ID or by issue
  180. 8:44ID because then when the back filling
  181. 8:46runs you you basically want to to
  182. 8:49replace the Epic ID with the issue ID or
  183. 8:52we we need to add
  184. 8:54a another column or something I don't
  185. 8:58remember it's a polymorphic relationship
  186. 9:00right that's notable or something so
  187. 9:02it's notable type so we'll need yeah
  188. 9:05we'll need to then update the notable
  189. 9:08type and notable ID from being epic and
  190. 9:13Legacy epic ID to being issue and the
  191. 9:15work item um ID right
  192. 9:21okay so we would have code on the work
  193. 9:24item that when we want to load its notes
  194. 9:26it looks for the corresponding Epic
  195. 9:29notes belong into the corresponding epic
  196. 9:32I think for work item we don't need to I
  197. 9:34think for the Epic we need to yeah we
  198. 9:37need to modify the Epic code that looks
  199. 9:40like exactly what you said for both epic
  200. 9:43type and ID and an issue type and ID so
  201. 9:46that the Legacy stuff continues to work
  202. 9:49even after the back filling
  203. 9:52right okay cool so I think like we need
  204. 9:55you're right we need a heuristic
  205. 9:57basically for each type of value and I
  206. 9:59would say like it seems to me that join
  207. 10:02tables should always be duplicated so
  208. 10:04any record that joins two objects like
  209. 10:07um a relationship between a work item
  210. 10:09and an issue relationship between two
  211. 10:11work items uh a hierarchy relationship
  212. 10:14between two work items like those should
  213. 10:15all be duplicated right because it's the
  214. 10:18same relationship but it's for the work
  215. 10:20item object instead of the Epic object
  216. 10:24and then we can just delete when it
  217. 10:26comes time to clean up does that make
  218. 10:28sense yeah yeah and and they live in
  219. 10:30different tables as well right like have
  220. 10:32different tables for that so you have to
  221. 10:35duplicate that data basically the tricky
  222. 10:38one seems to be notes so how can we get
  223. 10:40a a decision made on notes
  224. 10:43then I think we've already kind of have
  225. 10:47it right we we have to have the code
  226. 10:49prepared to to read from both types for
  227. 10:53the
  228. 10:54epics and then for the migration or for
  229. 10:57the back filling itself I I think what
  230. 10:59we will want to do is back fill it for a
  231. 11:01specific testing group like plan stage
  232. 11:05or or something like that um we test it
  233. 11:07out like we run it only on do we test it
  234. 11:10out and and only after that do we do the
  235. 11:13full back filling of the entire database
  236. 11:17uh which would end up in in self-managed
  237. 11:19right
  238. 11:22um um okay does anyone not agree with
  239. 11:27that like does anyone want to descent
  240. 11:30right now cuz we could just make the
  241. 11:35decision okay Alexandre see for under
  242. 11:39number 10 could you like summarize that
  243. 11:42please like as a decision
  244. 11:45made uh number 10 oh under number 10 I
  245. 11:49will yeah I'll do that and then I think
  246. 11:52it was fipe who brought it up originally
  247. 11:54so we might need it in the actual uh
  248. 11:56epic itself where just one thing I don't
  249. 11:59think this is just for notes and labels
  250. 12:02I think this can be generalized a bit
  251. 12:04for basically anything
  252. 12:08that lives within the same table well
  253. 12:11anything that needs kind of back filling
  254. 12:13but lives within the same table kind of
  255. 12:16thing right because that that that kind
  256. 12:18of implementation approach uh would
  257. 12:21apply for for labels perhaps and for
  258. 12:25other associations as well that that
  259. 12:27kind of need the same replacement of the
  260. 12:30reference rather than than creating a
  261. 12:32copy so as for decisions I guess what I
  262. 12:36was saying is like if it lives in the in
  263. 12:38different tables then we create a copy
  264. 12:40if not the code needs to be prepared to
  265. 12:42handle two different types epics and or
  266. 12:47idance cool I'll I'll summarize that I
  267. 12:50think at the end of the
  268. 12:52meeting yeah cool we might need it in
  269. 12:54the Epic like I said that Filipe linked
  270. 12:57it looks like there's a table in this
  271. 13:00that so for database Fields but I guess
  272. 13:03we need one also for relationships as
  273. 13:05well so there is a different issue I
  274. 13:07think for relationships for each
  275. 13:09relationship created in
  276. 13:11that yes I link at my my status update
  277. 13:15uh the first item the first link
  278. 13:22here H eug I think you have a point
  279. 13:24there as well uh yeah uh this is more
  280. 13:28like a question when we copy for example
  281. 13:31relationships we know we're going to
  282. 13:32copy every link um in that case we we
  283. 13:35would need to keep them in sync because
  284. 13:37they both exist for example you can
  285. 13:39reorder children so Legacy epic order
  286. 13:43will have to reflect that yeah yeah for
  287. 13:47the for the for the tables that we
  288. 13:48create a copy we'll need to keep them in
  289. 13:50sync uh for the for the time being until
  290. 13:53we move on to reading from the work
  291. 13:55items right so we will first make the
  292. 13:58the code be able to write into the two
  293. 14:01places do the back fing and then start
  294. 14:04switching onto writing to both places
  295. 14:08but reading only from the work
  296. 14:10item part and then and then and then
  297. 14:13switch off the yeah
  298. 14:15writing yeah like because once we read
  299. 14:19from the work item side we can verify
  300. 14:21that everything is in place everything
  301. 14:23is working as expected and we can have a
  302. 14:25feature flag to switch back and forth
  303. 14:27between two data sources the Legacy and
  304. 14:30the work item so once we are sure that
  305. 14:33everything works just fine we can drop
  306. 14:36writing to the Legacy side and only
  307. 14:39write and read from the work item
  308. 14:42side okay makes
  309. 14:47sense um and then there is the next
  310. 14:51point that I had about the um issue ID
  311. 14:55in the epics table I think well it seems
  312. 14:58like we have a delete Cascade foring key
  313. 15:02I'm a bit like I'm a bit concerned about
  314. 15:05the delete Cascade thing on the epics
  315. 15:07table because like just because we
  316. 15:10basically will not be showing the work
  317. 15:13item epic in the UI or anywhere it
  318. 15:17should not appear if somehow someone
  319. 15:20deletes that work item Epic from the
  320. 15:23database the the respective epic will be
  321. 15:25deleted and that may be a bit like
  322. 15:29unexpected from from where I'm standing
  323. 15:32I'm I'm not sure it should not be
  324. 15:35possible but it but it's still like a
  325. 15:39way to to to kind of delete stuff that
  326. 15:41you don't want to delete I think so I
  327. 15:43was wondering if we should rather change
  328. 15:45that to being
  329. 15:46nullify um so what happens in that
  330. 15:49situation is you basically lose the
  331. 15:52corresponding work
  332. 15:53item if it is being deleted somehow by
  333. 15:56some by someone but but I I think that's
  334. 15:59a
  335. 16:00better thing to end up with rather than
  336. 16:04uh having a an epic being deleted I
  337. 16:06don't
  338. 16:13know yeah I kind of agree with you that
  339. 16:17uh as long as we don't expose this uh
  340. 16:20work item epics to to
  341. 16:23users it might be safer to not delete
  342. 16:28the Legacy epic just in case they would
  343. 16:31manage to delete it somehow for example
  344. 16:35I don't know doing
  345. 16:36some group delete well not group
  346. 16:39deletion but yes some may I calls ended
  347. 16:43up deleting I don't know um it would
  348. 16:46have been okay if we had this field on
  349. 16:48the issues table I would actually want
  350. 16:50to have the Cascade delete right uh but
  351. 16:54the the the other way around the that we
  352. 16:56have it right now on the epis table I
  353. 16:58would
  354. 16:59lean towards changing the foreign key to
  355. 17:01just
  356. 17:03nullify yeah could we try to avoid
  357. 17:06deleting group level work items instead
  358. 17:08of running another database migration to
  359. 17:10change this foring key maybe that's
  360. 17:16easier the the thing is that the code is
  361. 17:19dynamic like someone can still add or
  362. 17:22forget to add a feature or like I I
  363. 17:26don't know or customers can just may
  364. 17:28want to try an end point to like see
  365. 17:31what happens input a invalid ID or
  366. 17:35something I don't know like there are
  367. 17:36many ways that like we cannot control
  368. 17:41probably yes I mean we are controlling
  369. 17:44because right now we are blocking
  370. 17:45creation of work items um on the API so
  371. 17:48maybe you could do the same with the
  372. 17:51delete
  373. 17:57thing
  374. 18:12yeah I don't know um we may want to take
  375. 18:14it offline and see if there are any
  376. 18:17options um I don't see
  377. 18:21a easy way to prevent this to be honest
  378. 18:25but maybe there
  379. 18:27is
  380. 18:31it seems like for the early phases of
  381. 18:35migration it makes sense to nullify no
  382. 18:38cuz it's a bit of a foot gun like if we
  383. 18:40accidentally run
  384. 18:41a uh something to clean up epics
  385. 18:46in you know for for whatever reason like
  386. 18:49um clean up work item epics we're going
  387. 18:51to accidentally delete a whole bunch of
  388. 18:53valid
  389. 18:55epics in doing so that seems um like
  390. 18:59very very risky somebody could do
  391. 19:03that yeah I mean that can be prevented
  392. 19:06once you know like if we if our group is
  393. 19:08doing it it's probably not going to
  394. 19:09happen but like there it's still sort of
  395. 19:13something that it's a
  396. 19:15hanging I don't know how you call it a
  397. 19:17hanging axe right it can it can
  398. 19:20just swipe any time sort of thing if
  399. 19:23someone somehow forgets you just we're
  400. 19:25all human so uh it's just better better
  401. 19:28to not have that trigger in the database
  402. 19:30level um just to make it a bit safer for
  403. 19:34for our own
  404. 19:36sake I mean there's
  405. 19:38literally there there's no downside to
  406. 19:42changing it Den nullify right I mean if
  407. 19:44you delete the group work item we just
  408. 19:46end up with another Legacy epic that
  409. 19:48doesn't have a work item which is going
  410. 19:50to be filled in by the backfill anyway
  411. 19:53so yes but once that's done after the
  412. 19:56back filling then you kind of have a
  413. 19:59problem so you you sort of need to
  414. 20:02prevent deletion but that's like even if
  415. 20:04you end up with a epic not having an orc
  416. 20:07item it's bad but it's recoverable right
  417. 20:10you you just go ahead create a migration
  418. 20:13run through all the epics that don't
  419. 20:14have a work item and create it but but
  420. 20:17if you delete it from the database now
  421. 20:19you need to go into um backups and
  422. 20:23recover and God knows if you did have a
  423. 20:27backup at that time now and so on and so
  424. 20:32forth yeah maybe you're right maybe you
  425. 20:35should create a follow-up
  426. 20:37issue to change the for
  427. 20:41key do you want to create
  428. 20:43one I can change the create the issue
  429. 20:46and and do it because Nicholas added the
  430. 20:49Mr he's on holiday I think for two
  431. 20:53weeks um so I can do it next um in these
  432. 20:57cases we we don't update the foreign key
  433. 21:00do we we just delete it and create a new
  434. 21:04one uh we just
  435. 21:07nullify set to
  436. 21:10new we can update foreign keys in I
  437. 21:14don't know I mean I think we have
  438. 21:15documentation on that somewhere
  439. 21:20yeah it may it may be just dropping and
  440. 21:23and creating one or or updating I I I
  441. 21:27don't remember exactly to be honest yeah
  442. 21:30it's okay I can I can take
  443. 21:50this
  444. 21:53thanks I assigned you on the bottom to
  445. 21:55the uh line item we can check in on on
  446. 21:58it in
  447. 22:05future yep so unless uh anyone wants to
  448. 22:09discuss uh any of the work stream items
  449. 22:11we can move on to discussion
  450. 22:17points
  451. 22:19um yes this is mostly something that has
  452. 22:23come up with a couple of the last two
  453. 22:26wiches or the ones we are adding now
  454. 22:28um they are specific for AIC so it's
  455. 22:33color and inherit dates uh but it was
  456. 22:36discussed in the spikes mostly it was
  457. 22:40requested by PMS that from now on or of
  458. 22:45we should be adding every widget to
  459. 22:47every type um considering in the future
  460. 22:51they they shouldn't have this separation
  461. 22:54and that we should be just disabling in
  462. 22:57the types that are not supporting that
  463. 23:00feature um so I just wanted to bring up
  464. 23:04the subject to see if we can um reach a
  465. 23:08a conclusion maybe write the
  466. 23:10documentation on how we move forward
  467. 23:12because until now we are adding only
  468. 23:15these two wigets included to the Epic
  469. 23:17type um we do have a disable option in
  470. 23:22widgets but um it's not really um it
  471. 23:27doesn't really work as expected because
  472. 23:30every time we import old widgets we
  473. 23:33don't populate these features so if you
  474. 23:35add a widget today as disable once the
  475. 23:38Importer runs again like for example in
  476. 23:41a new instance it will just write it
  477. 23:44with the default value that is enabled
  478. 23:48um so we just have to if we agree to do
  479. 23:50it this way we will have to modify the
  480. 23:52code and also back fill all the witches
  481. 23:55that we haven't been added um to the
  482. 23:59types for example the we have a widget
  483. 24:02called process and that's only added to
  484. 24:05key results and uh objectives so we will
  485. 24:09have to add it to all the
  486. 24:13types that that make
  487. 24:17sense yeah I think it makes sense I I
  488. 24:21don't remember I know that we discussed
  489. 24:22it I don't remember why we decided to
  490. 24:25have like not creating the re Rec and
  491. 24:28also having the
  492. 24:30disabled feature I I guess you need a
  493. 24:33way to differentiate between a feature
  494. 24:37where a widget not being supported and a
  495. 24:39widget being disabled by the customer in
  496. 24:42in a way right so like later down the
  497. 24:46stream when you have
  498. 24:48configurable work item types a customer
  499. 24:52like a a widget is supported by whatever
  500. 24:55type for instance by epic type but the
  501. 24:58customer decides that they don't want it
  502. 25:01then you kind of have that disabled tick
  503. 25:04um but I don't know that we would have
  504. 25:08any widgets across all the types that
  505. 25:11are not supported right like there is no
  506. 25:14reason for an epic to not support
  507. 25:16iteration or for an okr to objective to
  508. 25:20not support iteration like we are
  509. 25:22calling it that these are not supported
  510. 25:24but that's just because how we see
  511. 25:26objectives and epics and all that stuff
  512. 25:29it doesn't mean that the customer should
  513. 25:31not be able to do that um so yeah I I
  514. 25:36think it kind of makes
  515. 25:40sense yeah I also think that this
  516. 25:43disabled flag was eded for this reason
  517. 25:45so we could override the enable band
  518. 25:48inside a specific name space later down
  519. 25:51the road but I said it's a long time ago
  520. 25:55we edit this so I can I can check
  521. 25:59tomorrow
  522. 26:00uh yeah uh I think it's it shouldn't be
  523. 26:06needed to to basically have this flag at
  524. 26:10this point uh
  525. 26:12so it I I can think of the reason why we
  526. 26:17would need to set disabled explicitly
  527. 26:20for default types uh at this point but
  528. 26:23if it helps then it's an option
  529. 26:26to
  530. 26:28I think from uh the the setup we have in
  531. 26:31the back end at the moment it it's okay
  532. 26:33to just keep adding the widget to the
  533. 26:36type we want for example color to Epic
  534. 26:39and that's it but um I I was wondering
  535. 26:43if from product perspective there's a
  536. 26:45reason why we would want to include
  537. 26:48every new widget from now on in every
  538. 26:51type U Because unless I understood this
  539. 26:56wrong is um that's has been the request
  540. 26:59to include every widget in every
  541. 27:02type but it also makes the transition
  542. 27:05right conversion of one type to another
  543. 27:07easier if you already have the types I
  544. 27:10guess so like in when you convert an
  545. 27:13epic to an issue if you already have the
  546. 27:16widgets there but they are just disabled
  547. 27:18you don't have to create new records
  548. 27:19basically in the database you just set
  549. 27:23the flag to enabled and and whatever we
  550. 27:25just need to be disabled to disable
  551. 27:28um so that perspective it's easier I
  552. 27:31guess I'd say from a prog perspective
  553. 27:34one of the far further away things that
  554. 27:37we wanted to explore is allowing
  555. 27:39customers to customize work item types
  556. 27:42where they could change the name but
  557. 27:43also enable disable different widgets
  558. 27:46right so if somebody doesn't want to use
  559. 27:48a certain widget uh it being able to
  560. 27:51disable it reduces the noise right and
  561. 27:53cleans up the experience the reason why
  562. 27:56we've been more explicit about saying
  563. 27:58omit things like Milestones on epics for
  564. 28:00now for example we know that customers
  565. 28:03want to be able to associate Milestones
  566. 28:04epics but there's a lot of like
  567. 28:06dependencies to make that a good
  568. 28:07experience like we need to handle how
  569. 28:09we're going to display parents on time
  570. 28:11box reports for example which were kind
  571. 28:13of sorting through right now with issues
  572. 28:15and tasks and what how that will look
  573. 28:17but it's almost like for certain things
  574. 28:19that we want to have disabled for now
  575. 28:20it's because the user
  576. 28:22experience hasn't been cleaned up enough
  577. 28:25for that particular use case as like
  578. 28:27during this transition period but we do
  579. 28:29want to make it so that that makes sense
  580. 28:31there will be things times where like it
  581. 28:34doesn't make widget make sense to have a
  582. 28:36widget on other different types right
  583. 28:38like progress for example um but that's
  584. 28:41also something where I could see
  585. 28:43progress being extended to like
  586. 28:44automatically calculate progress from
  587. 28:46children on parent work item types right
  588. 28:49so it's sort of it makes sense to have
  589. 28:52all the widgets be available for all
  590. 28:53types if they can be uh explicitly
  591. 28:55disabled right and until we want like
  592. 28:59until the user experience is at a point
  593. 29:01where we can we can enable it and not be
  594. 29:03a weird experience um that's my ense
  595. 29:07Amanda anything else
  596. 29:10on no you're spot
  597. 29:13on yes so I guess the question well not
  598. 29:16the question but it sounds like as of
  599. 29:18now there are no widgets that are not
  600. 29:22explicitly supported on on a specific
  601. 29:24type right like all widgets are
  602. 29:26supported basically on all types is just
  603. 29:29that on some types we don't want them
  604. 29:31enabled because of whatever reason
  605. 29:34because just how we see the types
  606. 29:36behaving at this point in time basically
  607. 29:39right because like yeah eventually if we
  608. 29:41come down to the time where some widgets
  609. 29:46doesn't make sense to be supported on a
  610. 29:48time we need
  611. 29:51to we need to be able to kind of specify
  612. 29:54that somehow in the database and we
  613. 29:55cannot reuse the disabled field for that
  614. 29:58because that signifies something
  615. 30:00different that means that the customer
  616. 30:02disabled that it doesn't mean that it's
  617. 30:03not supported um but it sounds like
  618. 30:06right now we don't yet need that and
  619. 30:08when we need that we can we can just add
  620. 30:10another field like unsupported or
  621. 30:12something like that I don't know right
  622. 30:14because I think the the the high level
  623. 30:18architecture design goal at this point
  624. 30:20is to make everything work with
  625. 30:21everything to be like a sort of generic
  626. 30:25uh extensible object model and more we
  627. 30:27like are hardcode logic against that
  628. 30:30that's why I've sort of been uh
  629. 30:32championing like don't hardcode logic
  630. 30:34against types because it makes it harder
  631. 30:37to reason about and also makes it like
  632. 30:39more complicated to add in like this is
  633. 30:42only going to work with that thing but
  634. 30:43not this other thing what we really want
  635. 30:45to do is just make it a generic
  636. 30:47extensible object model called work IEM
  637. 30:49that everything sort of works together
  638. 30:51and that way we design it at least a
  639. 30:53happy path of everything working on
  640. 30:55everything uh that's the ultimate goal
  641. 30:58and then from there we can like figure
  642. 31:00stuff out but I I don't see us
  643. 31:03uh deviating from that like primary
  644. 31:06objective from a vision
  645. 31:15standpoint but just to conclude like it
  646. 31:18sounds euga that we should be adding all
  647. 31:22widgets to all types and just tick the
  648. 31:25disabled field to whatever it needs to
  649. 31:27be enabled or disabled based on on that
  650. 31:30type okay in in that case maybe this is
  651. 31:33something that can be done um to
  652. 31:36backfield was missing and also modify we
  653. 31:40populate the disable column if that's we
  654. 31:43agree mostly to not block the two
  655. 31:46current whiches we have the color and
  656. 31:49dates they're been added only to Epic um
  657. 31:53because if we add it with disable for
  658. 31:56all all the time that this will be
  659. 31:58deleted with the
  660. 32:00Importer so I can create an issue for
  661. 32:03this but if if we decide I think it's
  662. 32:06important as well because maybe other
  663. 32:08teams can add widgets so if we have a
  664. 32:11standard of what we do with new widgets
  665. 32:14should is ideal um so we can say every
  666. 32:17new widget needs to be added to every
  667. 32:19type and disable where we don't want it
  668. 32:22supported um but yeah this will have to
  669. 32:26be back fi
  670. 32:32uh will we pass the um will we pass the
  671. 32:35work item widgets to the graphql API
  672. 32:41then just with
  673. 32:42disabled because if so we'll need to
  674. 32:45there'll need to be some front end
  675. 32:46changes
  676. 32:47also um we yeah we are fetching only um
  677. 32:52enable widget so that that's working in
  678. 32:54that we only display for types what's
  679. 32:57enabled but we don't have a single
  680. 32:59widget in the database that's
  681. 33:02disabled every widget disable um column
  682. 33:07is false that's the default value we
  683. 33:10haven't added H so it wasn't sure to
  684. 33:13begin with if this feature was supposed
  685. 33:16to be used for that or maybe for the
  686. 33:18customer overriding it later um so it
  687. 33:22was more about the decision of if we
  688. 33:23keep going like we do the unsupported
  689. 33:26means not adding it to the type or that
  690. 33:29we have to add it to every type and
  691. 33:31change that column value um that seems
  692. 33:34to be the second option seems to be what
  693. 33:36we agree
  694. 33:47on then I wonder though
  695. 33:51then I wonder if we should um be adding
  696. 33:54actually a new column instead of using
  697. 33:57the
  698. 33:58disabled so that we don't confuse
  699. 34:01ourselves down the line when we get to
  700. 34:04the point where we want to support
  701. 34:07disabled and not disabled by the
  702. 34:08customer right because then our code
  703. 34:11will be using disabled all over the
  704. 34:13place but but it will actually mean
  705. 34:14unsupported right um in the specific
  706. 34:20type so so maybe I don't know but what
  707. 34:23would be the difference when when the
  708. 34:25customer they say a widget is
  709. 34:29it only for
  710. 34:31them yeah it's it's only for their space
  711. 34:34yeah it's when you say like it's
  712. 34:37disabled but because this is how I want
  713. 34:39to construct the work item type for
  714. 34:42myself I I want to disable this widget
  715. 34:45and this widget uh even though it's
  716. 34:47still supported on that type
  717. 34:52um they're all supported on all types
  718. 34:55except when we we've automatically
  719. 34:58disabled them on the customer's
  720. 35:01behalf
  721. 35:03right at this point in time I think so
  722. 35:05right yeah so so yeah so then we don't
  723. 35:07need a field it's
  724. 35:10like that's the way I understand it is
  725. 35:12like if you go to
  726. 35:14your epic work item customization page
  727. 35:18where you can customize the Epic work
  728. 35:20item you'll see a bunch of fields that
  729. 35:22don't make any sense for epic that are
  730. 35:24well don't that's wrong
  731. 35:27that we don't currently support for epic
  732. 35:29but we do for other work items that you
  733. 35:30could switch switch on if you felt like
  734. 35:33it or if they suited your if it's suited
  735. 35:35your work yeah yeah actually that makes
  736. 35:37sense
  737. 35:38right I mean yeah these are basically
  738. 35:41presets this is something preconfigured
  739. 35:44uh that you as a customer has copied
  740. 35:46over from a um a gitlab preset but you
  741. 35:50can modify it by by switching off the or
  742. 35:52on the disabled field
  743. 35:55yeah uh it's a good discussion I mean uh
  744. 35:59I recently worked started working on
  745. 36:01color widget right so I went through the
  746. 36:04uh the work that has done eight months
  747. 36:05ago which is moving into work item
  748. 36:07definition table prior to that we were
  749. 36:10using just constants so what I
  750. 36:12understand today is uh if you take
  751. 36:15example of progress widget in the
  752. 36:17database it is only present for
  753. 36:18objective and key result objects or for
  754. 36:21those for those types the record is not
  755. 36:23even present for any of the other work
  756. 36:25item types and according to yanan's
  757. 36:28comment I also agree this because I just
  758. 36:30followed through the implementation doc
  759. 36:32of work item definitions which clearly
  760. 36:34said disable would be used for overring
  761. 36:37of type names so I think as Alexandra
  762. 36:40also said before taking a call on
  763. 36:43whether to use whether to add widget to
  764. 36:45all the types and then use disabled or a
  765. 36:47new column let's figure out a way of uh
  766. 36:50how to handle the overriding part at the
  767. 36:53same time also think about disabled ones
  768. 36:56and then we can can take it Forward I
  769. 37:04guess yeah I think if the customer can
  770. 37:07override to disable they can also
  771. 37:10they're going to be able to override to
  772. 37:12enable something if we add it to every
  773. 37:14type yeah I mean but I think froman's
  774. 37:18perspective I think what he meant by
  775. 37:20overriding I mean correct me if I'm
  776. 37:21wrong but what I understood is by
  777. 37:23overriding they're basically changing
  778. 37:25the work item type name from issue to
  779. 37:28maybe uh get some other company's issue
  780. 37:31they're changing the name itself maybe
  781. 37:33some people might call objective as a k
  782. 37:36as a kpi right in those cases he wanted
  783. 37:38to dis use the disabled field for the KR
  784. 37:42and progress and then create a new
  785. 37:44record which says
  786. 37:46kpi uh for that disabled would be true
  787. 37:49that's what he meant by overriding I
  788. 37:51guess if I'm
  789. 37:52correct yes yeah yeah so so whenever we
  790. 37:56didn't get the yet right we don't have
  791. 37:58any customization but when we get into
  792. 38:00customization of the work item types
  793. 38:02each root namespace will have to create
  794. 38:05a copy of the record that they want to
  795. 38:07override right so the yeah when we will
  796. 38:11move on to
  797. 38:12customization if there are no specific
  798. 38:15records for that Nam space they will be
  799. 38:18using the the instance records the one
  800. 38:21that have Nam space null but if they
  801. 38:23want to customize it at the time that
  802. 38:25they want to custom cze a new copy or a
  803. 38:29copy of that record for that namespace
  804. 38:31will be created and then you can change
  805. 38:33a bunch of the attributes for the type
  806. 38:35name uh enable disabled like widgets
  807. 38:39maybe names of the widgets we'll see
  808. 38:41like labels of the widgets that there is
  809. 38:43a lot to play with uh but they will
  810. 38:45still use that disabled tick but only
  811. 38:48for their own record so you'll you'll
  812. 38:51kind of have a union of all the records
  813. 38:54from the instance level and the names
  814. 38:56space
  815. 38:58yep well not not a union but an
  816. 39:00exclusion I guess but yeah you you get
  817. 39:03the idea yeah yeah so sounds like we
  818. 39:06need an issue for this uh to backfill
  819. 39:08all those
  820. 39:10um backs pH John I think the primary
  821. 39:14thing is uh we need to basically
  822. 39:16standardize how we want to override it
  823. 39:18when we want to override it then also
  824. 39:21have the support of adding disable
  825. 39:23because earlier there was not a concept
  826. 39:25of adding all the widgets to all the
  827. 39:26types by default that's why the field
  828. 39:28disabled is used in the earlier issues
  829. 39:31so now I think we have two problems at
  830. 39:32the hand one is overriding the type name
  831. 39:35by the user the second is if you want to
  832. 39:37provide all the vgs to all the work item
  833. 39:39types by default then how do we track
  834. 39:41enables and
  835. 39:45disables so there is no overriding at
  836. 39:48this point in time yeah at this point we
  837. 39:50have we don't have it but I'm I'm just
  838. 39:51seeing because as it is as the point is
  839. 39:54covered in the work item definition
  840. 39:57stable implementation I'm just bringing
  841. 39:58it
  842. 40:00out yeah I still think we need the back
  843. 40:02filling to be done
  844. 40:04and for the records that are missing we
  845. 40:07just set the disabled to true so we do a
  846. 40:11back filling of the missing widgets but
  847. 40:14with disabled through at this point in
  848. 40:17time and move forward with that concept
  849. 40:20that for the instance level work item
  850. 40:24types we will def we will will Define
  851. 40:28the uh widgets that are not supported in
  852. 40:31our concept by setting the disabled
  853. 40:34through yeah I mean even see that part
  854. 40:37is clear Alexander I mean the disabled
  855. 40:39part and all the widgets that part I'm
  856. 40:41clear now the another problem which is
  857. 40:44addressed earlier and which will miss
  858. 40:45now if you use disabled for this purpose
  859. 40:47is if the user want to rename task to
  860. 40:50let's say task one as their the default
  861. 40:53type name in that case uh
  862. 40:57the the the the current proposal is to
  863. 41:00add a new add a new record for each and
  864. 41:02every vget for the type in the work item
  865. 41:05definition uh with the disabled as false
  866. 41:08and then make disabled true for the
  867. 41:10previous work item
  868. 41:11type no no okay then maybe I got it
  869. 41:15wrong yeah so when when you when the
  870. 41:18customer wants to create to to rename
  871. 41:20the task to task one right a new record
  872. 41:24for the type is created right with the
  873. 41:26task one and then all the widgets as
  874. 41:30they are for the task are copied and
  875. 41:33referenced to the task one and now is
  876. 41:36only when the customer could go into
  877. 41:38their configuration UI or whatever and
  878. 41:42said disabled or enabled or or like
  879. 41:45switch on or off all of those widgets so
  880. 41:49so when you want to basically redefine a
  881. 41:52type you get you get a copy of all the
  882. 41:55widgets um just the same as they were
  883. 41:58before but now you have the capability
  884. 42:00of only changing your own type and not
  885. 42:04the instance level time got it got it
  886. 42:06now it makes sense I think then just
  887. 42:08back filling would do would suffice
  888. 42:12yeah cool right does does anyone have
  889. 42:14capacity to take this um just to create
  890. 42:17the issue uh we can worry about who
  891. 42:19actually does it later but I think we
  892. 42:20need the back filling and it sounds like
  893. 42:22we might need a docs update as well for
  894. 42:25anyone who might be on boarding in
  895. 42:28future yes I can create the
  896. 42:33issue where does it go this issue though
  897. 42:35because like it seems like it's blocking
  898. 42:38adding a couple of widgets so I guess it
  899. 42:40goes to workstream one as the feature
  900. 42:43parity
  901. 42:45thing yeah I will say so it's part of
  902. 42:47feature uh the features we're adding I
  903. 42:50think um because this would need a
  904. 42:53modifying the Importer code we we are
  905. 42:57okay with allowing the current witches
  906. 42:58to move move on we don't want to block H
  907. 43:01Color and dates so they can keep adding
  908. 43:04it just to Epic and then when we do back
  909. 43:06fill we back fill these two new widgets
  910. 43:09as
  911. 43:10well um I think that would be okay
  912. 43:14otherwise we would block these two
  913. 43:19widgets okay if we backfill
  914. 43:25everything disabled true do we have the
  915. 43:28do we have the logic in there to take
  916. 43:30account of disabled being
  917. 43:33true because if I if I heard you right
  918. 43:35we all only have disabled fals minute
  919. 43:38when we fetch the widget from a type we
  920. 43:42fetch enabled ones only enabled ones the
  921. 43:46the thing is none of them are disabled
  922. 43:47at the moment but the the logic there is
  923. 43:50is is present I mean in in other words
  924. 43:53today when you fetch widgets uh we fetch
  925. 43:55basically all the vs attached to the
  926. 43:57type because we are not honoring the
  927. 43:59disabled field at the point at this
  928. 44:00point of time going forward we will just
  929. 44:02add a check by checking only return
  930. 44:05disabled uh false
  931. 44:08ones and we do have it in in the places
  932. 44:11I checked at least
  933. 44:14um I mean from type I think when you go
  934. 44:17to uh type
  935. 44:20okay I mean I thought we getting those
  936. 44:22constants uh we getting those things
  937. 44:24from the constants
  938. 44:34I mean we can easily add a couple
  939. 44:37specs and make sure that if a widget is
  940. 44:39disabled it's not fetched I think it
  941. 44:41should not be too too much too difficult
  942. 44:45but yeah is like we can we can specify
  943. 44:48that in the issue make
  944. 44:50sure St coverage that like only
  945. 44:54non-disabled widgets are returned or
  946. 44:56something like that and we can create a
  947. 44:58list of places where we need to check
  948. 45:00that that is happening um when fetching
  949. 45:03a work item or fetching a list of work
  950. 45:05items I don't know whatever graph
  951. 45:08queries we have I think at the model
  952. 45:11level it would suffice
  953. 45:15U because I believe we do use couple of
  954. 45:18methods which says available widgets uh
  955. 45:20that should do the trick I guess and
  956. 45:23today that point in that method we don't
  957. 45:25have any checks regarding to disabled
  958. 45:27field if he add it there that should do
  959. 45:29the trick I guess for the most part but
  960. 45:31I'm just thinking on my feet I could be
  961. 45:33wrong
  962. 45:41here Eugenia you already have an
  963. 45:44assigned uh takeway from this meeting
  964. 45:46are you sure you're okay with the second
  965. 45:48one I just because I I raise the
  966. 45:50discussion I feel guilty of just someone
  967. 45:53else having to deal with it I can do it
  968. 45:55tomorrow I can be the for or somebody
  969. 45:58else could to
  970. 46:00it perhaps aash can take it over as well
  971. 46:04if you don't mind
  972. 46:06aage yeah I I'm okay I can I can I'll
  973. 46:09spin up an issue with the draft uh what
  974. 46:11I understood from this call I'll open I
  975. 46:13I'll share the issue in the channel uh s
  976. 46:15plan backend channel uh we could
  977. 46:17basically take it from there perfect
  978. 46:20thanks yeah avash all we need at the
  979. 46:22minute is the issue yep thanks
  980. 46:30yeah if you could copy Eugenia as well
  981. 46:32in on that because um she's the DI for
  982. 46:34the first work stream as well thanks
  983. 46:52go okay all right okay so
  984. 46:56I guess that's all we
  985. 46:59have so unless uh uh anyone plans to I
  986. 47:05mean we we'll obviously have another
  987. 47:06call next week like last call for the
  988. 47:09year uh I'll be around uh in case anyone
  989. 47:12wants to show up otherwise this would
  990. 47:13probably be last proper long uh call of
  991. 47:17the year before we move into 2024
  992. 47:21so it's been a pleasure Casal and
  993. 47:24everybody thank you for for chairing the
  994. 47:26meetings K and for moving us forward um
  995. 47:30and thanks to everyone who took a work
  996. 47:31stream or contributed in some way
  997. 47:34um it's been exciting I think this is
  998. 47:37the last big thing we do before we can
  999. 47:40really start delivering serious user
  1000. 47:42value on the work items platform so it's
  1001. 47:44going to be really really
  1002. 47:48exciting all right everyone happy
  1003. 47:51Holidays happy holidays see you bye bye
  1004. 47:55bye

About this transcript

This page contains the full transcript of Epic Work Items Migration - Weekly Sync by GitLab Unfiltered, generated from the public captions YouTube serves with the video. The transcript has 7,118 words across 1,004 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.