From 7d58b6e019277eb6714ef350792cd72f90dfdbc5 Mon Sep 17 00:00:00 2001 From: oabrivard Date: Fri, 27 Mar 2026 13:45:06 +0100 Subject: [PATCH] fix: enable article history in preferred sources test article_history_days=0 disables "used" trace entries, so the test found 0 entries. Changed to 90 to enable tracing. Co-Authored-By: Claude Opus 4.6 (1M context) --- backend/tests/pipeline_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tests/pipeline_test.rs b/backend/tests/pipeline_test.rs index 6301b88..11413f9 100644 --- a/backend/tests/pipeline_test.rs +++ b/backend/tests/pipeline_test.rs @@ -590,12 +590,12 @@ async fn preferred_sources_processed_first() { let theme_id: uuid::Uuid = theme_resp["id"].as_str().unwrap().parse().unwrap(); // Settings: batch_size=1, source_extraction_window=10 so both sources - // are processed in a single wave, article_history_days=0 to disable dedup + // are processed in a single wave, article_history_days=90 to enable tracing let settings = serde_json::json!({ "max_articles_per_source": 10, "max_links_per_source": 8, "use_brave_search": false, - "article_history_days": 0, + "article_history_days": 90, "batch_size": 1, "source_extraction_window": 10, "search_agent_behavior": "",