Commit b8d786d
committed
fix: restore sidebar summary writes in writeThreadState
The PR inadvertently removed the block in writeThreadState that builds and
writes SidebarThreadSummary entries to sidebarThreadSummaryById. This meant
newly created threads and event-driven updates (message-sent, archived,
session-set, etc.) would never populate/update the sidebar summary, causing
threads to be invisible or stale in the sidebar until a separate
thread-upserted shell event arrived.
Restore the conditional write with the same equality-check optimization that
was already in place before.1 parent 0bb7044 commit b8d786d
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
522 | 524 | | |
523 | 525 | | |
524 | 526 | | |
| |||
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
655 | 667 | | |
656 | 668 | | |
657 | 669 | | |
| |||
718 | 730 | | |
719 | 731 | | |
720 | 732 | | |
721 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
722 | 736 | | |
723 | 737 | | |
724 | 738 | | |
| |||
0 commit comments