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
On current main (e9c64db568404a6ec384f156656768d77a026c04), truncating old history leaves session_start_index unchanged. Retained current-session entries then disappear from span(), string search and regex search.
Reproduced on macOS 26.3.2 arm64 with Python 3.11.15:
@tridev-tej Can you please check to see if the history changes in PR #1778 happen to fix this issue? I think they are orthogonal to this, but it is worth checking.
Activity
tridev-tej commentedon Oct 25, 2026
I'm working on a fix for the session boundary in
History.truncate().tleonhardt commentedon Oct 25, 2026
@tridev-tej Can you please check to see if the history changes in PR #1778 happen to fix this issue? I think they are orthogonal to this, but it is worth checking.
tleonhardt commentedon Oct 28, 2026
@tridev-tej I have a fix for this up under PR #1787. Could you please verify that this fixes the issue you were encountering?
Fix History.truncate() leaving session start index stale (python-cmd2…