Repository navigation
Commit d708507
authored
fix(ui): main-session queued follow-ups use the wrong recovery history (#133067)
* fix(ui): keep queued messages bound to their conversation
Give mocked Gateway sessions one per-key identity and metadata owner while
preserving explicit stale-response fault injection. Separate selected routes
from configured main and maintain canonical pin/archive timestamps.
Repair the main/global outbox alias collapse exposed by truthful fixtures.
Preserve browser queues, drafts, attachments and original send attempts during
migration; retain ambiguous legacy destinations unsent for explicit recovery.
Keep captured identity, generation, connection and newer-input CAS fences.
Fix async committed-state browser probes and remove redundant identity and
routing adapters. Full mocked-browser proof passes 322 files / 1305 tests,
complete changed checks and the normal Linux UI build before integration.
* fix(ui): preserve scoped metadata and queued-edit custody
Honor advertised main-session identity and carry canonical per-agent metadata into the composer. Preserve immutable queued-edit ownership across routing and recovery changes without discarding unsaved corrections or weakening replacement CAS. Migrate affected fixture and storage assertions, with real history/reconnect boundary regressions.
* fix(ui): type queued-edit recovery through the client contract
* test(ui): align session fixtures with typed gateway contracts
* test(ui): keep incoming session fixtures coherent
Keep Work quota list and startup facts in one fixture, route split tool-title scenarios explicitly, and emit typing events for their actual owning agent. Preserve generation, freshness, pruning and sender-provenance assertions.
* fix(ui): keep attachment types outside storage runtimes1 parent a8c8c82 commit d708507
168 files changed
Lines changed: 6156 additions & 2610 deletions
File tree
- docs/web
- scripts
- ui/src
- app
- components
- e2e
- i18n/locales
- lib
- chat
- sessions
- pages
- chat
- components
- new-session
- sessions
- test-helpers
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 | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
669 | | - | |
| 668 | + | |
| 669 | + | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
702 | 728 | | |
703 | 729 | | |
704 | 730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
394 | | - | |
| 396 | + | |
395 | 397 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | 398 | | |
402 | 399 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | 400 | | |
407 | | - | |
| 401 | + | |
408 | 402 | | |
409 | 403 | | |
410 | | - | |
| 404 | + | |
411 | 405 | | |
412 | 406 | | |
413 | 407 | | |
| |||
421 | 415 | | |
422 | 416 | | |
423 | 417 | | |
424 | | - | |
| 418 | + | |
| 419 | + | |
425 | 420 | | |
426 | 421 | | |
427 | 422 | | |
428 | 423 | | |
429 | 424 | | |
430 | 425 | | |
431 | | - | |
| 426 | + | |
432 | 427 | | |
433 | 428 | | |
434 | 429 | | |
| |||
465 | 460 | | |
466 | 461 | | |
467 | 462 | | |
468 | | - | |
| 463 | + | |
469 | 464 | | |
470 | 465 | | |
471 | 466 | | |
| |||
484 | 479 | | |
485 | 480 | | |
486 | 481 | | |
487 | | - | |
| 482 | + | |
488 | 483 | | |
489 | 484 | | |
490 | 485 | | |
| |||
1974 | 1969 | | |
1975 | 1970 | | |
1976 | 1971 | | |
1977 | | - | |
| 1972 | + | |
1978 | 1973 | | |
1979 | 1974 | | |
1980 | 1975 | | |
| |||
3095 | 3090 | | |
3096 | 3091 | | |
3097 | 3092 | | |
| 3093 | + | |
3098 | 3094 | | |
3099 | 3095 | | |
3100 | 3096 | | |
| |||
3426 | 3422 | | |
3427 | 3423 | | |
3428 | 3424 | | |
3429 | | - | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
3430 | 3428 | | |
3431 | 3429 | | |
3432 | 3430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
258 | 262 | | |
259 | 263 | | |
260 | 264 | | |
261 | | - | |
| 265 | + | |
| 266 | + | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
| |||
302 | 307 | | |
303 | 308 | | |
304 | 309 | | |
305 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
| |||
322 | 337 | | |
323 | 338 | | |
324 | 339 | | |
325 | | - | |
| 340 | + | |
| 341 | + | |
326 | 342 | | |
327 | 343 | | |
328 | 344 | | |
| |||
367 | 383 | | |
368 | 384 | | |
369 | 385 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
374 | 392 | | |
375 | 393 | | |
376 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
377 | 398 | | |
378 | 399 | | |
379 | 400 | | |
| |||
0 commit comments