Summary
cargo test -p ruvector-graph --all-features does not compile on current main. This was reproduced while validating PR #670; the default/full GraphDB feature set passes, so the defect is isolated to the optional distributed replication path.
Compiler failures
ReplicationOp is passed to bincode::encode_to_vec but does not implement bincode::Encode (crates/ruvector-graph/src/distributed/replication.rs:218).
- Two
map_err calls construct GraphError::ReplicationError(e) with a ReplicationError, but the enum variant requires String (replication.rs:114,124).
Reproduction
cargo test -p ruvector-graph --all-features
Expected
The advertised distributed/all-features configuration compiles and its tests run. Add a focused feature-matrix CI check so this cannot silently regress again.
Scope note
This is pre-existing and unrelated to GraphDB update_node/BM25 in #670; default-feature tests (177 passed, 3 ignored) and strict default-feature Clippy were green there.
Summary
cargo test -p ruvector-graph --all-featuresdoes not compile on current main. This was reproduced while validating PR #670; the default/full GraphDB feature set passes, so the defect is isolated to the optional distributed replication path.Compiler failures
ReplicationOpis passed tobincode::encode_to_vecbut does not implementbincode::Encode(crates/ruvector-graph/src/distributed/replication.rs:218).map_errcalls constructGraphError::ReplicationError(e)with aReplicationError, but the enum variant requiresString(replication.rs:114,124).Reproduction
cargo test -p ruvector-graph --all-featuresExpected
The advertised
distributed/all-featuresconfiguration compiles and its tests run. Add a focused feature-matrix CI check so this cannot silently regress again.Scope note
This is pre-existing and unrelated to GraphDB
update_node/BM25 in #670; default-feature tests (177 passed, 3 ignored) and strict default-feature Clippy were green there.