Repository navigation
test(uts): port daemon-gzip download/upload -zz to nextest - #5954
Merged
Merged
Conversation
UTS-NEXTEST-EDGE.e: native nextest port of upstream's testsuite/daemon-gzip-download.test and daemon-gzip-upload.test, which exercise the -zz (zlibx) per-block codec over a daemon transfer in both directions. Asserts byte-identical round-trip, intact goodbye envelope (no UTS-9 'connection unexpectedly closed' signature past the ~615KB cutoff), and codec-engaged evidence via --stats. Adds a -z vs -zz negotiation pin so silent codec collapse trips a regression. Companion to PRs #5520, #5600, #5619 and the UTS-V3 cluster A drain; the upstream tests run under continue-on-error in CI, so this nextest port runs as a required check on every PR.
Reword 'capability advertise + compress' to 'capability advertise and compress' so clippy doesn't parse the wrapped '+' as a markdown list marker.
oferchen
force-pushed
the
test/uts-nextest-daemon-gzip-zz
branch
from
June 19, 2026 03:44
d69dbcb to
08d4496
Compare
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
* test(uts): port daemon-gzip download/upload -zz to nextest UTS-NEXTEST-EDGE.e: native nextest port of upstream's testsuite/daemon-gzip-download.test and daemon-gzip-upload.test, which exercise the -zz (zlibx) per-block codec over a daemon transfer in both directions. Asserts byte-identical round-trip, intact goodbye envelope (no UTS-9 'connection unexpectedly closed' signature past the ~615KB cutoff), and codec-engaged evidence via --stats. Adds a -z vs -zz negotiation pin so silent codec collapse trips a regression. Companion to PRs #5520, #5600, #5619 and the UTS-V3 cluster A drain; the upstream tests run under continue-on-error in CI, so this nextest port runs as a required check on every PR. * test: fix doc-lazy-continuation lint in daemon-gzip-zz module doc Reword 'capability advertise + compress' to 'capability advertise and compress' so clippy doesn't parse the wrapped '+' as a markdown list marker.
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
UTS-NEXTEST-EDGE.e: native nextest port of the upstream
-zz(zlibx) daemon-transfer scenarios so the failure mode that PRs #5520, #5600, and #5619 ship fixes for stays under a required check on every PR.target/interop/upstream-src/rsync-3.4.4/testsuite/daemon-gzip-download.testandtarget/interop/upstream-src/rsync-3.4.4/testsuite/daemon-gzip-upload.test. Both upstream scripts run$RSYNC -avvvvzzagainst a fake-connected daemon;-zzflipscompress_choice = "zlibx"peroptions.c:2002.NDX_DONE, surfacing as truncated output past ~615KB. The upstream testsuite job runscontinue-on-error: true, so the UTS-NEXTEST-EDGE family ports these scenarios into native nextest tests.uts_nextest_hardlinks_inc_recurse.rs, UTS-NEXTEST-EDGE.j) for the inline-helper shape,uts_nextest_chdir_symlink_race.rs(UTS-NEXTEST-EDGE.i) for the#![cfg(unix)]gate, andv61d_2_daemon_push_increcurse_perf_regression.rsfor the daemon-spawn pattern.What this test pins
For each direction (download / upload):
connection unexpectedly closed, the UTS-9 signature).--statsreports a transferred-byte count materially smaller than source - codec actually engaged.Plus a third test (
daemon_gzip_z_vs_zz_negotiation) that compares-zand-zzbyte counts on the same fixture so a silent codec collapse onto the legacy path trips a regression.Fixture: a single ~1MB file (512KB highly compressible + 512KB deterministic incompressible) sized to clear the UTS-9 ~615KB cutoff post-compression.
Test plan