-
Notifications
You must be signed in to change notification settings - Fork 2
bug(candle): --features candle alone fails to compile (MessageMetadata unresolved) #2189
Copy link
Copy link
Closed
Labels
P2High value, medium complexityHigh value, medium complexitybugSomething isn't workingSomething isn't working
Description
Bug
cargo build -p zeph-llm --features candle succeeds, but cargo nextest run -p zeph-llm --features candle --lib fails with:
error[E0433]: failed to resolve: use of undeclared type `MessageMetadata`
The candle feature depends on MessageMetadata which is gated behind another feature flag not included when building candle alone.
Impact
- Cannot run
zeph-llmunit tests with--features candlein isolation - CI runs with
--features fullwhich includes all features, masking this bug - Prevents targeted candle-only test runs for classifier development (feat(classifiers): replace regex heuristics with Candle-backed lightweight classifiers #2185)
Reproduction
cargo nextest run -p zeph-llm --features candle --lib
# -> error[E0433]: failed to resolve: use of undeclared type MessageMetadataWorks fine with:
cargo nextest run --workspace --features full --lib # all 6554 passFix
Identify which module declares MessageMetadata and ensure its feature gate is a dependency of the candle feature, or remove the dependency from candle-scoped test code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2High value, medium complexityHigh value, medium complexitybugSomething isn't workingSomething isn't working