Skip to content

docs: cross-cutting triage of UTS series root causes (UTS-X) - #5546

Merged
oferchen merged 1 commit into
masterfrom
docs/uts-x-cross-cutting-triage
Jun 10, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/uts-x-cross-cutting-triage

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

Group the Upstream Testsuite interop fix series (PRs #5510, #5516, #5519,
#5520, #5523, #5525-#5544) by shared root cause rather than by Stream
bucket. Surfaces seven clusters:

  1. Parser stores directive as Option<String> on ModuleDefinition but
    no transfer-time wiring picks it up (5 PRs: fix: forward --stats into daemon, drain Sync flush, normalize delete path #5520, fix: apply munge symlinks prefix/strip in transfer paths #5527, fix: apply daemon incoming/outgoing chmod specs at transfer time #5530, fix: complete chmod spec parser parity with upstream #5534,
    fix: emit NDX_DEL_STATS in daemon-receive goodbye for --delete pushes #5536; also UTS-16 fix: protect receiver chdir against symlink-race TOCTOU #5519's arg rewrite leg).
  2. Field-vs-method shadowing on ModuleRuntime's Deref to
    ModuleDefinition - public field and #[cfg(test)] accessor share
    the same name, calls go through the field (2 PRs: fix: apply daemon incoming/outgoing chmod specs at transfer time #5530, fix: complete chmod spec parser parity with upstream #5534).
  3. Regression test encoded the bug, not upstream - flipping the
    implementation flips the test (fix: implement receiver-side mode-0 sentinel for --delete-missing-args #5523, fix: daemon-access module sub-path and access-rule edge cases #5526).
  4. Wire-frame emission predicate diverged from upstream (NDX_DEL_STATS
    gating, fix: forward --stats into daemon, drain Sync flush, normalize delete path #5520 / fix: emit NDX_DEL_STATS in daemon-receive goodbye for --delete pushes #5536 / test: pull file from path=/ module to close URV-4.a coverage gap #5542 / fix: emit NDX_DEL_STATS without --stats gate (URV-6.a) #5543).
  5. Daemon arg escape / unescape parity (safe_arg <->
    unbackslash_arg, fix: preserve --groupmap wildcards through daemon arg escape #5531 / fix: implement upstream 3.4.4 unbackslash_arg on non-protect_args daemon path (URV-2.a) #5544).
  6. Sandbox / openat2 confinement gaps with three different layers
    (fix: allow DirSandbox to follow in-tree symlinks for -K #5510, fix: protect receiver chdir against symlink-race TOCTOU #5519, fix: confine daemon alt-basis paths to module root (URV-5.a) #5540).
  7. Documentation / packaging churn that is not an interop bug (test: cover daemon runtime serving path = / without chroot #5532,
    test: pin hostname ACL resolution before chroot per GHSA-rjfm-3w2m-jf4f #5533, test: cover --only-write-batch dry-run dest dir semantics #5537, chore: pin upstream rsync 3.4.4 (closes #4965) #5538, ci: add upstream rsync 3.4.4 to CI workflow matrices (URS-14) #5539, fix: wire delete pass into pipelined_incremental for NDX_DEL_STATS (URV-6.b) #5541).

Each cluster gets: pattern description, sample fix shape, and concrete
prevention recommendations (typed ServerConfig fields, upstream-
conformance audit doc per release, mirrored daemon-test suite, symmetric
round-trip tests for escape pairs, receiver-driver wiring parity
invariant).

Includes a defense-in-depth subsection that maps each Cluster 6 PR onto
the rust-landlock ruleset wired at crates/fast_io/src/landlock.rs
behind the landlock feature, and ties URV-5.b (#3623), URV-5.c
(#3624), URV-LDL-1 (#3625) to the layering work.

Doc-only. No production code touched. No oc-rsync-specific features or
branding affected.

Test plan

  • CI fmt + clippy green (docs-only diff)
  • No nextest changes; no Windows / macOS / musl risk

Group PRs #5510, #5516, #5519, #5520, #5523, #5525-#5544 by shared root
cause rather than by Stream bucket. Seven clusters surface; the parser-
stores-string and field-vs-method shadowing clusters cover the largest
share of the series, and the receiver-driver wiring-parity gap explains
the NDX_DEL_STATS goodbye misses in both #5536 and #5542. Includes a
defense-in-depth audit mapping each cluster onto the rust-landlock
ruleset wired at crates/fast_io/src/landlock.rs.

Doc-only; no code paths touched.
@oferchen
oferchen force-pushed the docs/uts-x-cross-cutting-triage branch from 2cd9766 to 9fad091 Compare June 10, 2026 07:59
@oferchen
oferchen merged commit 2a0dbee into master Jun 10, 2026
8 checks passed
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 10, 2026
@oferchen
oferchen deleted the docs/uts-x-cross-cutting-triage branch June 10, 2026 09:25
oferchen added a commit that referenced this pull request Aug 24, 2026
Group PRs #5510, #5516, #5519, #5520, #5523, #5525-#5544 by shared root
cause rather than by Stream bucket. Seven clusters surface; the parser-
stores-string and field-vs-method shadowing clusters cover the largest
share of the series, and the receiver-driver wiring-parity gap explains
the NDX_DEL_STATS goodbye misses in both #5536 and #5542. Includes a
defense-in-depth audit mapping each cluster onto the rust-landlock
ruleset wired at crates/fast_io/src/landlock.rs.

Doc-only; no code paths touched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant