Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/paired-root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
cargo fmt --package semantic-memory -- --check
cargo check --locked -p semantic-memory --example governed_append_canary
cargo clippy --locked -p semantic-memory --all-targets -- -D warnings
# Turbo without testing must not import the testing-only ReplayMode.
cargo clippy --locked -p semantic-memory --test search_tests \
--no-default-features --features brute-force,turbo-quant-codec -- -D warnings
# The testing lane must still compile and execute its replay tests.
cargo test --locked -q -p semantic-memory --test search_tests \
--no-default-features --features brute-force,testing
cargo test --locked -q -p semantic-memory --lib
cargo test --locked -q -p semantic-memory --test foreign_key_integrity
cargo test --locked -q -p semantic-memory --test episode_meta_trait
Expand Down
2 changes: 1 addition & 1 deletion tests/search_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use semantic_memory::search::{cosine_similarity, sanitize_fts_query, source_dedup_key};
#[cfg(feature = "turbo-quant-codec")]
use semantic_memory::DerivedVectorBackendPolicy;
#[cfg(any(feature = "testing", feature = "turbo-quant-codec"))]
#[cfg(feature = "testing")]
use semantic_memory::ReplayMode;
use semantic_memory::SearchSource;
use semantic_memory::{
Expand Down
Loading