From b514c43d6b539afb70535e25df5aea6b4583d8c6 Mon Sep 17 00:00:00 2001 From: rock Date: Tue, 15 Sep 2026 13:57:58 +0900 Subject: [PATCH] fix: add missing dev-dependencies + fix test assertion - Added tracing, tracing-subscriber, reqwest, uuid to [dev-dependencies] (test files referenced these crates but they weren't available) - Fixed test assertion: WikiLinkFallbackExtractor extracts [[Concurrency]] not 'Go' from text 'Go [[Concurrency]] is powerful' --- Cargo.lock | 4 ++++ Cargo.toml | 4 ++++ tests/unit_ingest_logging.rs | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6aff59c..0cfff2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2599,11 +2599,15 @@ dependencies = [ "mem-llm", "mem-store", "regex", + "reqwest", "serde_json", "sqlx", "time", "tokio", "toml", + "tracing", + "tracing-subscriber", + "uuid", "wiremock", ] diff --git a/Cargo.toml b/Cargo.toml index 89f1bfb..cf12354 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,10 @@ chrono = { version = "0.4", features = ["serde"] } regex = { workspace = true } sqlx = { workspace = true } base64 = { workspace = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true } +reqwest = { workspace = true } +uuid = { workspace = true } [profile.release] opt-level = 3 diff --git a/tests/unit_ingest_logging.rs b/tests/unit_ingest_logging.rs index b825324..150991a 100644 --- a/tests/unit_ingest_logging.rs +++ b/tests/unit_ingest_logging.rs @@ -274,8 +274,8 @@ mod tests { "Linux entity should be extracted from at least one record" ); assert!( - all_extracted_entities.iter().any(|name| name.contains("Go") || name.contains("go")), - "Go entity should be extracted from at least one record" + all_extracted_entities.iter().any(|name| name.contains("Concurrency") || name.contains("concurrency")), + "Concurrency entity should be extracted from at least one record (via [[Concurrency]] wiki link)" ); }