Commit 51ece8f
committed
fix: address PR 3173 review feedback (closure + unhandled rejection)
- playground transport: route startSession through a ref so sidebar
edits (tags, machine, maxAttempts, maxDuration, version, region) made
before the first send aren't silently ignored. Mirrors the existing
clientDataJsonRef pattern.
- chat.handover: swallow the rethrown error after the recovery path
has already run so processes started with --unhandled-rejections=throw
don't crash. User-facing behavior unchanged.1 parent 6c49485 commit 51ece8f
2 files changed
Lines changed: 21 additions & 3 deletions
File tree
- apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.playground.$agentParam
- packages/trigger-sdk/src/v3
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
263 | 272 | | |
264 | 273 | | |
265 | 274 | | |
| |||
274 | 283 | | |
275 | 284 | | |
276 | 285 | | |
277 | | - | |
278 | | - | |
| 286 | + | |
| 287 | + | |
279 | 288 | | |
280 | 289 | | |
281 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
591 | 600 | | |
592 | 601 | | |
593 | 602 | | |
| |||
0 commit comments