- Notifications
You must be signed in to change notification settings - Fork1.1k
Commitca560d3
fix: remove inflight interceptions from aibridge returned values (#20852)
Addresses [`aibridge#54`](coder/aibridge#54)When querying against the values in the database for`/api/experimental/aibridge/interceptions` we found strange behaviourwherein there was interceptions that lacked prompting and other variousfields we want. Generally this was as a result of the data not actuallyexisting for these values (as they were inflight).The simple solution to this was to hide them if they didn't exist. ThisPR addresses that.---------Co-authored-by: Danny Kopping <danny@coder.com>1 parent6c2900f commitca560d3
File tree
4 files changed
+62
-12
lines changed- coderd/database
- queries
- enterprise
- cli
- coderd
4 files changed
+62
-12
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | | - | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | | - | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
179 | | - | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| 223 | + | |
220 | 224 | | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
224 | | - | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
| |||
297 | 301 | | |
298 | 302 | | |
299 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
300 | 337 | | |
301 | 338 | | |
302 | 339 | | |
| |||
315 | 352 | | |
316 | 353 | | |
317 | 354 | | |
| 355 | + | |
318 | 356 | | |
319 | 357 | | |
320 | 358 | | |
321 | | - | |
| 359 | + | |
322 | 360 | | |
323 | 361 | | |
324 | 362 | | |
| |||
374 | 412 | | |
375 | 413 | | |
376 | 414 | | |
| 415 | + | |
377 | 416 | | |
378 | 417 | | |
379 | 418 | | |
380 | 419 | | |
381 | 420 | | |
382 | 421 | | |
383 | | - | |
| 422 | + | |
384 | 423 | | |
385 | 424 | | |
386 | 425 | | |
| |||
0 commit comments
Comments
(0)