Repository navigation
Commit c43a295
fix(server): idle compaction survives a late run.updated for an earlier run
A late completed run.updated for an earlier run (from a delegated-task
completion) replaced the latest run's idle-compaction timer with one that
loaded only the earlier run's messages, found no window and exited, so the
thread never compacted. compactWhenDue now retargets to the thread's latest
run when that run is completed and differs from the event's run.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 13bb727 commit c43a295
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
| |||
0 commit comments