From 8e46312df2fcf4f9f1b21eca80b218eee5bcd616 Mon Sep 17 00:00:00 2001 From: jedarden Date: Sun, 19 Apr 2026 06:44:39 -0400 Subject: [PATCH] P2.3: Clean up unused import in acceptance test - Remove unused ShardHitPage import from p23_search_read_path.rs - All 10 acceptance tests pass: - Unique-keyword search returns exactly 1 hit (RRF deduplication) - Facet counts sum correctly across shards - Paging with no dupes/gaps (5 pages of 10 = 50 unique results) - Node down with RF=2: search still covers all shards - Group down with fallback: uses other group, not degraded - X-Miroir-Degraded header includes actual shard IDs Co-Authored-By: Claude Opus 4.7 --- crates/miroir-core/tests/p23_search_read_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/miroir-core/tests/p23_search_read_path.rs b/crates/miroir-core/tests/p23_search_read_path.rs index d848bb1..1a7d790 100644 --- a/crates/miroir-core/tests/p23_search_read_path.rs +++ b/crates/miroir-core/tests/p23_search_read_path.rs @@ -11,7 +11,7 @@ //! - X-Miroir-Degraded: shards=... stamped when a shard has zero live replicas use miroir_core::config::UnavailableShardPolicy; -use miroir_core::merger::{ScoreMergeStrategy, ShardHitPage}; +use miroir_core::merger::ScoreMergeStrategy; use miroir_core::scatter::{plan_search_scatter, MockNodeClient, SearchRequest}; use miroir_core::topology::{Node, NodeId, Topology}; use serde_json::json;