Search busy-pool test fixture lacks the required mime column #1185

Open
opened 2026-10-06 05:36:08 +00:00 by kayg · 0 comments
Owner

Found during independent Hide review #1153 on job/hide-1153.

cargo test -p calternal-search -- --test-threads=4 fails in search_returns_committed_hits_while_the_frecency_pool_is_busy before it reaches its timing assertion. The fixture creates search_manifest without mime, while reconciliation reads that column. The fixture file is unchanged from origin/dev. No assertion or fixture was changed in this review.

Verbatim output:

thread 'search_returns_committed_hits_while_the_frecency_pool_is_busy' (2968861) panicked at crates/calternal-search/tests/indexer.rs:1212:40:
called `Result::unwrap()` on an `Err` value: Background("error returned from database: (code: 1) no such column: mime")
test result: FAILED. 25 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 558.75s

Focused reproduction:

export CARGO_PROFILE_DEV_DEBUG=line-tables-only CARGO_INCREMENTAL=0 CARGO_BUILD_JOBS=4
export TMPDIR="$PWD/target/tmp"
cargo test -p calternal-search --test indexer search_returns_committed_hits_while_the_frecency_pool_is_busy -- --nocapture

Repair the fixture through the accepted test-schema helper, preserving its existing timing and committed-hit assertions. This is a schema error, not a SLOW-only result.

Found during independent Hide review #1153 on `job/hide-1153`. `cargo test -p calternal-search -- --test-threads=4` fails in `search_returns_committed_hits_while_the_frecency_pool_is_busy` before it reaches its timing assertion. The fixture creates `search_manifest` without `mime`, while reconciliation reads that column. The fixture file is unchanged from origin/dev. No assertion or fixture was changed in this review. Verbatim output: ```text thread 'search_returns_committed_hits_while_the_frecency_pool_is_busy' (2968861) panicked at crates/calternal-search/tests/indexer.rs:1212:40: called `Result::unwrap()` on an `Err` value: Background("error returned from database: (code: 1) no such column: mime") test result: FAILED. 25 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 558.75s ``` Focused reproduction: ```sh export CARGO_PROFILE_DEV_DEBUG=line-tables-only CARGO_INCREMENTAL=0 CARGO_BUILD_JOBS=4 export TMPDIR="$PWD/target/tmp" cargo test -p calternal-search --test indexer search_returns_committed_hits_while_the_frecency_pool_is_busy -- --nocapture ``` Repair the fixture through the accepted test-schema helper, preserving its existing timing and committed-hit assertions. This is a schema error, not a SLOW-only result.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#1185
No description provided.