Commit c36fecb
committed
fix(webapp): gate the session run's version on the basin the run will carry
The run is created with the organization's basin, and run-scoped stream routes
resolve their basin from the run alone. The session's own basin never enters
that path, so gating the version on it can stamp a run v2 whose basin resolves
to nothing, and every stream operation on that run then throws for its whole
life.
Reverts to the organization basin, which is the value the run is actually
created with. Where an organization has been deprovisioned, its sessions keep
serving v2 channels from their pinned basin while newly triggered runs degrade
to v1, which still works, rather than failing outright.1 parent afaf3b4 commit c36fecb
1 file changed
Lines changed: 4 additions & 17 deletions
Lines changed: 4 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
| |||
241 | 235 | | |
242 | 236 | | |
243 | 237 | | |
244 | | - | |
245 | 238 | | |
246 | 239 | | |
247 | 240 | | |
| |||
291 | 284 | | |
292 | 285 | | |
293 | 286 | | |
294 | | - | |
| 287 | + | |
295 | 288 | | |
296 | 289 | | |
297 | 290 | | |
| |||
326 | 319 | | |
327 | 320 | | |
328 | 321 | | |
329 | | - | |
| 322 | + | |
330 | 323 | | |
331 | 324 | | |
332 | 325 | | |
| |||
348 | 341 | | |
349 | 342 | | |
350 | 343 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 344 | + | |
358 | 345 | | |
359 | 346 | | |
360 | 347 | | |
| |||
0 commit comments