haiku.rag/tests
Chris McDonough 7d80eb4f83 Fix discover() crash when file is deleted during stat()
A file deleted between os.walk() and path.stat() raises
FileNotFoundError, which propagated uncaught and failed the entire
discover() sweep. With enough failures this trips the circuit
breaker, silencing the poller.

Catch FileNotFoundError around the stat() call and skip the file.
The next sweep (or watchfiles) will emit the DELETE event.
2026-06-01 07:29:51 -04:00
..
cassettes record cassettes against new fixtures, fix stale assertions 2026-05-26 11:44:46 +03:00
chat rotate chat TUI conversation id per launch / clear-chat 2026-05-21 14:21:51 +03:00
data Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
docker Replace MinIO with SeaweedFS for S3 integration tests 2026-04-08 14:19:32 +03:00
ingester Fix discover() crash when file is deleted during stat() 2026-06-01 07:29:51 -04:00
sandbox toc.json nodes carry chunk_ids; fix cite to accept DB-resolvable chunk_ids 2026-05-20 11:37:35 +03:00
skills drop list_documents/get_document from default RAG skill 2026-05-26 11:35:43 +03:00
store Cover unparseable-metadata path 2026-05-26 11:44:47 +03:00
tools remove dead code, add tool descriptions in frontend, update changelog 2026-04-20 15:38:17 +03:00
utils Checkout version logic and datetime utils 2025-12-19 12:03:16 +02:00
__init__.py Use LLM-as-a-judge to test QA 2025-06-25 18:18:28 +03:00
conftest.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
json_body_serializer.py Use cassette to record and reply llms in qa tests 2025-12-26 15:41:11 +02:00
test_cascade_delete.py Cascade delete_document to children via metadata.parent_uri 2026-05-28 15:36:00 +03:00
test_chunk.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_chunker.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_cli.py drop the old monitor, rename serve→mcp, add e2e tests 2026-05-26 11:42:41 +03:00
test_client.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_client_analyze.py record cassettes against new fixtures, fix stale assertions 2026-05-26 11:44:46 +03:00
test_config.py Drop the multi-agent research workflow 2026-05-20 12:46:48 +03:00
test_context.py search: only attach picture bytes from pre-expansion chunks 2026-05-19 15:03:22 +03:00
test_context_enhancement.py Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
test_converters.py Let httpx errors flow through DoclingServeClient 2026-05-26 17:38:49 +03:00
test_database_autocreate.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_docling_serve_client.py Fix round-robin docling-serve 2026-05-26 13:07:21 +03:00
test_document.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_download_models.py Drop the multi-agent research workflow 2026-05-20 12:46:48 +03:00
test_embedder.py Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
test_embedder_config.py auto-append /v1 to vllm base_url, matching ollama behavior 2026-05-05 16:08:14 +03:00
test_filter.py Push document-id filter into chunk search query 2026-04-24 16:07:07 +03:00
test_info.py Migrate LanceDB to native async API 2026-04-24 14:42:52 +03:00
test_inspector.py render attached pictures in inspector context modal under qa.model.vision 2026-05-06 12:00:12 +03:00
test_lancedb_connection.py Group relative-path test with the other connect_lancedb dispatch tests 2026-04-25 09:28:46 +03:00
test_logging.py Additional tests 2026-02-13 18:08:46 +02:00
test_mcp.py rename embed_image_query to embed_image; run description check on text path 2026-05-05 16:15:47 +03:00
test_pdf_attachments.py improve coverage 2026-05-28 18:06:47 +03:00
test_pdf_split.py Unlink PDF slice tempfiles when slice write fails 2026-05-26 13:46:24 +03:00
test_picture_description.py cover picture-description provider and rebuild edge cases 2026-05-05 14:20:37 +03:00
test_picture_in_context.py Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00
test_processing.py Replace picture_description.enabled with processing.pictures enum 2026-05-13 16:22:44 +03:00
test_reader.py async versions for convert_file() convert_text() 2025-11-26 17:46:25 +02:00
test_rebuild.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_reranker.py coverage 2026-05-14 15:54:43 +03:00
test_s3_integration.py drop the old monitor, rename serve→mcp, add e2e tests 2026-05-26 11:42:41 +03:00
test_s3_source.py canonical metadata keys: source_revision + content_type, bump to 0.50.0 2026-05-26 11:43:30 +03:00
test_search.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
test_settings.py drop the old monitor, rename serve→mcp, add e2e tests 2026-05-26 11:42:41 +03:00
test_skill_generator.py Remove documents from state, fix tests 2026-04-20 09:48:18 +03:00
test_skill_tools.py drop list_documents/get_document from default RAG skill 2026-05-26 11:35:43 +03:00
test_title_generation.py drop private title/embedding forwarders from HaikuRAG 2026-04-24 15:52:50 +03:00
test_utils.py Drop the multi-agent research workflow 2026-05-20 12:46:48 +03:00
test_versioning.py Always use the Store-owned embedder 2026-05-29 11:36:53 +03:00