Commit d4c9511
committed
Fix unguarded cache clear on provider exit and overly broad compaction item heuristic
- Guard clearTurnStateForSession with shouldApplyThreadLifecycle so a
replaced provider's session.exited event does not wipe turn caches
belonging to the new provider's in-progress turn.
- Remove the overly broad 'summary' fallback from looksLikeCompactionItem;
only compact_summary and compactSummary are specific enough to identify
compaction items without false positives.1 parent 84b54f7 commit d4c9511
File tree
2 files changed
+2
-6
lines changed- apps/server/src
- orchestration/Layers
- provider
2 files changed
+2
-6
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1147 | 1147 | | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | | - | |
| 1150 | + | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 75 | + | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
0 commit comments