Skip to content

graph: distributed/all-features build is broken in replication serialization #732

Description

@ruvnet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions