SurfSense/surfsense_backend/tests/unit/tasks/chat
CREDO23 5b45f78a16 refactor(chat): delete legacy stream_new_chat monolith (cutover complete)
The flows orchestrators (new_chat/resume_chat) are now the sole live path
after the byte-for-byte differential proof, so the monolith and its
monolith-vs-flows parity scaffolding are removed.

- Repoint the last live importer (anonymous_chat_routes) to
  streaming.agent.event_loop.stream_agent_events + shared.stream_result.StreamResult
  (drop-in; the keyword-only fallback-commit params default to inert for anon).
- Repoint e2e launcher patch targets to flows.shared.llm_bundle.
- Repoint helper unit tests (chunk_parts, thinking-step ids, tool-input
  streaming) to their flows homes to preserve coverage.
- Delete the monolith, the contract test, and the parity tests
  (parallel_refactor, stage_1, stage_2, orchestrator_frame) whose sole
  purpose was comparing against the now-removed monolith.

Full suite green (2622 passed, 1 skipped); the two excluded live-app dirs
(document_upload, composio) have a pre-existing, env-gated registration 404
unrelated to this change.
2026-06-04 14:35:45 +02:00
..
streaming refactor(chat): delete legacy stream_new_chat monolith (cutover complete) 2026-06-04 14:35:45 +02:00
__init__.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_content_builder.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
test_extract_chunk_parts.py refactor(chat): delete legacy stream_new_chat monolith (cutover complete) 2026-06-04 14:35:45 +02:00
test_thinking_step_id_uniqueness.py refactor(chat): delete legacy stream_new_chat monolith (cutover complete) 2026-06-04 14:35:45 +02:00
test_tool_input_streaming.py refactor(chat): delete legacy stream_new_chat monolith (cutover complete) 2026-06-04 14:35:45 +02:00