Revert "refactor: remove legacy history and proxy migrations (#6518)"
This reverts commit cb3ba45317.
Keep JSONL history and legacy proxy migration available throughout 0.4.x. Mark their removal for 0.5.0 in code and release guidance, preserving later context graph, archive and recovery changes.
This commit is contained in:
1 parent
3918ece17f
commit
812b92d734
47 files changed
+1932
-204
No files matched your search
@@ -0,0 +1,11 @@
|
||||
"""Completed migration makes legacy JSONL files inert."""
|
||||
|
||||
from nanobot.session.manager import SessionManager
|
||||
|
||||
|
||||
def test_list_and_reads_ignore_files_created_after_migration(tmp_path):
|
||||
manager = SessionManager(tmp_path)
|
||||
(manager.sessions_dir / "cli_test.jsonl").write_text("invalid JSON")
|
||||
assert manager.list_sessions() == []
|
||||
assert manager.read_session_metadata("cli:test") is None
|
||||
assert manager.read_session_file("cli:test") is None
|
||||
Reference in new issue
Block a user