Meeting Title: AI Platform - Linear Slack Automation - Worksession Date: 2026-02-24 Meeting participants: Gabriel Lam, Samuel Roberts


WEBVTT

1 00:00:22.430 00:00:23.080 Samuel Roberts: A.

2 00:00:23.450 00:00:24.550 Gabriel Lam: Hello?

3 00:00:25.450 00:00:26.710 Samuel Roberts: Where’s your day going?

4 00:00:27.120 00:00:34.820 Gabriel Lam: It’s good, pretty busy, and… For some reason, quite cold.

5 00:00:34.820 00:00:35.550 Samuel Roberts: Really?

6 00:00:35.550 00:00:38.800 Gabriel Lam: Yeah, I… I don’t know how that happened.

7 00:00:40.370 00:00:46.640 Gabriel Lam: But at least my power is still running, which apparently is, not what some other people in the city can say, so…

8 00:00:46.640 00:00:47.450 Samuel Roberts: Yeah.

9 00:00:47.450 00:00:49.200 Gabriel Lam: I’m glad in that sense.

10 00:00:49.590 00:00:52.020 Samuel Roberts: Yeah, I heard some crazy stuff going on.

11 00:00:52.020 00:00:52.440 Gabriel Lam: Yeah.

12 00:00:52.440 00:00:55.890 Samuel Roberts: My parents are very happy to be in Florida and not in Winthrop.

13 00:00:56.430 00:00:57.390 Gabriel Lam: Oh, yeah.

14 00:00:58.390 00:01:01.779 Samuel Roberts: I guess there was, like, a water main break and stuff, like…

15 00:01:01.780 00:01:02.720 Gabriel Lam: Oh, no.

16 00:01:02.720 00:01:10.789 Samuel Roberts: Which I’m like, that’s… that’s bad, but that… it caused sinkholes and stuff, so, like, it was like, I didn’t get all the details, but my mom was like, yeah, people were… yeah. Oh. Crazy stuff.

17 00:01:12.720 00:01:14.299 Samuel Roberts: Okay.

18 00:01:15.910 00:01:19.479 Gabriel Lam: Yes, I’m happy to dive right in, because I do have a hard stop in an hour.

19 00:01:19.480 00:01:20.120 Samuel Roberts: Yeah, yeah.

20 00:01:20.120 00:01:25.840 Gabriel Lam: But… let me… Try to share…

21 00:01:25.840 00:01:27.600 Samuel Roberts: Sure. What I’ve done.

22 00:01:32.070 00:01:38.360 Gabriel Lam: Give me, like, a minute, because I think my script is still running, and I want to see if it actually does something.

23 00:01:39.010 00:01:41.110 Gabriel Lam: But we’ll see.

24 00:01:46.220 00:01:46.900 Samuel Roberts: Alright.

25 00:02:11.850 00:02:15.130 Gabriel Lam: Maybe it might be better if I just commit it, but anyways…

26 00:02:15.800 00:02:19.819 Gabriel Lam: What I have so far is…

27 00:02:22.260 00:02:25.700 Gabriel Lam: I drew up a plan to essentially

28 00:02:27.280 00:02:32.090 Gabriel Lam: circumvent our existing flow and use…

29 00:02:32.850 00:02:35.760 Gabriel Lam: the… I haven’t committed this, but .

30 00:02:35.760 00:02:36.170 Samuel Roberts: Okay.

31 00:02:36.170 00:02:38.369 Gabriel Lam: I really liked what we had with the dry run.

32 00:02:39.730 00:02:44.239 Gabriel Lam: if I can… Maybe share what it shows again.

33 00:02:44.690 00:02:53.910 Gabriel Lam: Where I think it pretty accurately shows what it creates and what it updates. And so what I was working on yesterday and today was… there we go!

34 00:02:54.020 00:02:54.940 Gabriel Lam: That it would do this.

35 00:02:54.940 00:02:55.730 Samuel Roberts: Nice.

36 00:02:56.360 00:03:01.169 Samuel Roberts: Oh, very cool. I was just playing with Slack stuff for the HubSpot thing, I haven’t played with the blocks much, but I feel like…

37 00:03:02.030 00:03:02.960 Samuel Roberts: to do.

38 00:03:03.240 00:03:03.940 Gabriel Lam: Yes.

39 00:03:03.980 00:03:05.380 Samuel Roberts: I.

40 00:03:05.960 00:03:11.500 Gabriel Lam: Let me see if that… What happens if I press approve? I’ve actually…

41 00:03:12.300 00:03:15.649 Gabriel Lam: I literally just got a twerk. I guess it doesn’t do anything. Okay, yeah, so…

42 00:03:15.650 00:03:18.760 Samuel Roberts: Well, yeah, it didn’t… It didn’t do…

43 00:03:19.800 00:03:25.320 Samuel Roberts: Okay, those are other unrelated messages. Okay, interesting, okay.

44 00:03:25.620 00:03:26.679 Gabriel Lam: And let’s see.

45 00:03:26.680 00:03:28.990 Samuel Roberts: Yeah, I was gonna check to see if anything happened in…

46 00:03:31.190 00:03:35.229 Gabriel Lam: It hasn’t done anything… nope.

47 00:03:35.230 00:03:38.979 Samuel Roberts: Okay. That’s fine. I’m actually not sure what,

48 00:03:39.370 00:03:42.080 Samuel Roberts: So that one you clicked, was that the top one?

49 00:03:42.080 00:03:42.690 Gabriel Lam: Yes.

50 00:03:43.140 00:03:45.909 Samuel Roberts: So, it says would update, but it doesn’t say what…

51 00:03:46.230 00:03:48.339 Samuel Roberts: Change is gonna be, does it?

52 00:03:48.650 00:03:52.950 Gabriel Lam: No, so… Yeah.

53 00:03:53.990 00:03:58.860 Gabriel Lam: I think it… what I wanted it to do was to… take…

54 00:03:59.340 00:04:01.309 Gabriel Lam: Because we already had a schema.

55 00:04:01.560 00:04:09.890 Gabriel Lam: with the title and the team and the assignee, to basically use that as a block into Slack. Now, whether that actually integrates into Linear, I am.

56 00:04:09.890 00:04:16.700 Samuel Roberts: That’s aware of. Fair enough, yeah. So we got this far, and then the next step is from here into linear. Okay.

57 00:04:16.709 00:04:18.749 Gabriel Lam: Yeah, so actually, silly, let me just…

58 00:04:20.889 00:04:23.439 Gabriel Lam: Let me just commit what I just had.

59 00:04:24.540 00:04:25.090 Samuel Roberts: Okay.

60 00:04:26.070 00:04:28.790 Gabriel Lam: And then… Alright.

61 00:04:52.130 00:04:55.479 Gabriel Lam: And I think it should be there, so I check.

62 00:05:06.400 00:05:09.300 Samuel Roberts: Let me fetch.

63 00:05:14.850 00:05:17.960 Gabriel Lam: Yeah. It’s… I think it’s checking at the moment.

64 00:05:18.260 00:05:21.590 Gabriel Lam: But it’s been committed.

65 00:05:22.270 00:05:27.969 Samuel Roberts: Okay, yeah, I see you added Slack buttons. Yes. Okay, cool. So I got an error at first, but I think that was just me. Cool.

66 00:05:28.840 00:05:35.070 Gabriel Lam: Yeah, so… I remember another thing is… oh, pull request checks failed. Okay, that’s fine.

67 00:05:35.900 00:05:42.300 Gabriel Lam: Yeah. But last time we had talked about… confirming…

68 00:05:42.520 00:05:47.480 Gabriel Lam: The tickets to make sure, first of all, that they’re in the right schema for the update.

69 00:05:48.250 00:05:53.080 Gabriel Lam: Which basically is just, like, I think having them as comments would be easiest.

70 00:05:53.390 00:05:53.929 Samuel Roberts: I think so, yeah.

71 00:05:53.930 00:05:54.569 Gabriel Lam: Yeah, so I changed that.

72 00:05:54.570 00:05:56.519 Samuel Roberts: from… yeah, okay, yep, I remember.

73 00:05:56.800 00:05:59.169 Gabriel Lam: And then the second thing would be…

74 00:06:00.510 00:06:04.400 Gabriel Lam: Whether we wanted them to run, like, sort of in parallel versus, like.

75 00:06:05.580 00:06:08.750 Gabriel Lam: In series, I believe, that’s what we had talked about.

76 00:06:12.840 00:06:13.890 Samuel Roberts: Oh, yeah.

77 00:06:16.530 00:06:17.290 Samuel Roberts: Okay.

78 00:06:17.590 00:06:18.610 Gabriel Lam: But yes.

79 00:06:19.880 00:06:25.020 Samuel Roberts: Yeah, were we talking… sorry, were we talking about that for when it’s generating them then, or…

80 00:06:25.720 00:06:27.789 Samuel Roberts: For pushing them? I don’t remember, sorry.

81 00:06:28.360 00:06:30.330 Gabriel Lam: I also don’t remember exactly.

82 00:06:30.330 00:06:31.080 Samuel Roberts: Okay.

83 00:06:31.080 00:06:32.630 Gabriel Lam: I was sort of just like…

84 00:06:32.770 00:06:37.199 Gabriel Lam: deep in the, how does a… how does Slack read a… read a block?

85 00:06:37.200 00:06:49.380 Samuel Roberts: Yeah, yeah. Yeah, I was doing the same thing just now. I had a big Markdown thing, and I pushed it and sent myself a message, and it was just ugly, and I was like, oh, yeah, yeah, yeah, it doesn’t… right, right. Okay. Well, let me… let me pull this down.

86 00:06:52.500 00:06:59.439 Samuel Roberts: Let me… remember… so the dry run is still what we’re using to…

87 00:06:59.920 00:07:02.000 Gabriel Lam: Yup, and I think that might…

88 00:07:02.130 00:07:07.729 Gabriel Lam: cause… maybe this is, like, a later issue, but, like, I think because of that, a lot of the…

89 00:07:08.490 00:07:12.910 Gabriel Lam: Commands are probably… not.

90 00:07:13.780 00:07:15.560 Gabriel Lam: Named so well.

91 00:07:16.760 00:07:22.579 Gabriel Lam: But I do think, actually, the dry one can circumvent what is happening at the moment, which is…

92 00:07:23.150 00:07:27.400 Gabriel Lam: Tickets going into… Superbase.

93 00:07:28.650 00:07:31.329 Gabriel Lam: Sorry, let me, let me step back. Okay.

94 00:07:31.530 00:07:37.280 Gabriel Lam: There’s been a long-standing issue where the find common teams command, when it does not run.

95 00:07:37.800 00:07:41.230 Gabriel Lam: means that tickets are never sort of staged into Subabase?

96 00:07:43.210 00:07:48.610 Gabriel Lam: And so… up many, like, I’d say…

97 00:07:48.720 00:07:51.779 Samuel Roberts: You know, maybe half of our meetings run into that problem.

98 00:07:52.130 00:08:01.559 Gabriel Lam: But with the dry run, what I’ve noticed is every single, more or less, I don’t think I’ve really… I’ve yet to encounter a problem where the dry run…

99 00:08:01.700 00:08:03.020 Gabriel Lam: doesn’t produce.

100 00:08:03.220 00:08:05.600 Gabriel Lam: Tickets, or doesn’t produce text.

101 00:08:05.980 00:08:08.060 Gabriel Lam: Or results from a meeting.

102 00:08:09.100 00:08:11.880 Gabriel Lam: So that’s a great, a great…

103 00:08:12.140 00:08:16.170 Gabriel Lam: I saw it as, like, okay, what if we just took the dry run and ran with it?

104 00:08:16.530 00:08:26.600 Samuel Roberts: Yeah, I’m trying to think why… I wonder why that hap… well, no, we can dig into the issue with the current setup if we need to, but yeah, if it’s not… I wonder why that happens. But yeah, I don’t think we need to even…

105 00:08:28.970 00:08:32.520 Samuel Roberts: Yeah, we can bypass that completely, I think. I don’t see why…

106 00:08:36.080 00:08:37.059 Samuel Roberts: Yeah.

107 00:08:37.760 00:08:44.890 Samuel Roberts: I’m trying to think. That was… that was… so basically, I think the reason it had the Super Base to begin with was because we were pre-generating and then wanted to be able to…

108 00:08:45.210 00:08:49.199 Samuel Roberts: open those meetings, but if we’re doing Slack messages, I don’t think that’s as critical.

109 00:08:49.900 00:08:54.020 Samuel Roberts: And then let’s just go right into linear or not. Yeah, okay, that sounds good.

110 00:08:56.250 00:09:00.290 Samuel Roberts: Just, sorry, you have a hard stop at 3.30, you said?

111 00:09:00.430 00:09:00.960 Gabriel Lam: Yep.

112 00:09:02.180 00:09:07.600 Samuel Roberts: Good, because I have a meeting then, but now they’re trying to schedule another meeting, and I’m just like, I don’t know when this is all gonna work.

113 00:09:07.600 00:09:08.140 Gabriel Lam: Okay.

114 00:09:09.500 00:09:11.739 Samuel Roberts: Alright, one sec, they were just… I was like, oh, no, no, no.

115 00:09:11.740 00:09:13.510 Gabriel Lam: Okay, I’ll probably be, yeah.

116 00:09:14.050 00:09:17.290 Gabriel Lam: I probably can’t be back until, like, 5, so…

117 00:09:17.290 00:09:22.269 Samuel Roberts: That’s why I wanted to have this time now. There’s… I have… yeah, it’s fine. Okay.

118 00:09:22.510 00:09:26.539 Samuel Roberts: So let’s see, what, okay, I’m looking at the code here, I see all the block stuff…

119 00:09:29.290 00:09:31.179 Samuel Roberts: Okay, so let me…

120 00:09:31.980 00:09:37.080 Samuel Roberts: Do I have the right environment there? Oh, you have them hard-coded here. Okay, cool.

121 00:09:37.240 00:09:41.719 Samuel Roberts: That’s perfect. Good. I was about to say, I didn’t have my environment set up right, but…

122 00:09:41.900 00:09:45.289 Samuel Roberts: I think we’re go- so let me open that one…

123 00:09:48.920 00:09:52.689 Samuel Roberts: Okay, I’m gonna switch over to me instead of you.

124 00:09:52.960 00:09:53.919 Gabriel Lam: Yes, of course.

125 00:09:53.920 00:09:55.000 Samuel Roberts: Cool, just to…

126 00:09:55.000 00:09:56.939 Gabriel Lam: just be in the dry run.ts. Yep.

127 00:09:56.940 00:10:00.519 Samuel Roberts: Exactly, yeah, I just wanted to make sure. Okay, so then, I think it was… is it just…

128 00:10:02.900 00:10:06.759 Samuel Roberts: I’m trying to remember how we run it offhand. Do I just run that as a script, or do we have to.

129 00:10:06.760 00:10:07.400 Gabriel Lam: Yeah.

130 00:10:08.570 00:10:10.620 Gabriel Lam: So, I had it…

131 00:10:13.530 00:10:19.620 Gabriel Lam: there’s two ways. One was to run the script, which is, like, dry dash run dash linear dash pipeline.

132 00:10:19.760 00:10:21.859 Gabriel Lam: The other one was… there was,

133 00:10:22.320 00:10:24.460 Gabriel Lam: I had linked it to the webhook.

134 00:10:25.840 00:10:30.149 Gabriel Lam: So, if we run the, sort of, trigger meeting created webhook.

135 00:10:30.310 00:10:30.870 Samuel Roberts: Dad.

136 00:10:30.870 00:10:32.079 Gabriel Lam: the meeting ID.

137 00:10:32.460 00:10:39.300 Gabriel Lam: I added that so that that would also work. And the problem was, I wasn’t able to attach it or to link it to the dev app.

138 00:10:39.930 00:10:43.350 Gabriel Lam: So… Because this isn’t live,

139 00:10:43.630 00:10:46.730 Gabriel Lam: It doesn’t automatically generate at the moment.

140 00:10:46.730 00:10:50.570 Samuel Roberts: Right, right, right, of course. Okay, that makes sense. So for,

141 00:10:52.250 00:10:55.889 Samuel Roberts: Excuse me. Alright, so to run this, I just need a meeting ID, is that right?

142 00:10:55.890 00:10:56.560 Gabriel Lam: Yes.

143 00:10:56.710 00:11:03.409 Samuel Roberts: Okay. NPM… Runs… What’s this, an apps, platforms, let me get into that folder, sorry.

144 00:11:06.610 00:11:08.569 Samuel Roberts: Oh, I should probably share my screen, too, for a second.

145 00:11:08.570 00:11:12.999 Gabriel Lam: You’re good. Thanks. I forgot, I forgot what I’m doing. Oh, right, right, right, right. Okay.

146 00:11:16.910 00:11:20.859 Samuel Roberts: So we’re just running this dry run… oh, it’s in the lib folder? Okay.

147 00:11:21.690 00:11:23.820 Samuel Roberts: Okay, sorry, I’m just remembering.

148 00:11:26.070 00:11:27.580 Samuel Roberts: So much context switching.

149 00:11:28.720 00:11:29.659 Gabriel Lam: Sorry about that.

150 00:11:30.120 00:11:33.279 Samuel Roberts: No, no, no, it’s not you, it’s not you, it’s just the nature of this right now.

151 00:11:36.740 00:11:37.859 Samuel Roberts: Okay.

152 00:11:38.630 00:11:40.570 Samuel Roberts: So, if I do that…

153 00:11:42.160 00:11:49.749 Samuel Roberts: Okay, yep, got it, okay, sorry, just looking back at some of the Git history so I had a better understanding. Alright, so if I do npm run…

154 00:11:51.230 00:11:52.380 Samuel Roberts: Sort…

155 00:11:58.120 00:11:59.850 Samuel Roberts: So I just don’t want me to do that, okay.

156 00:12:06.910 00:12:08.480 Samuel Roberts: Oh my goodness,

157 00:12:23.890 00:12:28.900 Samuel Roberts: Wait… what? Oh, shit, alright, alright, alright.

158 00:12:29.710 00:12:32.439 Samuel Roberts: Are you running this with T, with TypeScript?

159 00:12:35.420 00:12:36.390 Gabriel Lam: Yes.

160 00:12:38.620 00:12:41.300 Samuel Roberts: What command do you run, I guess is the question.

161 00:12:41.300 00:12:43.929 Gabriel Lam: I wrote, I see.

162 00:12:44.370 00:12:46.940 Gabriel Lam: So, let me just put it in the chat.

163 00:12:47.320 00:12:48.800 Samuel Roberts: Okay, yeah, that’s what I was gonna say, because I…

164 00:12:49.330 00:12:50.979 Gabriel Lam: That’s the webhook.

165 00:12:51.420 00:12:56.190 Gabriel Lam: And then the other.

166 00:12:56.190 00:12:57.849 Samuel Roberts: Oh, there is a Scripps one?

167 00:12:58.650 00:13:00.539 Gabriel Lam: And then there’s a script one that…

168 00:13:00.540 00:13:02.649 Samuel Roberts: Oh, that’s why I’m being an idiot here, okay.

169 00:13:02.780 00:13:04.569 Gabriel Lam: That looks like… that.

170 00:13:04.570 00:13:10.059 Samuel Roberts: I run linear pipeline. Yep, okay, I’m sorry, I literally was looking at the wrong file, so I was trying to run the wrong file, but that’s me.

171 00:13:10.320 00:13:10.950 Gabriel Lam: Fine.

172 00:13:12.870 00:13:19.189 Samuel Roberts: Oh, yes, TSX, right. I’m gonna do… I guess I’ll just do the second one for now, just to test, make sure I get.

173 00:13:19.190 00:13:19.720 Gabriel Lam: Yep.

174 00:13:19.960 00:13:22.930 Samuel Roberts: Being sent to me, so that runs…

175 00:13:25.170 00:13:29.170 Samuel Roberts: Loading tickets, grooming creates no rights… alright, cool.

176 00:13:31.580 00:13:33.909 Samuel Roberts: Oh, right, sharing my screen, sorry, I wasn’t there yet.

177 00:13:33.910 00:13:35.320 Gabriel Lam: Yeah, thanks.

178 00:13:35.900 00:13:38.350 Samuel Roberts: We’ll go with desktop.

179 00:13:49.290 00:13:50.889 Samuel Roberts: How long does this take, normally?

180 00:13:51.440 00:13:52.470 Gabriel Lam: Like, 2 minutes.

181 00:13:52.930 00:13:55.629 Samuel Roberts: Oh, shit, right, right, right, right, right, right. Okay.

182 00:13:58.930 00:14:05.990 Samuel Roberts: Okay, well, while that’s running, I think I know where we want to start, if I recall. So we’re in here, this is format, action, that’s…

183 00:14:05.990 00:14:06.610 Gabriel Lam: Yeah.

184 00:14:09.130 00:14:17.300 Samuel Roberts: This is all of the… Not what I want. I want linear ticket pipelines. Let’s just go…

185 00:14:18.140 00:14:23.430 Samuel Roberts: There. And then… Somewhere in here, somewhere, somewhere.

186 00:14:23.780 00:14:26.540 Samuel Roberts: Is Ticket Action, that’s right, okay.

187 00:14:26.540 00:14:27.070 Gabriel Lam: Yep.

188 00:14:27.860 00:14:29.630 Samuel Roberts: That’s what I want to start changing, right?

189 00:14:29.630 00:14:30.150 Gabriel Lam: Yes.

190 00:14:30.150 00:14:30.910 Samuel Roberts: Hmm.

191 00:14:32.280 00:14:36.180 Samuel Roberts: Okay, bill generator… That’s not what I want.

192 00:14:40.290 00:14:40.980 Samuel Roberts: progress.

193 00:14:42.150 00:14:45.240 Samuel Roberts: Prompt equals that, generator, that’s where it was. Okay.

194 00:14:45.660 00:14:48.560 Samuel Roberts: Right, tickets to create, tickets to update, that’s where we were. Got it.

195 00:14:48.560 00:14:49.010 Gabriel Lam: Yep.

196 00:14:49.010 00:14:51.930 Samuel Roberts: Okay, so I think the idea here is that…

197 00:14:54.220 00:14:58.620 Samuel Roberts: We don’t really need any of this information, right? We want this…

198 00:14:59.360 00:15:01.789 Samuel Roberts: We want this, and that’s it.

199 00:15:04.010 00:15:06.919 Gabriel Lam: Because all we need is a comment to add, right?

200 00:15:07.500 00:15:08.250 Gabriel Lam: Yes.

201 00:15:10.450 00:15:15.609 Gabriel Lam: So wouldn’t the description just be… the comment.

202 00:15:16.600 00:15:19.450 Samuel Roberts: I was gonna… I was gonna change them completely.

203 00:15:19.450 00:15:20.470 Gabriel Lam: Oh, okay, yeah.

204 00:15:20.470 00:15:25.920 Samuel Roberts: So that there’s no, like, confusion there, because, like, we don’t… all we need is to know the current ticket and what comment we’re gonna leave, I guess?

205 00:15:25.920 00:15:26.440 Gabriel Lam: Yep.

206 00:15:26.440 00:15:29.670 Samuel Roberts: There could be something more to do, but I think this is…

207 00:15:31.320 00:15:36.189 Samuel Roberts: Comment to add to the issue, I think that’s fine.

208 00:15:37.380 00:15:44.759 Samuel Roberts: Tickets update schemas there, this is where we gotta fix that. I think that’s all good there.

209 00:15:45.030 00:15:48.210 Samuel Roberts: Ticket action… ticket action…

210 00:15:48.730 00:15:58.279 Samuel Roberts: has both of these, and the ticket action needs to be updated like that, and I don’t think we need the team ID anymore, because it’s just an issue that should already be there.

211 00:15:59.910 00:16:02.870 Samuel Roberts: Okay, oh, that went, let me see if it,

212 00:16:07.040 00:16:07.970 Samuel Roberts: Okay.

213 00:16:09.340 00:16:12.069 Gabriel Lam: And I just ranked the update first.

214 00:16:12.070 00:16:19.819 Samuel Roberts: My thinking was just, like, you probably want to update everything before creating new tickets. Yeah, that’s probably similar. So is this a table? Is that how it’s doing this?

215 00:16:20.450 00:16:22.999 Gabriel Lam: That is a good question.

216 00:16:24.200 00:16:29.330 Gabriel Lam: I think it… Let me take a look.

217 00:16:30.230 00:16:31.630 Samuel Roberts: I can dig into that, I suppose.

218 00:16:32.420 00:16:36.620 Samuel Roberts: Oh, actually, let me, let me just run this again, now that I added that, see what happens.

219 00:16:38.650 00:16:44.089 Samuel Roberts: So that was 7 Create 1 updates, so it should be the same, but now the update should look slightly different.

220 00:16:44.940 00:16:45.610 Samuel Roberts: Okay.

221 00:16:46.320 00:16:49.729 Samuel Roberts: Actually, while that’s running, I was gonna look at the…

222 00:16:52.120 00:16:54.250 Samuel Roberts: Dry run, and then we have…

223 00:16:59.880 00:17:03.919 Samuel Roberts: header, plain text, that all makes sense. Iron, yep.

224 00:17:04.599 00:17:08.590 Samuel Roberts: When occur… block. So then we add action block.

225 00:17:10.810 00:17:14.990 Samuel Roberts: Oh, this is gonna break, isn’t it? this is gonna break.

226 00:17:16.680 00:17:20.089 Gabriel Lam: Unless there’s a… .

227 00:17:25.589 00:17:31.439 Samuel Roberts: Yeah, no, I just need to, there we go.

228 00:17:33.789 00:17:41.129 Samuel Roberts: And then… That’s fine to hear, I think?

229 00:17:43.649 00:17:45.469 Samuel Roberts: Right, I think I want to do…

230 00:17:46.079 00:17:52.509 Samuel Roberts: No, push section, field… so it’s fine. Because I think I want to do… else, if it’s an update, I want it to just be this.

231 00:17:55.019 00:17:56.299 Samuel Roberts: How’s…

232 00:18:00.399 00:18:05.639 Samuel Roberts: Okay, yeah, we’re gonna do it slightly differently. We’re gonna do this, we’re gonna do this… okay, yeah, that’s what I want.

233 00:18:08.379 00:18:12.719 Samuel Roberts: Okay, I don’t know what value is here. Are we using… oh, we’re not using it. Okay.

234 00:18:14.179 00:18:17.119 Samuel Roberts: I don’t need that then, and it means I…

235 00:18:19.369 00:18:23.479 Samuel Roberts: Ticket approved… this is fine. Oh, the value does is need to get used. What?

236 00:18:25.929 00:18:28.629 Samuel Roberts: Why is this… oh, that’s why, okay.

237 00:18:30.089 00:18:32.609 Samuel Roberts: Because I just changed everything, yeah.

238 00:18:38.899 00:18:41.139 Samuel Roberts: Yeah, I broke everything. Okay, that’s fine.

239 00:18:41.409 00:18:42.819 Samuel Roberts: We’ll… we’ll fix it.

240 00:18:42.820 00:18:43.670 Gabriel Lam: All good.

241 00:18:43.670 00:18:47.210 Samuel Roberts: Okay, so let’s see. If the action is create…

242 00:18:47.810 00:18:49.909 Samuel Roberts: Hold on, I don’t know what I just did here, I gotta…

243 00:18:54.560 00:18:59.080 Samuel Roberts: So if the action is create… Oh, I still have that?

244 00:19:00.990 00:19:02.910 Samuel Roberts: Oh, wait, we already have… sorry, I’m not…

245 00:19:04.830 00:19:08.030 Samuel Roberts: Doing any of this right. Nope, that’s what I want, that’s what I want.

246 00:19:12.640 00:19:17.069 Samuel Roberts: Okay, so here’s where the… existing user ID, so we actually don’t need…

247 00:19:18.800 00:19:23.269 Samuel Roberts: Why do I just want to get rid of so much of that? That doesn’t make sense. Okay. We don’t need this.

248 00:19:24.630 00:19:26.759 Samuel Roberts: We will leave that, and we will leave…

249 00:19:27.400 00:19:32.560 Samuel Roberts: that. And then, if it’s an update, we’re gonna do that. And then… I don’t know why… yeah, okay.

250 00:19:33.200 00:19:36.009 Samuel Roberts: Value needs to be pulled out.

251 00:19:37.600 00:19:40.910 Samuel Roberts: So this is run multiple times in a… yeah, okay.

252 00:19:42.480 00:19:46.709 Samuel Roberts: So then we’ll say… what we need to do is say letValue…

253 00:19:49.230 00:19:53.170 Samuel Roberts: And then we don’t need it here, and we don’t need it here.

254 00:19:53.480 00:19:55.710 Samuel Roberts: But also, this doesn’t need to be… yeah, okay.

255 00:19:55.900 00:19:58.660 Samuel Roberts: That way you’re reassigning it, but… Okay.

256 00:20:01.270 00:20:12.830 Samuel Roberts: So now it’ll just push… The title, the comment… I also want…

257 00:20:26.660 00:20:28.069 Samuel Roberts: We’ll put that above it, though.

258 00:20:28.710 00:20:31.970 Samuel Roberts: Alright, does this… Make sense, what I just did?

259 00:20:33.090 00:20:34.289 Samuel Roberts: I think it does.

260 00:20:35.540 00:20:42.019 Samuel Roberts: And I don’t see any glaring errors, except for the fact that I did not format the action, right? Where are we using that?

261 00:20:45.430 00:20:46.630 Samuel Roberts: Oh, we’re not using it.

262 00:20:46.880 00:20:47.780 Samuel Roberts: Okay.

263 00:20:52.280 00:20:57.760 Samuel Roberts: Okay, so we have an add action blocks that gets called here. We don’t have…

264 00:20:57.930 00:21:01.369 Samuel Roberts: Was this… this must have just been extra, or old, or something.

265 00:21:02.330 00:21:04.430 Gabriel Lam: Yeah, this… yeah.

266 00:21:04.750 00:21:06.499 Samuel Roberts: I can just… I’m just gonna comment for now.

267 00:21:06.980 00:21:15.619 Samuel Roberts: Just to make sure I didn’t… because there were some… yeah, this is all… okay, so this is old, okay. That’s fine. And it’s good that I don’t have to worry about it. Alright, cool. Let’s try this again, then.

268 00:21:16.120 00:21:17.400 Samuel Roberts: So I’ve now…

269 00:21:20.920 00:21:24.180 Samuel Roberts: I wish there was a way to speed this up a little bit. We gotta run it.

270 00:21:28.190 00:21:28.760 Gabriel Lam: Sure.

271 00:21:28.760 00:21:31.769 Samuel Roberts: Now, over here, I should have…

272 00:21:33.380 00:21:36.410 Samuel Roberts: This one should be slightly different, right?

273 00:21:36.410 00:21:37.000 Gabriel Lam: Yup.

274 00:21:37.570 00:21:41.530 Gabriel Lam: Now, okay, team, existing issue title is… oh, maybe it’s not. Okay, I see.

275 00:21:42.420 00:21:44.720 Samuel Roberts: It’s just the way it pushes it.

276 00:21:47.540 00:21:49.410 Samuel Roberts: Mark down, Mark, what the hell?

277 00:22:00.050 00:22:01.560 Samuel Roberts: Markdown? I don’t know.

278 00:22:03.250 00:22:07.770 Samuel Roberts: block… oh, it’s a section of field… okay, this is where my… my lack of…

279 00:22:08.410 00:22:13.209 Samuel Roberts: Slack flock knowledge is a little bit… So, what is the second?

280 00:22:13.210 00:22:14.239 Gabriel Lam: You’re fine.

281 00:22:14.360 00:22:20.670 Gabriel Lam: also my lack of knowledge that I was just, like, cursor… How do I do it?

282 00:22:21.050 00:22:34.019 Samuel Roberts: To be honest, that’s what I would do. The thing about, like, debugging, when I… I don’t feel… I don’t know how to, like… There’s something about… I’ll point cursor at things and let it run, but if I don’t know how something works, I feel like…

283 00:22:34.620 00:22:44.880 Samuel Roberts: less confident in just saying, ask it, or if I feel like I need to know. That’s kind of why I’m digging through it a little bit more now, whereas, like, the thing I was just building, I was… it was… I basically let Cursor write all of it, you know?

284 00:22:44.880 00:22:45.460 Gabriel Lam: Hmm.

285 00:22:45.710 00:22:50.999 Samuel Roberts: But when it’s something like this, where I’m like, no, no, no, hold on, I gotta get into it, and I’m never…

286 00:22:52.540 00:22:54.680 Samuel Roberts: Never clear, but… okay, cool.

287 00:22:54.800 00:22:57.429 Samuel Roberts: 10 create 0 update. What changed?

288 00:23:00.850 00:23:04.660 Samuel Roberts: Something… we… didn’t update.

289 00:23:10.540 00:23:12.410 Gabriel Lam: I can test a dry run on…

290 00:23:14.070 00:23:16.119 Samuel Roberts: We’re in the same meeting, though, so I don’t wanna…

291 00:23:16.120 00:23:17.310 Gabriel Lam: E1, yeah.

292 00:23:17.310 00:23:19.990 Samuel Roberts: Yeah, so we run the generator…

293 00:23:20.590 00:23:25.689 Samuel Roberts: And that generator is given generator output schema, which has tickets to update and tickets to,

294 00:23:28.960 00:23:31.730 Samuel Roberts: It just… it just changed the behavior, is the problem, right?

295 00:23:34.240 00:23:36.240 Samuel Roberts: Comment…

296 00:23:41.170 00:23:44.020 Samuel Roberts: Including time stamp.

297 00:23:45.320 00:23:48.540 Samuel Roberts: Maybe that’ll help, because I think we did that before, and it seemed to work.

298 00:23:48.780 00:23:49.360 Gabriel Lam: Yep.

299 00:23:49.980 00:23:54.709 Samuel Roberts: So maybe… So this is what’s getting passed into here.

300 00:23:55.340 00:24:01.699 Samuel Roberts: And that’s getting passed into here, which is getting passed into the generator…

301 00:24:02.750 00:24:05.959 Samuel Roberts: Okay, well, let’s just stop here, then, and say…

302 00:24:08.080 00:24:11.009 Samuel Roberts: So that we don’t have to wait for the whole thing to finish, but…

303 00:24:12.490 00:24:14.810 Samuel Roberts: Just wanna see what the output of this is.

304 00:24:16.230 00:24:19.300 Samuel Roberts: Because it shouldn’t… I mean, this is the problem with…

305 00:24:19.790 00:24:21.740 Samuel Roberts: coding in the age of AI now.

306 00:24:22.980 00:24:26.979 Samuel Roberts: like, oh, I changed this thing that should do it this way, and it’s like, nope, this is non-deterministic.

307 00:24:26.980 00:24:29.290 Gabriel Lam: Yeah. Yup.

308 00:24:29.290 00:24:30.819 Samuel Roberts: We’ll see.

309 00:24:36.040 00:24:39.300 Gabriel Lam: Of course, this is the longest part anyway, but…

310 00:24:46.090 00:24:48.450 Samuel Roberts: But that’s really the only thing that should have changed here.

311 00:24:50.290 00:24:56.949 Samuel Roberts: Between these runs… Everything else is fine after that, unless I… yeah, I know.

312 00:25:10.000 00:25:13.730 Samuel Roberts: Well, while that’s running, let’s keep digging through here a little bit.

313 00:25:14.490 00:25:20.110 Samuel Roberts: I wanna be here,

314 00:25:24.960 00:25:26.420 Samuel Roberts: Wait, I thought we…

315 00:25:33.960 00:25:36.980 Samuel Roberts: Okay, hold on, wait a minute, wait a minute, wait. Oh, this is the script.

316 00:25:39.870 00:25:43.570 Samuel Roberts: Wait, is that… Okay, hold on. Take us to update? Oh, we got an update, okay.

317 00:25:43.570 00:25:44.330 Gabriel Lam: Amazing.

318 00:25:45.060 00:25:47.869 Samuel Roberts: We got 2 updates, so it’s totally different.

319 00:25:51.830 00:25:55.370 Samuel Roberts: Oh, hold on, maybe… maybe I was wrong about something.

320 00:25:55.940 00:26:00.340 Samuel Roberts: If we… Run this generator, we get this output…

321 00:26:01.810 00:26:03.800 Samuel Roberts: The output gets parsed as that.

322 00:26:04.310 00:26:12.140 Samuel Roberts: And that, which is right, and then it gets passed to here. But I think we probably, when we run this generator…

323 00:26:12.410 00:26:16.739 Samuel Roberts: are not properly parsing… yeah, final actions.

324 00:26:17.950 00:26:19.109 Samuel Roberts: That’s the issue.

325 00:26:23.610 00:26:35.899 Samuel Roberts: Nope, doesn’t matter. We only run the groomer when we’re gonna create it, that’s fine, that’s right. Final actions should still be here. Execute ticket actions, this is the dry run, then we return the result, and that’s the run the linear ticket.

326 00:26:36.010 00:26:43.170 Samuel Roberts: pipeline, which was… Imported here, so when we run the linear ticket pipeline…

327 00:26:44.390 00:26:50.810 Samuel Roberts: We get the result, the result gets planned actions, create… okay, nope, all that should have been fine then. Okay, I’m just making sure I didn’t, like…

328 00:26:50.990 00:26:54.770 Samuel Roberts: miss the… It just did something different this time, is all. Okay.

329 00:26:54.770 00:26:55.390 Gabriel Lam: Yup.

330 00:26:56.000 00:26:58.120 Samuel Roberts: That’s alright.

331 00:27:02.620 00:27:07.000 Samuel Roberts: I guess I’m just gonna run it again, and now that that did it, and see what happens in…

332 00:27:09.000 00:27:12.730 Samuel Roberts: in, slack.

333 00:27:14.110 00:27:16.510 Samuel Roberts: But wait a minute,

334 00:27:20.310 00:27:25.990 Samuel Roberts: Okay, so there’s formatting happening here… And this formatting happening here.

335 00:27:34.150 00:27:36.109 Samuel Roberts: Does that make sense? Did I miss something?

336 00:27:54.440 00:27:58.189 Samuel Roberts: Okay, so we wanted… Use this, don’t we?

337 00:27:59.990 00:28:00.930 Gabriel Lam: Yes.

338 00:28:01.680 00:28:04.180 Gabriel Lam: But what’s that? I think…

339 00:28:05.200 00:28:09.840 Samuel Roberts: But I think we’re using… Yeah, that’s not in here. What are we actually running?

340 00:28:10.020 00:28:10.490 Gabriel Lam: No, we are.

341 00:28:14.480 00:28:15.730 Gabriel Lam: Right at the bottom.

342 00:28:17.230 00:28:24.479 Samuel Roberts: Oh, we’re just doing this… oh, I see, I see, I see, okay, okay. So I think my confusion here is that we’re doing this whole thing…

343 00:28:26.290 00:28:27.600 Samuel Roberts: here, right?

344 00:28:27.600 00:28:28.170 Gabriel Lam: I see.

345 00:28:28.470 00:28:35.269 Samuel Roberts: So I think we don’t… we could basically just replace this whole thing… Like, cause… It seems like it’s…

346 00:28:36.450 00:28:38.299 Samuel Roberts: reprocessing it here.

347 00:28:38.300 00:28:38.850 Gabriel Lam: I see.

348 00:28:38.850 00:28:39.770 Samuel Roberts: log it?

349 00:28:39.990 00:28:40.510 Gabriel Lam: Yep.

350 00:28:40.510 00:28:43.819 Samuel Roberts: But I think for the, Slack step…

351 00:28:45.600 00:28:49.389 Samuel Roberts: We’re… we are calling that. So, all of this…

352 00:28:50.210 00:28:53.899 Samuel Roberts: Yeah, like, that’s… it’s underlined because it’s not U, so that’s fine.

353 00:28:54.920 00:29:02.860 Samuel Roberts: So if I… Before I delete these, I just want to see if I comment these out… Oops.

354 00:29:09.810 00:29:13.389 Samuel Roberts: Hmm… okay, so we are still calling it here…

355 00:29:14.340 00:29:25.780 Samuel Roberts: But that’s formatting for logging, so that’s fine. Okay. I understand, sorry, I was getting a little confused there for a second. I forgot. There’s two different formattings going on here. There’s the Slack formatting, and there’s the console formatting.

356 00:29:25.780 00:29:26.740 Gabriel Lam: Yes.

357 00:29:26.740 00:29:30.540 Samuel Roberts: Alright, that’s where I lost it for a second there, but… so then here, I want to say…

358 00:29:32.970 00:29:34.190 Samuel Roberts: this.

359 00:29:40.600 00:29:43.870 Samuel Roberts: And then I can get rid of this. So now they’re totally separate.

360 00:29:45.160 00:29:48.879 Samuel Roberts: Function lacks ending return statement?

361 00:29:52.310 00:29:53.299 Samuel Roberts: Hmm, no, hold on.

362 00:29:53.780 00:29:56.530 Samuel Roberts: It returns it right here, what are you talking about? If…

363 00:29:57.460 00:30:00.759 Samuel Roberts: Else if… and if not, we’ll just return to Blackboard.

364 00:30:01.530 00:30:04.060 Samuel Roberts: Why is my prettier not working? What’s going on with that?

365 00:30:05.540 00:30:08.330 Samuel Roberts: This should be… Okay.

366 00:30:10.760 00:30:14.610 Samuel Roberts: Whatever. Okay, I’m not gonna worry about the formatting too much, but okay, now I understand. Okay.

367 00:30:15.070 00:30:15.969 Samuel Roberts: See you again.

368 00:30:16.580 00:30:24.570 Samuel Roberts: Okay, so while that’s running, let’s look at the Slack… Slack.

369 00:30:26.370 00:30:31.040 Samuel Roberts: Actually, that’s not what I want. I want to… Okay.

370 00:30:37.060 00:30:41.819 Samuel Roberts: We’re sending those blocks that are generated here. So when the buttons are made…

371 00:30:44.450 00:30:49.970 Samuel Roberts: Action ID… okay, this is where I don’t know, we may just ask Cursor for that.

372 00:30:52.390 00:30:54.160 Samuel Roberts: Because you need to trigger…

373 00:30:54.620 00:30:56.090 Gabriel Lam: Something.

374 00:30:56.740 00:31:01.760 Samuel Roberts: I don’t know what… the, like…

375 00:31:03.110 00:31:05.430 Samuel Roberts: Let’s start a chat cursor over here.

376 00:31:12.340 00:31:15.509 Samuel Roberts: He’s, shin block.

377 00:31:16.220 00:31:25.989 Samuel Roberts: to a Slack message, what, how does Slack…

378 00:31:29.010 00:31:37.300 Samuel Roberts: What am I trying to say here? Take an action when the button is pressed. And then we’re just gonna ask that, because I don’t want it to change color.

379 00:31:39.880 00:31:45.010 Samuel Roberts: C and… Action by giving birth is that tight.

380 00:31:47.770 00:31:51.760 Samuel Roberts: Alright, here we go. Ticket to update, so we got one this time, oh my god.

381 00:31:51.920 00:31:52.640 Samuel Roberts: Ugh.

382 00:31:53.460 00:31:59.449 Samuel Roberts: Did I get a Slack message? I hope I did.

383 00:32:03.000 00:32:03.790 Samuel Roberts: Drive up.

384 00:32:06.980 00:32:07.919 Samuel Roberts: What the hell?

385 00:32:10.090 00:32:12.760 Samuel Roberts: Whoa, is Slack freaking out? What the heck?

386 00:32:14.070 00:32:15.270 Gabriel Lam: I don’t know.

387 00:32:15.510 00:32:21.220 Samuel Roberts: Why… why is it letting me scroll and then jumping to the top? I don’t… Okay.

388 00:32:21.340 00:32:24.470 Samuel Roberts: This is where we want to be, though. So we want to see if the update…

389 00:32:25.110 00:32:27.980 Samuel Roberts: Would update none, so I messed that up. Okay.

390 00:32:28.310 00:32:29.909 Gabriel Lam: What, that’s 10 minutes ago.

391 00:32:31.080 00:32:33.330 Samuel Roberts: Oh, shit. So then what’s going on here?

392 00:32:33.330 00:32:37.070 Gabriel Lam: Oh, it’s because we exited the process, I think, at some point, did we not?

393 00:32:37.070 00:32:40.449 Samuel Roberts: Yeah, but I thought I let it… oh, this is 10Create. Oh, yeah, you’re right.

394 00:32:42.760 00:32:44.649 Samuel Roberts: Okay, hold on, I messed something up then.

395 00:32:46.320 00:32:47.939 Samuel Roberts: Because it logged everything.

396 00:32:48.500 00:32:51.389 Gabriel Lam: I think there was a process exit that…

397 00:32:51.390 00:32:52.510 Samuel Roberts: I thought we got rid of that.

398 00:32:52.840 00:32:53.450 Samuel Roberts: Okay.

399 00:33:01.620 00:33:04.199 Samuel Roberts: That should still have been rough. So, hold on.

400 00:33:09.630 00:33:11.540 Samuel Roberts: Oh, my computer. Oh, poor computer.

401 00:33:15.000 00:33:18.410 Samuel Roberts: No, we want to search for… I…

402 00:33:19.780 00:33:22.000 Samuel Roberts: Okay, so this did not get sent.

403 00:33:28.470 00:33:31.230 Samuel Roberts: But this all got logged, so when was this…

404 00:33:34.490 00:33:37.500 Samuel Roberts: Total usage, what the heck?

405 00:33:38.090 00:33:40.849 Samuel Roberts: What are we logging here? What is this log?

406 00:33:41.830 00:33:51.329 Samuel Roberts: Oh, yeah, we must have, and I just thought it… oh, because it didn’t format it right. Of course, you’re right, you’re right, you’re right. Okay. Yeah, so we are logging something huge, and then process exiting.

407 00:33:55.210 00:34:00.129 Gabriel Lam: I think the… Matt’s fine, that’s fine.

408 00:34:00.990 00:34:01.790 Gabriel Lam: Huh.

409 00:34:05.910 00:34:08.540 Samuel Roberts: I don’t even know what’s being logged here is the problem.

410 00:34:10.500 00:34:13.660 Samuel Roberts: But we’re logging tickets to update is coming in somehow, so…

411 00:34:15.139 00:34:18.529 Samuel Roberts: Oh, boy. Okay, let’s walk through this real quick.

412 00:34:21.330 00:34:23.299 Samuel Roberts: But we don’t hit any of this.

413 00:34:24.190 00:34:27.770 Samuel Roberts: It’s hard to know what got called here. Total plan errors…

414 00:34:28.100 00:34:33.100 Samuel Roberts: We didn’t get that, right? I don’t think we got any of this, because… well, I can’t see it, because it logged so much.

415 00:34:33.460 00:34:35.560 Samuel Roberts: So it’s gotta be in here somewhere.

416 00:34:40.510 00:34:43.220 Samuel Roberts: Okay, it’s not in there somewhere. Let’s see what else we changed.

417 00:34:44.719 00:34:47.139 Samuel Roberts: That’s the script, the generator, that must be it.

418 00:34:52.030 00:34:54.499 Samuel Roberts: Yeah, that’s it right here, right? We don’t need that.

419 00:34:57.680 00:34:59.010 Gabriel Lam: Yeah. But I don’t know why it…

420 00:34:59.120 00:35:01.670 Samuel Roberts: Stop there. There’s no process exit anymore.

421 00:35:03.340 00:35:05.959 Samuel Roberts: Maybe there was, and I forgot to save it or something?

422 00:35:07.220 00:35:11.430 Samuel Roberts: Okay, let’s try that again. Run generator should now do that, and then…

423 00:35:12.380 00:35:19.990 Samuel Roberts: A here, where we actually call it… Okay, let’s try it again.

424 00:35:23.460 00:35:25.659 Samuel Roberts: Alright, meanwhile… oh, what did we not save over here?

425 00:35:26.640 00:35:29.429 Samuel Roberts: Let’s look at what we’ve got here in…

426 00:35:31.680 00:35:35.200 Samuel Roberts: Just a label that says, back to your app when the button is clicked.

427 00:35:39.070 00:35:42.660 Samuel Roberts: to your app’s interactivity request URL.

428 00:35:47.120 00:35:48.370 Samuel Roberts: Okay.

429 00:35:50.300 00:35:51.010 Samuel Roberts: Okay.

430 00:35:54.360 00:35:55.400 Gabriel Lam: I see.

431 00:35:56.010 00:35:58.830 Gabriel Lam: So maybe we should connect this to a new…

432 00:35:58.980 00:36:01.070 Gabriel Lam: Should we connect this to a new Slack app?

433 00:36:02.320 00:36:06.249 Samuel Roberts: I don’t know why… I had that thought with the HubSpot thing, but I feel like that’s not…

434 00:36:06.250 00:36:08.299 Gabriel Lam: Worth setting it up.

435 00:36:09.450 00:36:13.610 Samuel Roberts: Because I just wonder about that request URL of, like, whether an app.

436 00:36:13.770 00:36:16.999 Gabriel Lam: whether a Slack app has one URL per.

437 00:36:18.780 00:36:22.690 Samuel Roberts: Yeah, and I think it’s the brain forge assistant, and so if we go in here…

438 00:36:26.240 00:36:30.570 Samuel Roberts: We should see… Actions.

439 00:36:32.820 00:36:33.860 Samuel Roberts: Okay.

440 00:36:33.860 00:36:37.749 Gabriel Lam: LDR, the scope for today’s discussion is…

441 00:36:38.270 00:36:39.070 Samuel Roberts: even doing it.

442 00:36:39.070 00:36:39.720 Gabriel Lam: dating the…

443 00:36:39.720 00:36:41.220 Samuel Roberts: So, is this stuff you added?

444 00:36:41.220 00:36:44.280 Gabriel Lam: Yeah, okay, cool, yes.

445 00:36:44.280 00:36:47.270 Samuel Roberts: Alright, cool, that ran. Slack message, let’s see what we got…

446 00:36:47.440 00:36:47.810 Gabriel Lam: Nice.

447 00:36:47.810 00:36:55.510 Samuel Roberts: 9 created, 1 update, excellent, excellent. Comment PR for the task wasn’t open the command. Nice! Alright, that worked!

448 00:36:55.630 00:36:56.920 Gabriel Lam: Amazing.

449 00:36:56.920 00:37:03.219 Samuel Roberts: And then, if we click Approve, but before I do that, I want to come up here. We’re gonna go to Railway…

450 00:37:03.220 00:37:04.070 Gabriel Lam: plans.

451 00:37:04.070 00:37:08.750 Samuel Roberts: We’re gonna go see if there’s any logs. I don’t know if there will be any, because…

452 00:37:08.750 00:37:10.110 Gabriel Lam: discussions in terms of.

453 00:37:10.110 00:37:12.300 Samuel Roberts: Technically, it’s dies, and, like…

454 00:37:12.300 00:37:16.250 Gabriel Lam: We organize some of the diet… diets that we have.

455 00:37:17.510 00:37:22.090 Gabriel Lam: Is it the other app in the environment?

456 00:37:23.290 00:37:23.729 Samuel Roberts: This is the.

457 00:37:23.730 00:37:25.330 Gabriel Lam: Tyler one.

458 00:37:25.330 00:37:29.510 Samuel Roberts: Which is, like, technically the same thing, but it’s not… it’s, like…

459 00:37:30.180 00:37:32.809 Samuel Roberts: Uptam set it up so that he could run this test one more easily.

460 00:37:32.810 00:37:33.949 Gabriel Lam: I see, I see.

461 00:37:34.210 00:37:37.149 Samuel Roberts: And then this is the production one, so I’m pretty sure this is the URL it’s gonna get hit.

462 00:37:37.150 00:37:37.529 Gabriel Lam: I will be.

463 00:37:37.530 00:37:41.950 Samuel Roberts: So if we actually want to come to, deployments, View Logs…

464 00:37:41.950 00:37:43.649 Gabriel Lam: But you can walk through what we have, too.

465 00:37:43.650 00:37:46.950 Samuel Roberts: This is the deploy log. This has got nothing logged since…

466 00:37:46.950 00:37:47.540 Gabriel Lam: so…

467 00:37:47.790 00:37:48.620 Samuel Roberts: Earlier…

468 00:37:48.620 00:37:49.630 Gabriel Lam: pretty robust.

469 00:37:49.630 00:37:51.550 Samuel Roberts: But if we go to the HTTP…

470 00:37:51.550 00:37:54.080 Gabriel Lam: beginning and end, the two.

471 00:37:54.080 00:37:55.750 Samuel Roberts: Let’s get some messages.

472 00:37:55.750 00:37:56.760 Gabriel Lam: Jesus.

473 00:37:56.760 00:37:58.069 Samuel Roberts: Time zone this is…

474 00:37:58.070 00:37:59.210 Gabriel Lam: Fight.

475 00:37:59.410 00:38:09.180 Gabriel Lam: But, are actually questions that triage is, into… I thought there would have been more info here. So, meaning, if a user selected none at all.

476 00:38:09.180 00:38:11.650 Samuel Roberts: Alright, well, let’s, let’s just… Press the button and see what happens.

477 00:38:12.680 00:38:13.570 Gabriel Lam: Bob David?

478 00:38:14.000 00:38:20.680 Gabriel Lam: So we’re gonna click this one. …proceeds a trigger, or some sort of a to-do, to reach out to these patients.

479 00:38:20.680 00:38:24.100 Samuel Roberts: I now put the 12s. Did I do anything?

480 00:38:24.100 00:38:25.860 Gabriel Lam: As…

481 00:38:25.860 00:38:29.440 Samuel Roberts: There’s a linear webhook, so probably not, because it doesn’t…

482 00:38:29.440 00:38:30.290 Gabriel Lam: It’s so hard.

483 00:38:30.920 00:38:32.400 Samuel Roberts: Have any way to know that, right?

484 00:38:32.400 00:38:33.609 Gabriel Lam: of the things.

485 00:38:33.610 00:38:34.710 Samuel Roberts: So that’s fine.

486 00:38:34.950 00:38:36.580 Gabriel Lam: We can…

487 00:38:36.580 00:38:41.129 Samuel Roberts: This is why building a Slack app is kind of a pain in the butt, and we don’t have a good setup for it yet.

488 00:38:41.130 00:38:45.940 Gabriel Lam: Because, like, it’s really hard to test locally.

489 00:38:45.940 00:38:46.680 Samuel Roberts: Because…

490 00:38:46.680 00:38:50.230 Gabriel Lam: Slack is, like…

491 00:38:50.230 00:38:51.590 Samuel Roberts: pointing here…

492 00:38:51.590 00:38:52.530 Gabriel Lam: Dash diet.

493 00:38:52.530 00:38:55.719 Samuel Roberts: And I don’t want to redeploy every time, but you kind of have to.

494 00:38:55.720 00:38:56.879 Gabriel Lam: diet and a meditation.

495 00:38:56.880 00:38:58.180 Samuel Roberts: So the only other thing we can do is.

496 00:38:58.180 00:38:59.210 Gabriel Lam: Bake.

497 00:38:59.210 00:39:00.930 Samuel Roberts: That, but then it’s not gonna…

498 00:39:00.930 00:39:03.069 Gabriel Lam: What have we built?

499 00:39:03.180 00:39:09.970 Gabriel Lam: another… is there a way to duplicate this? Not… not like a test assistant, but like…

500 00:39:10.720 00:39:13.220 Gabriel Lam: Another test of this, if that makes sense.

501 00:39:13.220 00:39:14.289 Samuel Roberts: I mean, we could.

502 00:39:14.290 00:39:14.710 Gabriel Lam: It’s just.

503 00:39:14.710 00:39:16.779 Samuel Roberts: I think the better thing to do here…

504 00:39:16.780 00:39:17.800 Gabriel Lam: As, like, advice.

505 00:39:17.800 00:39:19.560 Samuel Roberts: Might be…

506 00:39:19.560 00:39:21.370 Gabriel Lam: In terms of how the.

507 00:39:22.700 00:39:27.080 Gabriel Lam: But kind of layer it in. If a user selects general, then that would… Well, I don’t.

508 00:39:27.080 00:39:29.340 Samuel Roberts: The better thing to do here is… let’s go back to cursor.

509 00:39:29.340 00:39:32.660 Gabriel Lam: So we have some of this code already in this file.

510 00:39:32.660 00:39:33.470 Samuel Roberts: file.

511 00:39:33.470 00:39:43.689 Gabriel Lam: then if the user selects dash diet, then it would be a dash. So I just don’t… like, let’s see, what is it, what are the users? There is clinical risk. If a user only selects Mediterranean…

512 00:39:43.690 00:39:44.800 Samuel Roberts: They messaged to a person.

513 00:39:44.800 00:39:47.160 Gabriel Lam: platform.

514 00:39:47.160 00:39:48.049 Samuel Roberts: It’s all you.

515 00:39:48.050 00:39:52.840 Gabriel Lam: You think? Yes. Okay, yes.

516 00:39:52.970 00:40:03.149 Gabriel Lam: the need for diabetic patients to have lower carb diets. And so, she says the safest option is actually to just propose balanced state for everything.

517 00:40:03.970 00:40:04.580 Samuel Roberts: Okara.

518 00:40:04.580 00:40:05.760 Gabriel Lam: I know this…

519 00:40:06.400 00:40:08.970 Samuel Roberts: So I think the thing to do is probably…

520 00:40:08.970 00:40:09.610 Gabriel Lam: Okay.

521 00:40:11.230 00:40:14.800 Samuel Roberts: Load…

522 00:40:15.800 00:40:21.940 Samuel Roberts: Like, we can… Host this assistant locally?

523 00:40:21.940 00:40:22.610 Gabriel Lam: Yes.

524 00:40:24.180 00:40:26.720 Samuel Roberts: And then… simulate?

525 00:40:28.170 00:40:33.990 Samuel Roberts: a button press, if that makes sense? Like, when this button gets pressed, it’s sending a webhook.

526 00:40:35.050 00:40:39.780 Samuel Roberts: to the interactivity request URL, which I’m assuming is whatever’s set to Brainforge.

527 00:40:40.710 00:40:44.659 Samuel Roberts: The payload will be action ID and the value, so then we should just be able… I should be able to run this.

528 00:40:44.660 00:40:45.180 Gabriel Lam: Yes.

529 00:40:45.180 00:40:45.909 Samuel Roberts: If I start anew.

530 00:40:45.910 00:40:47.980 Gabriel Lam: My recommendation was to combine.

531 00:40:47.980 00:40:49.490 Samuel Roberts: So let’s just.

532 00:40:49.900 00:40:50.730 Gabriel Lam: And so…

533 00:40:56.460 00:41:05.729 Samuel Roberts: make sure I have… let’s just do NPM rest. I was just doing this so I… yeah, that’s what I was worried about. We got one running, we’ll kill that one.

534 00:41:05.830 00:41:06.660 Gabriel Lam: 18.

535 00:41:07.320 00:41:11.740 Samuel Roberts: That’s running old code, I’ll save that for later, npm run start… okay.

536 00:41:12.260 00:41:12.940 Samuel Roberts: Okay.

537 00:41:13.100 00:41:14.320 Samuel Roberts: So that’s running.

538 00:41:15.260 00:41:21.450 Samuel Roberts: So then… Let’s just do this. Actually, it’s gonna be a pain in the ass this night.

539 00:41:30.660 00:41:32.030 Samuel Roberts: And okay, okay.

540 00:41:32.270 00:41:33.770 Samuel Roberts: And this is where… okay.

541 00:41:34.610 00:41:36.330 Samuel Roberts: I’m gonna say I have a…

542 00:41:36.330 00:41:37.130 Gabriel Lam: Yes, yeah.

543 00:41:38.420 00:41:39.559 Gabriel Lam: Yeah, yeah.

544 00:41:53.480 00:41:54.760 Gabriel Lam: We’re just picking.

545 00:41:55.250 00:41:57.540 Samuel Roberts: Will you let me drag in your… nope, why are you not gonna let me do that?

546 00:41:59.330 00:42:01.199 Samuel Roberts: I swear I used to be able to do that.

547 00:42:15.730 00:42:21.510 Samuel Roberts: Can you give me a simple… no, hold on, wait a minute, wait a minute, wait a minute.

548 00:42:23.500 00:42:26.750 Gabriel Lam: Is this all wired up right, you think? Yeah, that’s another thing.

549 00:42:26.750 00:42:27.640 Samuel Roberts: Based on your…

550 00:42:27.640 00:42:30.030 Gabriel Lam: Richard said under food preference.

551 00:42:30.030 00:42:32.950 Samuel Roberts: Call platform approved…

552 00:42:32.950 00:42:35.590 Gabriel Lam: That should be… I’m not sure.

553 00:42:35.590 00:42:36.320 Samuel Roberts: Yeah.

554 00:42:36.320 00:42:40.549 Gabriel Lam: I was more testing the actual blocking.

555 00:42:40.970 00:42:45.189 Samuel Roberts: Right, right. I just didn’t know what the… what Cursor had already written here, and I’m a little.

556 00:42:45.190 00:42:45.630 Gabriel Lam: Fantastic.

557 00:42:45.630 00:42:46.230 Samuel Roberts: art.

558 00:42:47.370 00:42:50.760 Samuel Roberts: hittin’ these things, until I know…

559 00:42:51.460 00:42:52.530 Gabriel Lam: singular.

560 00:42:52.690 00:42:54.810 Samuel Roberts: Alright, that’s good, that’s good.

561 00:42:54.810 00:42:57.839 Gabriel Lam: Pretty sure all the ticket stuff is new.

562 00:43:01.290 00:43:04.499 Samuel Roberts: Right, so this is for appro… this is calling platform approved.

563 00:43:04.500 00:43:04.960 Gabriel Lam: Yeah.

564 00:43:04.960 00:43:11.259 Samuel Roberts: I’m gonna hit this endpoint, and then here…

565 00:43:12.500 00:43:14.819 Gabriel Lam: Run linear… All diets, yeah.

566 00:43:18.610 00:43:20.480 Gabriel Lam: Yeah, yeah, yeah.

567 00:43:21.680 00:43:23.420 Samuel Roberts: Re… what?

568 00:43:23.870 00:43:24.520 Samuel Roberts: Excellent.

569 00:43:24.520 00:43:25.730 Gabriel Lam: Yeah, we like this one.

570 00:43:26.850 00:43:27.520 Gabriel Lam: Yeah.

571 00:43:29.380 00:43:30.140 Samuel Roberts: Huh.

572 00:43:32.750 00:43:34.379 Samuel Roberts: That doesn’t make sense to me.

573 00:43:35.670 00:43:38.859 Gabriel Lam: Oh, I see, so it’s, like, rerunning itself every time it…

574 00:43:38.860 00:43:44.370 Samuel Roberts: Yeah, it shouldn’t… do that. Okay, well, here’s what we’re gonna do.

575 00:43:44.500 00:43:47.489 Samuel Roberts: We’re gonna say… Get rid of that.

576 00:43:47.740 00:43:48.190 Gabriel Lam: Hello.

577 00:43:48.190 00:43:57.790 Samuel Roberts: Although this is the platform, so none of this is live anyway, so the fetches will just kind of fail, so it’s probably fine. Forget about it, now that I’m thinking about it. We will just go to handle approve, that’s still consistent.

578 00:43:57.790 00:43:58.170 Gabriel Lam: Okay.

579 00:43:58.170 00:44:02.219 Samuel Roberts: We will say, await, call platform approve…

580 00:44:03.640 00:44:06.970 Samuel Roberts: And… we’ll just say, let’s ignore that.

581 00:44:09.050 00:44:11.069 Samuel Roberts: And we’ll say… we’ll just log here.

582 00:44:14.620 00:44:21.910 Samuel Roberts: Calling approved. That’s fine. Okay, that’s fine. I don’t really care. And then what’s the… what’s anything else here that’s gonna be call?

583 00:44:26.260 00:44:27.750 Samuel Roberts: I’ll handle…

584 00:44:27.750 00:44:33.709 Gabriel Lam: Yeah, so just to confirm, it’s… we could do balance, right? There’s a motion, my understanding.

585 00:44:33.710 00:44:37.810 Samuel Roberts: So what actually happens here? Update message status, that’s cool, okay.

586 00:44:37.810 00:44:39.289 Gabriel Lam: align with that excellence.

587 00:44:39.290 00:44:40.710 Samuel Roberts: Okay, that’s cool.

588 00:44:40.710 00:44:44.939 Gabriel Lam: For all, but it just is depending on the options.

589 00:44:45.070 00:44:46.050 Gabriel Lam: Okay.

590 00:44:46.050 00:44:54.380 Samuel Roberts: Yeah, so new blocks… Client… Chat… okay, so this may… Not work, but that’s fine.

591 00:44:58.560 00:45:00.570 Samuel Roberts: To test the…

592 00:45:05.340 00:45:06.120 Gabriel Lam: Hmm.

593 00:45:10.900 00:45:18.079 Samuel Roberts: Let’s see what it says. So… What is reassign do?

594 00:45:21.250 00:45:22.780 Gabriel Lam: Under the wrong file. Yeah.

595 00:45:23.950 00:45:27.260 Samuel Roberts: Ticket reject, handle reassign…

596 00:45:34.120 00:45:43.470 Samuel Roberts: Update message only… So handle reassigned gets a body… interaction, okay.

597 00:45:44.030 00:45:48.839 Samuel Roberts: The body… okay, that’s fine, I got it. Let’s see what happens. Aw, you’re gonna…

598 00:45:49.750 00:45:54.740 Samuel Roberts: Hold on… gotta check Slack API dogs. What time are we at?

599 00:45:55.130 00:45:57.869 Samuel Roberts: 3, 11. Okay, so you gotta run kind of soon?

600 00:45:57.870 00:46:01.210 Gabriel Lam: In about 15… 20 minutes?

601 00:46:01.640 00:46:02.300 Samuel Roberts: Okay.

602 00:46:03.630 00:46:05.729 Samuel Roberts: Whoa, what the heck is going on there?

603 00:46:08.420 00:46:10.440 Samuel Roberts: This is more thinking than I thought I would have to do.

604 00:46:10.620 00:46:12.679 Gabriel Lam: I apologize.

605 00:46:12.680 00:46:17.190 Samuel Roberts: No, no, no, I meant this is, like, this is just… I thought it would have been like, yeah, here’s a curl command to hit that endpoint.

606 00:46:17.600 00:46:20.850 Samuel Roberts: That’s all I needed right there. That’s what I’m looking for. Whoa!

607 00:46:22.940 00:46:23.780 Gabriel Lam: Yeah.

608 00:46:25.900 00:46:28.440 Gabriel Lam: Yeah, she gave me the names of the…

609 00:46:28.440 00:46:34.259 Samuel Roberts: complicated than I was thinking. Okay. I might need to call it here, then, because I think we’re about to get into something…

610 00:46:34.260 00:46:35.030 Gabriel Lam: Okay.

611 00:46:35.500 00:46:37.630 Samuel Roberts: more complicated.

612 00:46:38.050 00:46:41.869 Gabriel Lam: But yeah, I’ll catch her tomorrow or something, I think that’s the same goal.

613 00:46:42.160 00:46:45.280 Samuel Roberts: But I will do a little bit of research on maybe a better way.

614 00:46:45.280 00:46:45.660 Gabriel Lam: they have.

615 00:46:45.660 00:46:46.750 Samuel Roberts: these apps.

616 00:46:46.750 00:46:47.390 Gabriel Lam: Yeah.

617 00:46:47.390 00:46:47.940 Samuel Roberts: Because this is…

618 00:46:47.940 00:46:49.140 Gabriel Lam: Appreciate that.

619 00:46:49.140 00:46:50.610 Samuel Roberts: not ideal.

620 00:46:50.610 00:46:52.139 Gabriel Lam: Yeah. But.

621 00:46:53.100 00:46:55.080 Samuel Roberts: At least it’s got the updates now.

622 00:46:55.570 00:46:56.990 Samuel Roberts: The question is those buttons.

623 00:46:56.990 00:46:58.180 Gabriel Lam: Mmm. Yep.

624 00:46:58.180 00:47:01.220 Samuel Roberts: But we can make that work. Okay. Let me…

625 00:47:01.960 00:47:07.470 Samuel Roberts: Did I do anything here? We’re gonna get rid of this. I just wanna undo my stuff and commit whatever we had here.

626 00:47:07.870 00:47:10.830 Samuel Roberts: Oh, shit. Damn it. I…

627 00:47:11.160 00:47:17.229 Samuel Roberts: We need styling guides. My Prettier just likes to break everything right now, because nothing is…

628 00:47:18.270 00:47:20.760 Samuel Roberts: I don’t think I made any real changes to this file.

629 00:47:20.760 00:47:21.600 Gabriel Lam: locations.

630 00:47:21.740 00:47:30.190 Samuel Roberts: We’re gonna blow this away. And then this one, we changed the type… We changed that…

631 00:47:30.660 00:47:35.810 Samuel Roberts: And then we also changed… this to do…

632 00:47:37.670 00:47:42.600 Samuel Roberts: Yeah, I’m just gonna delete this stuff, because we don’t need it now… oops.

633 00:47:45.570 00:47:51.819 Samuel Roberts: Okay, okay, okay… Save that, we will then…

634 00:47:52.160 00:47:55.499 Samuel Roberts: Add all those… I’m just gonna commit that so we have it all together. Yeah.

635 00:47:55.810 00:47:58.940 Samuel Roberts: And then… yeah, making progress, that feels good, okay.

636 00:47:59.100 00:47:59.990 Gabriel Lam: Awesome.

637 00:48:01.610 00:48:02.730 Gabriel Lam: Cool, alright.

638 00:48:02.730 00:48:05.919 Samuel Roberts: Yeah, we’ll make some progress on that, maybe later. I would say…

639 00:48:05.920 00:48:06.900 Gabriel Lam: and put it.

640 00:48:07.050 00:48:07.960 Gabriel Lam: a suggestion.

641 00:48:07.960 00:48:11.219 Samuel Roberts: I don’t know… yeah, I mean, I don’t know a better way to test this, really, right now.

642 00:48:11.600 00:48:17.050 Samuel Roberts: I’ll see what is out there, because Bhutan was saying the same thing, and if we’re going to be building a lot more Slack apps, we need a better system anyway.

643 00:48:17.050 00:48:19.859 Gabriel Lam: Oh, yeah. Cool. Okay.

644 00:48:19.860 00:48:24.249 Samuel Roberts: Alright, we’re also… Where is… where is my Zoom now? Alright, there we go, stop sharing…

645 00:48:24.250 00:48:26.029 Gabriel Lam: I appreciate that.

646 00:48:26.030 00:48:26.970 Samuel Roberts: Cool, alright.

647 00:48:27.620 00:48:31.159 Samuel Roberts: Thank you, I will catch you later. Alright, sounds good. Have a good one.

648 00:48:31.160 00:48:32.580 Gabriel Lam: You too. Bye.

649 00:48:32.580 00:48:33.180 Samuel Roberts: Okay.