You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(index): an append that leaves a transcript's mtime unchanged is not reindexed for unlinked and subagent rows #740
session-cache.js:536 skips a row on refresh when its fileMtime matches the recorded one and the row has no continuationIndex or has a parentSessionId (subagent rows). On Windows an append can leave the transcript's mtime unchanged (the effect behind #738). Such an append is then not reindexed until a later write moves the mtime, so the last write of a session can leave its sidebar row (message count, preview, timestamps) stale.
Linked rows are not affected: they also compare the continuation stamp (dev, ino, birthtime, mtimeNs, size), so growth is seen without an mtime change.
A row whose transcript grew is refreshed even when its mtime did not advance — e.g. compare size alongside fileMtime for unlinked and subagent rows. Test: grow a transcript with its mtime pinned back; the row is reindexed.
Activity
docs(changelog): keep one #740 entry
(index): reindex a transcript that grew without its mtime moving (#740)…
test(index): expect the header refresh to publish the size after #740