Skip to content

output library: read the run alignment in read_alignment; read_library 303 -> 217 lines - #546

Merged
ypriverol merged 1 commit into
mainfrom
refactor/read-library
Nov 24, 2026
Merged

ypriverol merged 1 commit into
mainfrom
refactor/read-library

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

Part of the function-length work: read_library (crates/output/src/library.rs) goes from 303 to 217 lines.

Reading the alignment file moves unchanged to read_alignment: one state per run, checked against the run names the library lists, then the alignment built from them. The only edit drops borrows of align_path, which is now a reference. The fingerprint check against the library stays in read_library. The function's line is dropped from fn_lines.tsv.

Verification: release build; tests pass in every crate, including quant_mbr_end_to_end; clippy is clean with both feature sets.

read_library was 303 lines. Reading the alignment file (one state per run,
checked against the run names the library lists, then the alignment built
from them) moves unchanged to read_alignment; the fingerprint check
against the library stays in read_library.
read_library 303 -> 217 lines.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3668e35c-0fd5-4b8a-919d-5fe470724496
Commits

Reviewing files that changed from the base of the PR and between e6ebf1f and b474358.

Files ignored due to path filters: 1

  • crates/andes/tests/ratchets/fn_lines.tsv is excluded by !**/*.tsv
Files selected for processing: 1

  • crates/output/src/library.rs
  • 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

@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

@ypriverol
ypriverol merged commit 098d707 into main Nov 24, 2026
4 checks passed
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