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
Commit 00a36b6
Browse filesBrowse the repository at this point in the historyBrowse files
ref(cache): delete the current session file unconditionally again
The SessionEnd guard only paid off in a narrow window: a SessionEnd still
queued while a newer session had already started and recorded an
unhandled error. Dropping it degrades to the behaviour on main, because
the queued SessionStart rewrites the file moments later, just without the
flag. That cost a session.json read and deserialize on every SessionEnd
for every SDK.
The SessionStart guard stays. Its window is far wider, since app start is
when the transport is busiest flushing the previous run's cache, and its
failure mode is worse than a lost flag: movePreviousSession files the
running session as the previous one.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments