Skip to content

build(interop): add rsync 3.5.0 to the build-and-cache oracle set - #7278

Merged
oferchen merged 3 commits into
masterfrom
feat/upstream-3.5.0-oracle
Aug 13, 2026
Merged

oferchen merged 3 commits into
masterfrom
feat/upstream-3.5.0-oracle

Conversation

@oferchen

Copy link
Copy Markdown
Owner

What

Adds rsync 3.5.0 (released 13 Aug 2026) to the interop harness's build-and-cache set, so CI produces a real 3.5.0 oracle binary at target/interop/upstream-install/3.5.0/bin/rsync.

This is the first, deliberately behaviour-neutral step of re-pinning the upstream source of truth. It does not promote 3.5.0 into the scenario matrix and does not move any pin (Cargo.toml upstream_version, docs, or the required upstream-testsuite gate all stay on 3.4.4).

Why now

3.5.0 is wire-compatible with 3.4.4 — rsync.h still declares PROTOCOL_VERSION 32 / SUBPROTOCOL_VERSION 0, and errcode.h is byte-identical. What changed is the implementation: 33 CVEs concentrated in path handling and the daemon, with syscall.c growing 85%, plus a full rewrite of the test suite from shell to Python.

Triaging oc against that needs a built 3.5.0 binary first. Building and caching it before wiring any scenario also validates the fetch/configure/build path on its own, so a build break shows up as a build break rather than as scenario noise.

Design note

3.5.0 has no distro .deb. That fact was previously written twice — once in build_version_url and once in try_fetch_deb_generic — as parallel case "$version" arms, so each new source-only release meant two coordinated edits in different functions.

Both now consult a single source_only_versions list via a version_is_source_only predicate. Adding a source-only release is one list entry.

Verification

  • bash -n clean; shellcheck -S error clean.
  • Predicate exercised directly: 2.6.9, 3.4.4, 3.5.0 resolve source-only; 3.0.9, 3.1.3 and an unlisted version (3.2.7) still take the .deb path. Existing versions are behaviour-identical.

rsync 3.5.0 (13 Aug 2026) carries the same wire protocol as 3.4.4
(rsync.h: PROTOCOL_VERSION 32, SUBPROTOCOL_VERSION 0) and an identical
errcode.h, but rewrites the path resolver and hardens the daemon across
33 CVEs. Getting a real 3.5.0 binary built and cached is the prerequisite
for triaging oc against it.

Add 3.5.0 to extra_build_versions so it is fetched, configured, built and
cached without running the scenario matrix against it. Promoting it into
`versions` is deliberately a separate step.

3.5.0 has no distro .deb, which was previously expressed by adding the
version to two separate `case "$version"` blocks - build_version_url and
try_fetch_deb_generic - that encode the same fact in two places. Collapse
both onto a single source_only_versions list plus a version_is_source_only
predicate, so a new source-only release is one list entry rather than two
parallel edits. 2.6.9 and 3.4.4 keep their existing behaviour; 3.0.9,
3.1.3 and the generic pool fallback are untouched.
@oferchen
oferchen merged commit e96f673 into master Aug 13, 2026
64 checks passed
@oferchen
oferchen deleted the feat/upstream-3.5.0-oracle branch August 13, 2026 15:06
oferchen added a commit that referenced this pull request Aug 24, 2026
)

rsync 3.5.0 (13 Aug 2026) carries the same wire protocol as 3.4.4
(rsync.h: PROTOCOL_VERSION 32, SUBPROTOCOL_VERSION 0) and an identical
errcode.h, but rewrites the path resolver and hardens the daemon across
33 CVEs. Getting a real 3.5.0 binary built and cached is the prerequisite
for triaging oc against it.

Add 3.5.0 to extra_build_versions so it is fetched, configured, built and
cached without running the scenario matrix against it. Promoting it into
`versions` is deliberately a separate step.

3.5.0 has no distro .deb, which was previously expressed by adding the
version to two separate `case "$version"` blocks - build_version_url and
try_fetch_deb_generic - that encode the same fact in two places. Collapse
both onto a single source_only_versions list plus a version_is_source_only
predicate, so a new source-only release is one list entry rather than two
parallel edits. 2.6.9 and 3.4.4 keep their existing behaviour; 3.0.9,
3.1.3 and the generic pool fallback are untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant