perf: background post-response memory consolidation for faster replies

This commit is contained in:
Xubin Ren
2026-03-16 09:01:11 +00:00
parent 6d63e22e86
commit 46b19b15e1
5 changed files with 23 additions and 522 deletions

View File

@@ -591,8 +591,8 @@ class TestNewCommandArchival:
assert loop.sessions.get_or_create("cli:test").messages == []
@pytest.mark.asyncio
async def test_close_mcp_drains_pending_archives(self, tmp_path: Path) -> None:
"""close_mcp waits for background archive tasks to complete."""
async def test_close_mcp_drains_background_tasks(self, tmp_path: Path) -> None:
"""close_mcp waits for background tasks to complete."""
from nanobot.bus.events import InboundMessage
loop = self._make_loop(tmp_path)