Repository navigation
docs(audits): daemon thread-per-connection scalability audit (#1673) - #3705
Merged
Merged
Conversation
Static analysis of the daemon's accept loop, per-connection resource cost, hard and soft limits, lock contention surface, and the migration sequencing against the async listener RFC. Frames the empirical follow-up benchmark at 100, 1000, and 10000 concurrent connections. Tracking: oc-rsync task #1673.
4 tasks done
oferchen
added a commit
that referenced
this pull request
May 5, 2026
Defines the empirical benchmark harness, workloads (100 / 1k / 10k concurrent clients), metrics, soft-limit triggers, comparison oracle against upstream rsync 3.4.1, and the decision criteria that gate the async listener migration tracked under #1935. Frames the active-counter fix from the parent audit (#1673, PR #3705) as a strict precondition. Tracking: oc-rsync task #1933.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
) Defines the empirical benchmark harness, workloads (100 / 1k / 10k concurrent clients), metrics, soft-limit triggers, comparison oracle against upstream rsync 3.4.1, and the decision criteria that gate the async listener migration tracked under #1935. Frames the active-counter fix from the parent audit (#1673, PR #3705) as a strict precondition. Tracking: oc-rsync task #1933.
4 tasks
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Static analysis of the daemon's accept loop, per-connection resource cost, hard and soft limits, lock contention surface, and the migration sequencing against the async listener RFC. Frames the empirical follow-up benchmark at 100, 1000, and 10000 concurrent connections. Tracking: oc-rsync task #1673.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
) Defines the empirical benchmark harness, workloads (100 / 1k / 10k concurrent clients), metrics, soft-limit triggers, comparison oracle against upstream rsync 3.4.1, and the decision criteria that gate the async listener migration tracked under #1935. Frames the active-counter fix from the parent audit (#1673, PR #3705) as a strict precondition. Tracking: oc-rsync task #1933.
This was referenced Jun 11, 2026
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Static analysis of the daemon's accept loop, per-connection resource cost, hard and soft limits, lock contention surface, and the migration sequencing against the async listener RFC. Frames the empirical follow-up benchmark at 100, 1000, and 10000 concurrent connections. Tracking: oc-rsync task #1673.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
) Defines the empirical benchmark harness, workloads (100 / 1k / 10k concurrent clients), metrics, soft-limit triggers, comparison oracle against upstream rsync 3.4.1, and the decision criteria that gate the async listener migration tracked under #1935. Frames the active-counter fix from the parent audit (#1673, PR #3705) as a strict precondition. Tracking: oc-rsync task #1933.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Closes the rsync_io-crate gap identified by WCI-1 (docs/audits/wci-1-windows-nextest-coverage-gap.md section 4.2): the required Windows (stable) cell never links rsync_io, so the `user_pattern_case_insensitive_on_windows` ssh_config parser test never executes on Windows. The new nightly workflow runs the full rsync_io crate on windows-latest at 08:00 UTC (offset from the existing WCI-2 IOCP at 05:00, WCI-3 daemon at 06:00, and WCI-7 long-path at 07:00 cells) to keep the Windows runner pool spread across the nightly schedule. Status: non-required, informational. Promotion to required-on-PR is gated on a 14-day green bake window per WCI-11 (#3705). Actions are SHA-pinned per CII-4 hardening.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Adds a nightly workflow that isolates the FindFirstStreamW / FindNextStreamW ADS round-trip path by running the metadata-crate integration tests in `crates/metadata/tests/windows_ads_xattrs_roundtrip.rs` under `--features xattr` (no `acl`). Also runs the CLI preflight smoke test that asserts `--xattrs` on Windows reaches the ADS backend cleanly. Closes the WCI-1 audit gap (PR #5639, docs/audits/wci-1-windows-nextest-coverage-gap.md section 4.2) where the combined `Windows ACL/xattr` cell can mask xattr_windows.rs regressions under acl,xattr feature union. Non-required (informational). Promotion to required-on-PR is gated on a 14-day green bake window per WCI-11 #3705.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
The required `Windows` cell in ci.yml runs nextest against `core`, `engine`, and `cli`, and the `Windows ACL/xattr` cell runs `-p metadata --features acl,xattr` with a workspace-scoped filter limited to `acl`/`xattr`/`ads`/`stream` test substrings. The reparse-point classifier tests under `crates/metadata/src/windows/ reparse.rs`, the `mklink` fixture tests in `crates/metadata/tests/ windows_reparse_classify_path.rs` + `windows_reparse_fixtures.rs` + `windows_symlink_junction_transfer.rs`, and the `absolutize_returns_absolute_path_unchanged_windows` test in `crates/flist/src/file_list_walker.rs` (named in the WCI-1 audit) do not match those filters and never execute on Windows today. The reparse classifier is load-bearing for every Windows source that crosses a directory symlink, junction, or volume mount point. A regression silently corrupts symlink target wire bytes and turns junctions into broken destination directories. This adds a nightly workflow at 11:00 UTC (offset from WCI-2 at 05:00, WCI-3 at 06:00, WCI-7 at 07:00 UTC) that runs the metadata crate filtered to `test(reparse) or test(symlink) or test(junction) or test(mount_point)` plus the flist crate filtered to `test(absolutize)`. The mklink/DefineDosDevice fixtures require Developer Mode or Administrator privileges that GitHub-hosted `windows-latest` runners do not provide; per the WCI-8 task spec, fail-loud at fixture-setup is acceptable for the nightly cell and the workflow YAML documents that constraint inline. The synthetic- buffer unit tests in `reparse.rs` and the classify-path integration tests do not require elevation and surface any classifier-logic regression independently. Non-required (informational); promotion to required-on-PR is gated on the 14-day green bake window tracked under WCI-11 (#3705).
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
Test plan
Tracking: oc-rsync task #1673.