haiku.rag/tests
Chris McDonough 8deac2fee8
Fix constant re-ingestion when server provides no revision header
HTTP, S3, and WebDAV sources all check `revision is not None and
snapshot.get(uri) == revision` to decide UPSERT vs UNCHANGED.  When
a server returns no ETag or Last-Modified, revision is None and the
condition always fails — every sweep emits UPSERT even though the
content hasn't changed.

Now emit UNCHANGED when revision is None and the URI is already
known (has been ingested before).  A first-time discovery with no
revision still correctly emits UPSERT.
2026-06-01 18:14:27 +03: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
ingester Fix constant re-ingestion when server provides no revision header 2026-06-01 18:14:27 +03: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
utils
__init__.py
conftest.py Remove repliqa from test setup 2026-06-01 10:40:52 +03:00
json_body_serializer.py
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
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
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
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
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
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