fix(coding-agent): clear label timestamp cache on new sessions
Some checks are pending
CI / build-check-test (push) Waiting to run

closes #6354
This commit is contained in:
Vegard Stikbakke 2026-07-06 15:31:32 +02:00
parent 647c5554b7
commit 6efc09b7eb
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@
- Fixed custom session entries appended during assistant streaming to render before the live assistant message, matching persisted session order.
- Fixed oversized bash tool timeouts to fail with a clear validation error instead of being clamped to an immediate timeout ([#6181](https://github.com/earendil-works/pi/issues/6181)).
- Fixed the edit tool schema to allow model-invented extra replacement fields instead of rejecting otherwise valid edits ([#6278](https://github.com/earendil-works/pi/issues/6278)).
- Fixed new session resets to clear cached label timestamps ([#6354](https://github.com/earendil-works/pi/issues/6354)).
### Removed

View file

@ -864,6 +864,7 @@ export class SessionManager {
this.fileEntries = [header];
this.byId.clear();
this.labelsById.clear();
this.labelTimestampsById.clear();
this.leafId = null;
this.flushed = false;