Commit bb036f9
committed
feat(webapp): split Watch out of the dashboard agent's first PR
The agent ships Chat and Investigate here; Watch — telling the user later —
follows in its own PR. The whole user-facing feature leaves: the watch card,
chips, wake banner and toast, the unread-wake badge and its poll, the watch
routes, checks, batches and sweeps, the watch alert email and its channel type,
and the watchMaintenance cron.
The agent no longer promises it either: schedule_watch and the alert tools are
gone from the tool set, and the Watches section is out of the system prompt.
Leaving that text in would have had the agent refuse to poll for something it
could no longer offer.
The datastore's watch tables stay. The migrations ship in this PR, so the drizzle
schema that describes them has to ship too — a schema that no longer matched the
migrated tables would make the next generate emit a drop.1 parent f4337f7 commit bb036f9
142 files changed
Lines changed: 139 additions & 24147 deletions
File tree
- .server-changes
- apps/webapp
- app
- components
- dashboard-agent
- demo/fixtures
- suggested-prompts
- queues
- presenters/v3
- dashboardAgent
- reports
- routes
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.alerts.new
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.alerts
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.errors.$fingerprint
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues_.$queueParam
- _app.orgs.$organizationSlug.projects.$projectParam.env.$envParam
- resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam
- services
- v3
- services/alerts
- test
- __snapshots__
- internal-packages
- dashboard-agent-contracts/src
- dashboard-agent
- src
- __snapshots__
- database/prisma
- migrations/20260729120000_add_dashboard_agent_watch_alert_type
- emails
- emails
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
Lines changed: 3 additions & 165 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 19 | | |
36 | 20 | | |
37 | 21 | | |
38 | 22 | | |
39 | 23 | | |
40 | 24 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 25 | | |
46 | 26 | | |
47 | 27 | | |
48 | 28 | | |
49 | | - | |
50 | | - | |
51 | 29 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 30 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 31 | | |
85 | 32 | | |
86 | 33 | | |
| |||
106 | 53 | | |
107 | 54 | | |
108 | 55 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 56 | | |
117 | 57 | | |
118 | 58 | | |
119 | 59 | | |
120 | 60 | | |
121 | | - | |
122 | 61 | | |
123 | 62 | | |
124 | 63 | | |
125 | | - | |
126 | | - | |
127 | 64 | | |
128 | 65 | | |
129 | 66 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 67 | | |
136 | 68 | | |
137 | 69 | | |
138 | 70 | | |
139 | 71 | | |
140 | 72 | | |
141 | 73 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 74 | | |
234 | 75 | | |
235 | 76 | | |
| |||
247 | 88 | | |
248 | 89 | | |
249 | 90 | | |
250 | | - | |
251 | | - | |
| 91 | + | |
| 92 | + | |
252 | 93 | | |
253 | 94 | | |
254 | 95 | | |
| |||
277 | 118 | | |
278 | 119 | | |
279 | 120 | | |
280 | | - | |
281 | | - | |
282 | 121 | | |
283 | 122 | | |
284 | | - | |
285 | 123 | | |
286 | 124 | | |
287 | 125 | | |
| |||
Lines changed: 4 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
| |||
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
22 | | - | |
| 17 | + | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
31 | | - | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
| |||
61 | 55 | | |
62 | 56 | | |
63 | 57 | | |
64 | | - | |
65 | 58 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 59 | | |
71 | 60 | | |
72 | 61 | | |
| |||
86 | 75 | | |
87 | 76 | | |
88 | 77 | | |
89 | | - | |
90 | 78 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 79 | | |
97 | 80 | | |
98 | 81 | | |
| |||
189 | 172 | | |
190 | 173 | | |
191 | 174 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 175 | | |
207 | 176 | | |
208 | 177 | | |
| |||
223 | 192 | | |
224 | 193 | | |
225 | 194 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 195 | + | |
230 | 196 | | |
231 | 197 | | |
232 | 198 | | |
| |||
264 | 230 | | |
265 | 231 | | |
266 | 232 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 233 | | |
271 | 234 | | |
272 | 235 | | |
273 | 236 | | |
274 | 237 | | |
275 | 238 | | |
276 | 239 | | |
277 | | - | |
| 240 | + | |
278 | 241 | | |
279 | 242 | | |
280 | 243 | | |
| |||
289 | 252 | | |
290 | 253 | | |
291 | 254 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | 255 | | |
304 | 256 | | |
305 | 257 | | |
| |||
334 | 286 | | |
335 | 287 | | |
336 | 288 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | 289 | | |
342 | 290 | | |
343 | 291 | | |
| |||
353 | 301 | | |
354 | 302 | | |
355 | 303 | | |
356 | | - | |
357 | 304 | | |
358 | 305 | | |
359 | 306 | | |
360 | | - | |
361 | 307 | | |
362 | 308 | | |
363 | 309 | | |
| |||
0 commit comments