Skip to content

Split rolling checksum tests into dedicated modules - #2086

Merged
oferchen merged 1 commit into
masterfrom
ensure-branding-and-single-binary-for-oc-rsync
Nov 8, 2025
Merged

oferchen merged 1 commit into
masterfrom
ensure-branding-and-single-binary-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Nov 8, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • break the large rolling checksum test suite into focused basic, properties, and simd modules to keep each file manageable
  • update property tests to reference proptest helpers explicitly after the module split

Testing

  • cargo test -p oc-rsync-checksums

[Codex Task](

@oferchen
oferchen merged commit 94a17f1 into master Nov 8, 2025
@oferchen
oferchen deleted the ensure-branding-and-single-binary-for-oc-rsync branch November 8, 2025 20:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1 to +7
use super::super::*;
use super::super::{chunked_sequences, random_data_and_window, roll_many_sequences};

use std::collections::VecDeque;
use std::io::IoSlice;

proptest! {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Import proptest! macro in properties tests

The new properties module still invokes proptest! but the original use proptest::prelude::*; was dropped. The glob use super::super::*; does not re-export the macro because the parent only imports it privately, so proptest! is no longer in scope and this file will not compile (cannot find macro proptest in this scope) when running the checksum tests. Bring the macro into scope again (e.g. use proptest::prelude::*;) or call it with an explicit proptest::proptest! path so cargo test -p oc-rsync-checksums builds.

Useful? React with 👍 / 👎.

oferchen added a commit that referenced this pull request May 5, 2026
Pin the wire-boundary invariants for the four planned zsync-inspired
matching optimizations (bithash, seq-match, prune, compact-keys),
inventory existing golden tests on the match/delta path, and flag the
one gap (no wire-byte pin for duplicate-basis-block COPY-token
sequences) that #2069 must close before landing.
oferchen added a commit that referenced this pull request May 18, 2026
Pin the wire-boundary invariants for the four planned zsync-inspired
matching optimizations (bithash, seq-match, prune, compact-keys),
inventory existing golden tests on the match/delta path, and flag the
one gap (no wire-byte pin for duplicate-basis-block COPY-token
sequences) that #2069 must close before landing.
oferchen added a commit that referenced this pull request Aug 24, 2026
Pin the wire-boundary invariants for the four planned zsync-inspired
matching optimizations (bithash, seq-match, prune, compact-keys),
inventory existing golden tests on the match/delta path, and flag the
one gap (no wire-byte pin for duplicate-basis-block COPY-token
sequences) that #2069 must close before landing.
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