Skip to content

Refactor checksum and handshake modules - #2078

Merged
oferchen merged 1 commit into
masterfrom
fix-clippy-warnings-and-improve-code-structure
Nov 8, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-clippy-warnings-and-improve-code-structure

Conversation

@oferchen

@oferchen oferchen commented Nov 8, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • reorganized the rolling checksum module into a directory with dedicated x86, NEON, and test files to simplify SIMD handling and keep the main module lean
  • moved transport handshake helpers into a module directory with its test suite split out for clarity
  • slimmed the workflow module shell to re-export the runtime executor from a dedicated implementation file

Testing

  • cargo clippy --workspace --all-targets --all-features -- -Dwarnings

[Codex Task](

@oferchen
oferchen merged commit 3e3c3ea into master Nov 8, 2025
@oferchen
oferchen deleted the fix-clippy-warnings-and-improve-code-structure branch November 8, 2025 18:57
oferchen added a commit that referenced this pull request May 5, 2026
#3723)

Add design note for the canonical zsync-style insertion adversary at
docs/design/zsync-shifted-insertion-test.md, pinning the public-API
guard for the four pipeline optimizations enumerated in
docs/design/zsync-inspired-matching.md (#2053). Documents the
fixture parameters, expected match output for aligned vs unaligned
regimes, the upstream rsync --stats comparison oracle, CI integration
gated by SIMD parity (#2077), and the failure modes (signed-byte
regression #2076 class, off-by-one in seek, bithash false negative
#2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs,
strong-checksum truncation drift, ring-buffer wrap bugs).

Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs,
the sibling rsum-collision fixture from #2078, and the rolling
sign-extension fix from PR #3560 (commit 723a0a0).
oferchen added a commit that referenced this pull request May 18, 2026
#3723)

Add design note for the canonical zsync-style insertion adversary at
docs/design/zsync-shifted-insertion-test.md, pinning the public-API
guard for the four pipeline optimizations enumerated in
docs/design/zsync-inspired-matching.md (#2053). Documents the
fixture parameters, expected match output for aligned vs unaligned
regimes, the upstream rsync --stats comparison oracle, CI integration
gated by SIMD parity (#2077), and the failure modes (signed-byte
regression #2076 class, off-by-one in seek, bithash false negative
#2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs,
strong-checksum truncation drift, ring-buffer wrap bugs).

Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs,
the sibling rsum-collision fixture from #2078, and the rolling
sign-extension fix from PR #3560 (commit 723a0a0).
oferchen added a commit that referenced this pull request Aug 24, 2026
#3723)

Add design note for the canonical zsync-style insertion adversary at
docs/design/zsync-shifted-insertion-test.md, pinning the public-API
guard for the four pipeline optimizations enumerated in
docs/design/zsync-inspired-matching.md (#2053). Documents the
fixture parameters, expected match output for aligned vs unaligned
regimes, the upstream rsync --stats comparison oracle, CI integration
gated by SIMD parity (#2077), and the failure modes (signed-byte
regression #2076 class, off-by-one in seek, bithash false negative
#2061-#2063 class, want_i hint off-by-one, rolling-window reset bugs,
strong-checksum truncation drift, ring-buffer wrap bugs).

Cites the existing fixture at crates/match/tests/shifted_insertion_fixture.rs,
the sibling rsum-collision fixture from #2078, and the rolling
sign-extension fix from PR #3560 (commit 723a0a0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant