Skip to content

Refactor CLI tests into modular files - #1680

Merged
oferchen merged 1 commit into
masterfrom
prepare-for-production-release-and-cleanup
Oct 30, 2025
Merged

oferchen merged 1 commit into
masterfrom
prepare-for-production-release-and-cleanup

Conversation

@oferchen

@oferchen oferchen commented Oct 30, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • replace the monolithic crates/cli/src/tests.rs with a tree of focused modules under crates/cli/src/tests/
  • expose shared test helpers in common.rs and point the CLI frontend to the new test module entry point
  • drop the bespoke line-limit override now that every test file stays below the hygiene threshold

Testing

  • cargo test -p rsync-cli --lib --tests -- --nocapture

@oferchen
oferchen merged commit 314ef44 into master Oct 30, 2025
@oferchen
oferchen deleted the prepare-for-production-release-and-cleanup branch October 30, 2025 12:40
oferchen added a commit that referenced this pull request May 5, 2026
Captures the load-bearing facts a runtime profile of #1679 will then
quantify: every Mutex::lock() site reachable from drain_parallel is
enumerated, the per-thread Vec mitigation from #1680 is shown to be
contention-free in steady state, and three alternative designs (single
Mutex, per-thread Vec, lock-free MPSC) are compared with file:line
citations. Recommends deferring #1681 until #1679 measures the sharded
design at W=32 / 64.
oferchen added a commit that referenced this pull request May 18, 2026
Captures the load-bearing facts a runtime profile of #1679 will then
quantify: every Mutex::lock() site reachable from drain_parallel is
enumerated, the per-thread Vec mitigation from #1680 is shown to be
contention-free in steady state, and three alternative designs (single
Mutex, per-thread Vec, lock-free MPSC) are compared with file:line
citations. Recommends deferring #1681 until #1679 measures the sharded
design at W=32 / 64.
oferchen added a commit that referenced this pull request Aug 24, 2026
Captures the load-bearing facts a runtime profile of #1679 will then
quantify: every Mutex::lock() site reachable from drain_parallel is
enumerated, the per-thread Vec mitigation from #1680 is shown to be
contention-free in steady state, and three alternative designs (single
Mutex, per-thread Vec, lock-free MPSC) are compared with file:line
citations. Recommends deferring #1681 until #1679 measures the sharded
design at W=32 / 64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant