Skip to content

Ensure --ignore-times forces a rewrite - #2067

Merged
oferchen merged 1 commit into
masterfrom
fix-test-failure-in-transfer_request_with_ignore_times
Nov 8, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-test-failure-in-transfer_request_with_ignore_times

Conversation

@oferchen

@oferchen oferchen commented Nov 8, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • ensure the local copy quick-check honours --ignore-times even when size-only comparisons are enabled
  • add unit coverage for the ignore-times precedence and an integration test exercising the full local copy path

Testing

  • cargo test -p oc-rsync-engine should_skip_copy_respects_ignore_times_even_with_size_only -- --nocapture (fails to complete: building OpenSSL dependencies exceeded the available time)

[Codex Task](

@oferchen
oferchen merged commit cb81e2c into master Nov 8, 2025
@oferchen
oferchen deleted the fix-test-failure-in-transfer_request_with_ignore_times branch November 8, 2025 13:47
oferchen added a commit that referenced this pull request May 16, 2026
…2067, #2071)

Adds three Criterion harnesses under a new internal `bench-internal`
feature flag that exposes the minimum surface needed to measure the
zsync-inspired matching insertion points without affecting release
builds:

- `bithash_rejection` (#2063): measures the bithash prefilter
  rejection rate at 1/16/128 MiB basis sizes, on matching and random
  targets. Reports static utilization plus observed post-tag
  rejection rate.
- `seq_match_redundant` (#2067): measures `generate_delta` throughput
  on log-file, tar-archive, and random-control corpora with a target
  that is basis plus a handful of small mutations, exercising the
  `want_i` adjacent-match hint path.
- `prune_duplicate_heavy` (#2071): measures match throughput with
  the matched-block pruning bitmap on and off across a zero-heavy
  VM-disk-style basis, a repeated-blocks synthetic corpus, and a
  no-duplicates regression control.

The new feature exposes only bench-only accessors
(`bithash_utilization`, `bithash_admits`, `tag_admits`) and the
prune toggle (`with_prune_matched`). It is never enabled by default,
never propagated to CLI/daemon, and there is no way to turn it on
from a release `oc-rsync` invocation.
oferchen added a commit that referenced this pull request May 16, 2026
…2067, #2071) (#4177)

Adds three Criterion harnesses under a new internal `bench-internal`
feature flag that exposes the minimum surface needed to measure the
zsync-inspired matching insertion points without affecting release
builds:

- `bithash_rejection` (#2063): measures the bithash prefilter
  rejection rate at 1/16/128 MiB basis sizes, on matching and random
  targets. Reports static utilization plus observed post-tag
  rejection rate.
- `seq_match_redundant` (#2067): measures `generate_delta` throughput
  on log-file, tar-archive, and random-control corpora with a target
  that is basis plus a handful of small mutations, exercising the
  `want_i` adjacent-match hint path.
- `prune_duplicate_heavy` (#2071): measures match throughput with
  the matched-block pruning bitmap on and off across a zero-heavy
  VM-disk-style basis, a repeated-blocks synthetic corpus, and a
  no-duplicates regression control.

The new feature exposes only bench-only accessors
(`bithash_utilization`, `bithash_admits`, `tag_admits`) and the
prune toggle (`with_prune_matched`). It is never enabled by default,
never propagated to CLI/daemon, and there is no way to turn it on
from a release `oc-rsync` invocation.
oferchen added a commit that referenced this pull request May 18, 2026
…2067, #2071) (#4177)

Adds three Criterion harnesses under a new internal `bench-internal`
feature flag that exposes the minimum surface needed to measure the
zsync-inspired matching insertion points without affecting release
builds:

- `bithash_rejection` (#2063): measures the bithash prefilter
  rejection rate at 1/16/128 MiB basis sizes, on matching and random
  targets. Reports static utilization plus observed post-tag
  rejection rate.
- `seq_match_redundant` (#2067): measures `generate_delta` throughput
  on log-file, tar-archive, and random-control corpora with a target
  that is basis plus a handful of small mutations, exercising the
  `want_i` adjacent-match hint path.
- `prune_duplicate_heavy` (#2071): measures match throughput with
  the matched-block pruning bitmap on and off across a zero-heavy
  VM-disk-style basis, a repeated-blocks synthetic corpus, and a
  no-duplicates regression control.

The new feature exposes only bench-only accessors
(`bithash_utilization`, `bithash_admits`, `tag_admits`) and the
prune toggle (`with_prune_matched`). It is never enabled by default,
never propagated to CLI/daemon, and there is no way to turn it on
from a release `oc-rsync` invocation.
oferchen added a commit that referenced this pull request May 18, 2026
…2067, #2071) (#4177)

Adds three Criterion harnesses under a new internal `bench-internal`
feature flag that exposes the minimum surface needed to measure the
zsync-inspired matching insertion points without affecting release
builds:

- `bithash_rejection` (#2063): measures the bithash prefilter
  rejection rate at 1/16/128 MiB basis sizes, on matching and random
  targets. Reports static utilization plus observed post-tag
  rejection rate.
- `seq_match_redundant` (#2067): measures `generate_delta` throughput
  on log-file, tar-archive, and random-control corpora with a target
  that is basis plus a handful of small mutations, exercising the
  `want_i` adjacent-match hint path.
- `prune_duplicate_heavy` (#2071): measures match throughput with
  the matched-block pruning bitmap on and off across a zero-heavy
  VM-disk-style basis, a repeated-blocks synthetic corpus, and a
  no-duplicates regression control.

The new feature exposes only bench-only accessors
(`bithash_utilization`, `bithash_admits`, `tag_admits`) and the
prune toggle (`with_prune_matched`). It is never enabled by default,
never propagated to CLI/daemon, and there is no way to turn it on
from a release `oc-rsync` invocation.
oferchen added a commit that referenced this pull request Aug 24, 2026
…2067, #2071) (#4177)

Adds three Criterion harnesses under a new internal `bench-internal`
feature flag that exposes the minimum surface needed to measure the
zsync-inspired matching insertion points without affecting release
builds:

- `bithash_rejection` (#2063): measures the bithash prefilter
  rejection rate at 1/16/128 MiB basis sizes, on matching and random
  targets. Reports static utilization plus observed post-tag
  rejection rate.
- `seq_match_redundant` (#2067): measures `generate_delta` throughput
  on log-file, tar-archive, and random-control corpora with a target
  that is basis plus a handful of small mutations, exercising the
  `want_i` adjacent-match hint path.
- `prune_duplicate_heavy` (#2071): measures match throughput with
  the matched-block pruning bitmap on and off across a zero-heavy
  VM-disk-style basis, a repeated-blocks synthetic corpus, and a
  no-duplicates regression control.

The new feature exposes only bench-only accessors
(`bithash_utilization`, `bithash_admits`, `tag_admits`) and the
prune toggle (`with_prune_matched`). It is never enabled by default,
never propagated to CLI/daemon, and there is no way to turn it on
from a release `oc-rsync` invocation.
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