Repository navigation
docs(interop): document protocol 28-32 interop test matrix (#1908) - #3502
Merged
Merged
Conversation
Add docs/interop/protocol-matrix.md covering: - Protocol version mapping for upstream 3.0.9, 3.1.3, 3.4.1 - Per-protocol capability table sourced from compat.c and capabilities.rs - Standard interop matrix (core scenarios + 3.4.1-only extended scenarios) - Forced protocol matrix for proto 28-32 against rsync 3.4.1 - Standalone scenario inventory from run_standalone_interop_tests - Direction semantics legend (up/oc/standalone keys) - Known failures cross-referenced to known_failures.conf entries - Cross-links to filter-coverage-matrix.md and daemon/filter-precedence.md Closes #1908.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
…3502) Add docs/interop/protocol-matrix.md covering: - Protocol version mapping for upstream 3.0.9, 3.1.3, 3.4.1 - Per-protocol capability table sourced from compat.c and capabilities.rs - Standard interop matrix (core scenarios + 3.4.1-only extended scenarios) - Forced protocol matrix for proto 28-32 against rsync 3.4.1 - Standalone scenario inventory from run_standalone_interop_tests - Direction semantics legend (up/oc/standalone keys) - Known failures cross-referenced to known_failures.conf entries - Cross-links to filter-coverage-matrix.md and daemon/filter-precedence.md Closes #1908.
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
Adds
docs/interop/protocol-matrix.mdas the operator/contributor reference for the protocol 28-32 interop test matrix. Closes #1908.The new doc has seven sections:
rsync.hmacros (PROTOCOL_VERSIONis 30/31/32 for rsync 3.0.9/3.1.3/3.4.1;MIN_PROTOCOL_VERSION = 20,MAX_PROTOCOL_VERSION = 40across all three) and fromcrates/protocol/src/version/protocol_version/mod.rs(declare_supported_protocols!(32, 31, 30, 29, 28)).crates/protocol/src/version/protocol_version/capabilities.rsand upstreamcompat.cline citations.scenarios=(...)arrays attools/ci/run_interop.sh:9072and:9094. Includes the conditional gates (protocol-31skipped on 3.0.x,inc-recursiverequires proto >= 30,compress-{zstd,lz4}gated on upstream--versionoutput, SSH gated oncommand -v ssh). Documents the forced-protocol pass for 28..32 against rsync 3.4.1.run_standalone_interop_tests, paired with theirtest_*implementation functions and the upstream version each runs against (3.4.1 for all;acl-xattr-graceful-degradation-309additionally drives 3.0.9).up:/oc:/standalone:keys used byknown_failures.confand how SSH transfers map tooc:ssh-transfer.tools/ci/known_failures.conf. Currently tracked:standalone:delta-stats,standalone:upstream-compressed-batch-self-roundtrip, plus protocol-gatedup:acls,up:xattrs,up:compress-zstd,up:compress-lz4,up:merge-filter. Each entry cites the upstreamcompat.c/exclude.c/token.cline that explains it.docs/protocol-compatibility.md(higher-level summary),docs/filter-coverage-matrix.md,docs/daemon/filter-precedence.md,docs/INTEROP.md,docs/interop_testing.md, anddocs/PROTOCOL.md.The existing
docs/protocol-compatibility.mdsummarises outcomes of the harness (pass/fail/known limitation per feature). The new doc is the inventory of the harness itself - what scenarios exist, what flags they use, which directions and versions they run against. Both are linked from each other.A note on a minor source-of-truth discrepancy surfaced while writing this: comments inside
tools/ci/known_failures.confdescribe rsync 3.0.9 as "speaks protocol 28". The advertisedPROTOCOL_VERSIONmacro in upstream 3.0.9'srsync.his 30; "28" appears to track the lowest protocol 3.0.9 will accept on the wire rather than what it advertises. The new doc cites the macros directly and adds a clarifying note.Test plan
target/interop/upstream-src/rsync-*/rsync.h.target/interop/upstream-src/rsync-3.4.1/compat.c.crates/protocol/src/version/protocol_version/capabilities.rs.crates/protocol/src/compatibility/known.rs.tools/ci/run_interop.sh(run_comprehensive_interop_case,run_standalone_interop_tests).tools/ci/known_failures.confandtools/ci/check_known_failures.sh.