You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pkgs/id: id-sync lib tests do not compile standalone (id_core::connectivity::silent feature not enabled) #8760
Found by lane code-a during task 15007 (issue #8750 fix) on main f149466 (also reproduced on the pristine primary clone at the same commit, so it is not change-related).
Running the id-sync unit tests standalone in the pkgs/id workspace fails to compile:
$ cargo test -p id-sync --lib log_sync
error[E0432]: unresolved import `id_core::connectivity::silent`
error[E0432]: unresolved import `id_core::connectivity::silent`
error: could not compile `id-sync` (lib test) due to 2 previous errors
The import sites are test-only code in crates/id-sync/src/artifact.rs:1246 and crates/id-sync/src/envelope_net.rs:231; pub mod silent exists in crates/id-core/src/connectivity.rs:107 but is feature-gated, and the feature is not enabled when id-sync's lib tests are built on their own (the full workspace build unifies features and compiles). Effect: cargo test -p id-sync --lib cannot run at all, so the crate's unit tests are silently skipped by anyone testing per-crate.
Fix options: enable the needed id-core feature from id-sync's dev-dependencies, or move the silent test helpers behind the same cfg the tests use. Verify with cargo test -p id-sync --lib compiling and running standalone.
Activity
developing-today commentedon Nov 11, 2026
CODE-2617