Skip to content

pkgs/id: id-sync lib tests do not compile standalone (id_core::connectivity::silent feature not enabled) #8760

Closed

Description

@dezren39

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

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. added this to the ID platform program milestone on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions