Skip to content

search: fix test build on main after #149 and #151 - #160

Merged
ypriverol merged 1 commit into
mainfrom
fix/coisolation-protein-annotation
Oct 15, 2026
Merged

ypriverol merged 1 commit into
mainfrom
fix/coisolation-protein-annotation

Conversation

@ypriverol

@ypriverol ypriverol commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

#151 and #149 were each green on their own, but they were merged one after the other. #151 added seven test `Protein` literals in `crates/search/src/coisolation.rs` and `match_engine.rs` without the `annotation` field that #149 added to `Protein`. As a result, `cargo test` / clippy --all-targets no longer compile the search crate on main (4ecb40d).

This PR adds annotation: None to those seven literals. Nothing else changes.

Checked on Linux:

  • cargo clippy --workspace --all-targets -D warnings is clean.
  • cargo test --release --workspace with CI's skip list: 92 test binaries, 1,513 passed, 0 failed.

Summary by CodeRabbit

  • Tests
    • Updated test protein fixtures to explicitly specify that no annotation is present.

#151 and #149 were merged one after the other. #151 added test proteins
in coisolation.rs and match_engine.rs without the `annotation` field that
#149 introduced, so the search crate's tests no longer compile on main.
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6c95be15-34a3-48f3-9753-2748dc3c3661
📥 Commits

Reviewing files that changed from the base of the PR and between feee65b and 9b21623.

📒 Files selected for processing: 2
  • crates/search/src/coisolation.rs
  • crates/search/src/match_engine.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

Four test protein fixtures in coisolation.rs and match_engine.rs now explicitly set annotation to None.

Changes: Protein fixture updates

Layer / File(s) Summary
Initialize annotation in test fixtures
crates/search/src/coisolation.rs, crates/search/src/match_engine.rs
Four test protein fixtures now specify annotation: None.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: claude

Merge Risk: ⚪ Minimal · up to 9b216

The described changes only initialize test fixtures, with no identified production behavior risk. The PR is mergeable subject to normal checks.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the search test-build fix and its relation to changes from #149 and #151.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ypriverol
ypriverol merged commit 2911c10 into main Oct 15, 2026
5 checks passed
@ypriverol
ypriverol deleted the fix/coisolation-protein-annotation branch October 15, 2026 16:05
ypriverol added a commit that referenced this pull request Oct 15, 2026
Variant substitutions are judged against the forms the replaced residue
takes in the same terminal context; the stacked form tables and the
single-copy Met walk are kept. Goldens regenerated: with the six provenance
columns removed they equal the previous ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant