| test(provenance): rewrite integration tests with real pipeline components
Replace TestArchiveIdPreGeneration which mocked MemoryWriteAPI,
get_session_manager, get_write_api, _async_drain with a real
MemoryWriteAPI → CandidatePipeline → ContextWriter pipeline using
InMemoryContextFS. Only LLM remains mocked.
Move InMemoryContextFS from tests/integration/core/ to
tests/integration/conftest.py for sharing across subdirectories.
Fix _preference_input to use routing_key field name matching real
schema. Replace _make_fs mock in react_loop tests with shared
InMemoryContextFS fixture.
Co-Authored-By: Claude glm-5.1 <noreply@anthropic.com>
| 15 天前 |