idx-cli/crates/idx-core/src/api/yahoo
hermes e78d9fcecd refactor(core): compile the mock provider only with a testing feature
Phase 3a of docs/DESIGN.md. MockProvider moves to api/mock.rs, and it,
the embedded MSN fixture bodies, and the IDX_MOCK_* hooks compile only
with idx-core's new `testing` feature. idx-cli enables it as a
dev-dependency, so `cargo test` keeps the fixture-backed provider while
release binaries no longer embed fixture data or honor
IDX_USE_MOCK_PROVIDER. Parser helpers used only by the mock are gated
the same way.

The packaged-cli flake check no longer relies on the mock; it checks
an offline cache miss (JSON CACHEMISS, exit 3) instead.

Goldens unchanged; clippy is clean with and without `testing`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:31:12 +00:00
..
client.rs refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
map.rs refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
mod.rs refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
parse.rs refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
raw_types.rs refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00