Repository navigation
docs: align the upstream reference to rsync 3.5.0 and report peak RSS - #7279
Merged
Merged
Conversation
Upstream released rsync 3.5.0 on 13 Aug 2026. It declares the same PROTOCOL_VERSION 32 and SUBPROTOCOL_VERSION 0 as 3.4.4 and ships a byte-identical errcode.h, so wire compatibility carries over unchanged. The release is behavioural: 33 CVEs in path handling and the daemon, a rewritten path resolver, three new options, three new daemon directives. Docs now name 3.5.0 as the tracked upstream, and say plainly what is not yet done. The 3.5.0 test suite reports 133 divergences against oc-rsync, so the README states that count and links the nightly tracker rather than implying parity, and the gating upstream-testsuite badge stays on 3.4.4 because that is the version it actually runs. SECURITY.md gains a 3.5.0 section that lists the high-severity CVEs and marks the cohort as triage in progress; it does not claim per-CVE non-applicability that has not been established. UPSTREAM_COMPARISON.md carries a retarget note separating what the repoint does cover - every protocol-level claim, all constants unchanged - from what it does not: the behavioural sections still describe 3.4.4, and their line citations still point at 3.4.4. Benchmarks now compare against 3.5.0 and publish peak RSS next to elapsed time for every mode. benchmark_rss() already recorded peak_rss_kb on every run and the report used it for the memory mode alone, so thirteen modes measured memory and discarded it - a mode could get three times faster on three times the memory and the release notes showed only the win. No new measurement is taken; the existing one is surfaced. The RSS ratio gets its own wording. ratio_indicator() says faster/slower, which is meaningless for bytes, and reusing it would reintroduce in the report the unit conflation benchmark_chart.py already had to fix. Memory reads lower/~same/higher against the same 5% noise band, and the report reuses the chart's byte formatter rather than growing a second copy. Missing RSS renders as a dash and keeps its row: a run that timed out or a platform whose /usr/bin/time output the parser does not recognise must not invent a number, and must not silently drop a valid timing row. Adds tools/ci/tests/test_benchmark_report.py, the first tests for the report renderer, wired into both benchmark workflows. They pin the byte wording, the missing-measurement fallback, the version label coming from the measured binary, and that RSS magnitudes derive from peak_rss_kb rather than mean - a report that still read mean but formatted it as bytes would pass a suffix-only check while being just as wrong.
oferchen
force-pushed
the
docs/align-upstream-3.5.0
branch
from
August 13, 2026 10:30
ab473df to
9da4a02
Compare
oferchen
added a commit
that referenced
this pull request
Aug 21, 2026
…te (#7423) The changelog had not been touched since 2026-08-13 (#7279) while ~140 PRs merged, and several factual claims in README/SECURITY had drifted far enough to mislead an operator. Each correction below was verified against the tree, not inferred. CHANGELOG: fill in Unreleased for everything merged since #7279, grouped by Security / Added / Changed / Fixed / Testing and CI / Documentation. SECURITY: - The 3.5.0 divergence figure said 133. The committed expect manifests say 43 + 62 on the two full-corpus legs (64 distinct) and 89 across all four. Replaced the estimate with the per-leg table and the manifest mechanism. - The CI paragraph described the 3.5.0 suite as a separate nightly job. It is now the required gate, four legs, on every pull request. - CVE-2026-53791: the placeholder-peer-address prerequisite is fixed (#7303), not pending. CVE-2026-70452, -70463 and -70453 are fixed (#7314, #7345, #7293) and were still listed as under audit. - The new-defensive-surface paragraph listed all eight 3.5.0 additions as being adopted; four have shipped and two directives have not. - The fuzz list named 24 targets including "rsyncd_conf", which does not exist in fuzz/fuzz_targets. There are 26; added the three real ones that were missing. - The buffer-pool hardening note claimed recycle_buffer guards buf_id with a debug assertion and warned against exposing io_uring to untrusted input. The check is a real release-mode bound returning BufferIdOutOfRange before any state is mutated, so the warning was false. README: - Status and interop sections listed 3.5.0 as built-and-cached ahead of gating; run_interop.sh has it in the gating version list, and the protocol table row still said "not yet gating". - Added the current 3.5.0 testsuite outcomes rather than only describing the mechanism, so the 64 open divergences are stated plainly. - The CVE line stopped at the 2024 batch; the 3.4.3 batch is closed and 3.5.0 is partially closed and tracked. - The spill CLI flags were described as planned for STN-11; both exist. - The OC_RSYNC_BUFFER_POOL variables were attributed to the io_uring registered pool. All three live in crates/engine/src/local_copy/ buffer_pool/ and tune the engine pool; the io_uring pool is a different, static one. - The bgid note advised monitoring for exhaustion that measurement shows does not occur. - Fixed a broken link: compressed_token/zstd_codec is a directory. - Listed the shipped 3.5.0 option surface in the feature table.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…#7279) Upstream released rsync 3.5.0 on 13 Aug 2026. It declares the same PROTOCOL_VERSION 32 and SUBPROTOCOL_VERSION 0 as 3.4.4 and ships a byte-identical errcode.h, so wire compatibility carries over unchanged. The release is behavioural: 33 CVEs in path handling and the daemon, a rewritten path resolver, three new options, three new daemon directives. Docs now name 3.5.0 as the tracked upstream, and say plainly what is not yet done. The 3.5.0 test suite reports 133 divergences against oc-rsync, so the README states that count and links the nightly tracker rather than implying parity, and the gating upstream-testsuite badge stays on 3.4.4 because that is the version it actually runs. SECURITY.md gains a 3.5.0 section that lists the high-severity CVEs and marks the cohort as triage in progress; it does not claim per-CVE non-applicability that has not been established. UPSTREAM_COMPARISON.md carries a retarget note separating what the repoint does cover - every protocol-level claim, all constants unchanged - from what it does not: the behavioural sections still describe 3.4.4, and their line citations still point at 3.4.4. Benchmarks now compare against 3.5.0 and publish peak RSS next to elapsed time for every mode. benchmark_rss() already recorded peak_rss_kb on every run and the report used it for the memory mode alone, so thirteen modes measured memory and discarded it - a mode could get three times faster on three times the memory and the release notes showed only the win. No new measurement is taken; the existing one is surfaced. The RSS ratio gets its own wording. ratio_indicator() says faster/slower, which is meaningless for bytes, and reusing it would reintroduce in the report the unit conflation benchmark_chart.py already had to fix. Memory reads lower/~same/higher against the same 5% noise band, and the report reuses the chart's byte formatter rather than growing a second copy. Missing RSS renders as a dash and keeps its row: a run that timed out or a platform whose /usr/bin/time output the parser does not recognise must not invent a number, and must not silently drop a valid timing row. Adds tools/ci/tests/test_benchmark_report.py, the first tests for the report renderer, wired into both benchmark workflows. They pin the byte wording, the missing-measurement fallback, the version label coming from the measured binary, and that RSS magnitudes derive from peak_rss_kb rather than mean - a report that still read mean but formatted it as bytes would pass a suffix-only check while being just as wrong.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…te (#7423) The changelog had not been touched since 2026-08-13 (#7279) while ~140 PRs merged, and several factual claims in README/SECURITY had drifted far enough to mislead an operator. Each correction below was verified against the tree, not inferred. CHANGELOG: fill in Unreleased for everything merged since #7279, grouped by Security / Added / Changed / Fixed / Testing and CI / Documentation. SECURITY: - The 3.5.0 divergence figure said 133. The committed expect manifests say 43 + 62 on the two full-corpus legs (64 distinct) and 89 across all four. Replaced the estimate with the per-leg table and the manifest mechanism. - The CI paragraph described the 3.5.0 suite as a separate nightly job. It is now the required gate, four legs, on every pull request. - CVE-2026-53791: the placeholder-peer-address prerequisite is fixed (#7303), not pending. CVE-2026-70452, -70463 and -70453 are fixed (#7314, #7345, #7293) and were still listed as under audit. - The new-defensive-surface paragraph listed all eight 3.5.0 additions as being adopted; four have shipped and two directives have not. - The fuzz list named 24 targets including "rsyncd_conf", which does not exist in fuzz/fuzz_targets. There are 26; added the three real ones that were missing. - The buffer-pool hardening note claimed recycle_buffer guards buf_id with a debug assertion and warned against exposing io_uring to untrusted input. The check is a real release-mode bound returning BufferIdOutOfRange before any state is mutated, so the warning was false. README: - Status and interop sections listed 3.5.0 as built-and-cached ahead of gating; run_interop.sh has it in the gating version list, and the protocol table row still said "not yet gating". - Added the current 3.5.0 testsuite outcomes rather than only describing the mechanism, so the 64 open divergences are stated plainly. - The CVE line stopped at the 2024 batch; the 3.4.3 batch is closed and 3.5.0 is partially closed and tracked. - The spill CLI flags were described as planned for STN-11; both exist. - The OC_RSYNC_BUFFER_POOL variables were attributed to the io_uring registered pool. All three live in crates/engine/src/local_copy/ buffer_pool/ and tune the engine pool; the io_uring pool is a different, static one. - The bgid note advised monitoring for exhaustion that measurement shows does not occur. - Fixed a broken link: compressed_token/zstd_codec is a directory. - Listed the shipped 3.5.0 option surface in the feature table.
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.
What
Moves the tracked upstream reference from rsync 3.4.4 to 3.5.0 (released 13 Aug 2026) across README, SECURITY, CHANGELOG and the upstream comparison, and reworks the release benchmark to compare against 3.5.0 while publishing peak RSS alongside elapsed time for every mode.
Why the version move is safe, and what it does not claim
3.5.0 declares the same
PROTOCOL_VERSION32 andSUBPROTOCOL_VERSION0 as 3.4.4 and ships a byte-identicalerrcode.h, with no newMSG_*,XMIT_*or compat-flag constants. Wire compatibility therefore carries over unchanged, which is what the "wire-compatible with 3.5.0" claim rests on.Everything else in 3.5.0 is behavioural — 33 CVEs in path handling and the daemon, a rewritten path resolver, three new options, three new daemon directives — and oc-rsync is not aligned to that yet. Rather than let a version bump imply parity, the docs state the gap:
Benchmark: the metric that was already being measured
benchmark_rss()recordspeak_rss_kbon every run, butMODE_UNITSsurfaced bytes for thememorymode alone — so thirteen modes measured memory and threw it away. A mode could get 3x faster on 3x the memory and the release notes would show only the win. This surfaces the existing measurement; no new benchmark run is added.Two things fell out of doing it properly:
ratio_indicator()says faster/slower, which is meaningless for bytes. Reusing it would have reintroduced in the report the exact conflationbenchmark_chart.pyalready had to fix. Memory now reads lower/~same/higher against the same 5% noise band./usr/bin/timeoutput the parser does not recognise, renders as a dash and keeps its row — it must not invent a number, and must not silently drop a valid timing row.The report reuses the chart's byte formatter rather than growing a second copy; both scripts are pure stdlib and share a directory.
Tests
Adds
tools/ci/tests/test_benchmark_report.py— the first tests for the report renderer — wired intobenchmark.ymlandbenchmark-tooling.ymlnext to the existing chart tests.They pin the byte wording, the missing-measurement fallback, the version label coming from the measured binary rather than a constant, and that RSS magnitudes derive from
peak_rss_kbrather thanmean. That last one matters: a report that still readmeanbut formatted it as bytes would satisfy a suffix-only check while being exactly as wrong as the bug the chart tests were written for.Verification
test_benchmark_report.py7/7 pass; existingtest_benchmark_chart.py26/26 still pass.3.4.4references audited individually — all deliberate: the two badges for the still-3.4.4 gate, the factual protocol comparison, the interop matrix, and historical CHANGELOG entries.docs/audits/is untouched, since those record what was measured against 3.4.4 at a point in time.