Repository navigation
test(transfer): v0.6.1 daemon-push perf regression repro under sender-inc-recurse (V61D-2) - #4888
Merged
Merged
Conversation
oferchen
force-pushed
the
test/v61d-2-daemon-push-perf-regression
branch
2 times, most recently
from
May 24, 2026 16:26
0e98c2f to
2653017
Compare
2 tasks done
oferchen
force-pushed
the
test/v61d-2-daemon-push-perf-regression
branch
from
May 24, 2026 16:35
2653017 to
2fbb786
Compare
1 task done
oferchen
force-pushed
the
test/v61d-2-daemon-push-perf-regression
branch
2 times, most recently
from
May 24, 2026 18:26
e1b1aee to
178d037
Compare
…-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md
Resolve clippy uninlined_format_args at the daemon-timeout and slowdown-ratio assertion sites.
oferchen
force-pushed
the
test/v61d-2-daemon-push-perf-regression
branch
from
May 24, 2026 19:22
178d037 to
aed2669
Compare
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…-inc-recurse (V61D-2) (#4888) * test(transfer): v0.6.1 daemon-push perf regression repro under sender-inc-recurse (V61D-2) Adds an integration test that reproduces the v0.6.1 failure mode the V61D-1 audit identified: with the `sender-inc-recurse` feature on, a client-as-sender push to an upstream rsync daemon historically ran 95-201x slower than the equivalent upstream-sender baseline because PR #3557 flipped `inc_recursive_send=true` by default and routed every push through the un-tuned sender-side INC_RECURSE state machine (mitigated by PR #3744). The test pushes a ~1 MiB tree from oc-rsync (sender, feature ON) to a spawned upstream `rsync --daemon` (receiver) and asserts wall-clock stays within 5x of an upstream-sender baseline against the same daemon. Skips cleanly when the upstream rsync binary is not installed at `target/interop/upstream-install/3.4.1/bin/rsync`. Linux-only via the same `cfg(all(unix, not(target_os = "macos")))` gate the ISI.c/d/e sibling tests use. Adds a marker `sender-inc-recurse` feature to the transfer crate so the test cfg gate resolves; the workspace-level feature now forwards to it. Refs: docs/audit/v061-daemon-push-regression.md * ci(transfer): retrigger CI on V61D-2 after master fmt fixup #4891 * fix(tests): inline format args in v61d_2 regression test Resolve clippy uninlined_format_args at the daemon-timeout and slowdown-ratio assertion sites.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crates/transfer/tests/v61d_2_daemon_push_increcurse_perf_regression.rs, an integration test that reproduces the v0.6.1 daemon-push failure mode the V61D-1 audit (refactor: decompose cli metadata.rs into focused submodules #2840 /docs/audit/v061-daemon-push-regression.md) traced to PR feat(transfer): enable INC_RECURSE sender by default (#1862) #3557.sender-inc-recurseON) to a spawned upstreamrsync --daemonand asserts the wall-clock stays within 5x of an upstream-sender baseline. v0.6.1 ran 95-201x slower, so 5x catches the real regression with headroom for CI noise.sender-inc-recursefeature on thetransfercrate so the test cfg gate resolves; the workspace-levelsender-inc-recursefeature now forwards to it. No transfer-crate compile-time effect; the actual default flip still happens incore::client::config::builder.Beta-v0.6.3 blocker for the un-disable plan tracked in the ISI series (#2737-#2746).
Test plan
cargo nextest run -p transfer --features sender-inc-recurseruns the new test on Linux runners with the upstream rsync binary installed.cfg(all(unix, not(target_os = "macos")))gate.sender-inc-recursefeature still compile - the test file is gated to a no-op without it.target/interop/upstream-install/3.4.1/bin/rsyncmissing, the test printsskip:and returns successfully.Refs: V61D-1 (#2840), V61D-2 (#2841),
docs/audit/v061-daemon-push-regression.md.