Repository navigation
Fix stats tests by clearing skip-compress env - #1382
Conversation
There was a problem hiding this comment.
💡 Codex Review
Lines 8344 to 8349 in 9789ecb
Replacing clear_rsync_rsh() with a RSYNC_SKIP_COMPRESS guard means these stats tests no longer clear the RSYNC_RSH environment variable. Many other tests use clear_rsync_rsh() to avoid picking up a developer’s custom remote shell, which can cause the subprocess spawned by run_with_args to hang or fail whenever RSYNC_RSH is set. Sanitizing RSYNC_SKIP_COMPRESS is helpful, but it should be done in addition to—rather than instead of—clearing RSYNC_RSH for both stats helpers so that the tests remain isolated from user environments.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Design note for #1382. Surveys the current SPMC contract on the bounded delta WorkQueue, evaluates three multi-producer designs, and recommends a Clone-based fan-in API (with_producers(n)) that surfaces the producer-count contract as a Vec of N senders. Covers ordering via per-producer sequence ranges, backpressure, drain_parallel interaction, and migration for multi-root transfers, --files-from + walker concurrency, and future async producers. Wire-compat impact: zero (channels are internal coordination only).
…3709) Companion to multi-producer-workqueue.md (#1382): documents the Arc<WorkQueueSender> variant tracked at #1610 as a complement to the Vec<WorkQueueSender> Design A. Covers API surface (shared/ shared_with_capacity, SharedSender alias), backpressure preservation, drop semantics, sequence-number ordering against ReorderBuffer, migration path through #1404 and #1613, plus three new property tests gated on the multi-producer cargo feature.
Design note for #1382. Surveys the current SPMC contract on the bounded delta WorkQueue, evaluates three multi-producer designs, and recommends a Clone-based fan-in API (with_producers(n)) that surfaces the producer-count contract as a Vec of N senders. Covers ordering via per-producer sequence ranges, backpressure, drain_parallel interaction, and migration for multi-root transfers, --files-from + walker concurrency, and future async producers. Wire-compat impact: zero (channels are internal coordination only).
…3709) Companion to multi-producer-workqueue.md (#1382): documents the Arc<WorkQueueSender> variant tracked at #1610 as a complement to the Vec<WorkQueueSender> Design A. Covers API surface (shared/ shared_with_capacity, SharedSender alias), backpressure preservation, drop semantics, sequence-number ordering against ReorderBuffer, migration path through #1404 and #1613, plus three new property tests gated on the multi-producer cargo feature.
Design note for #1382. Surveys the current SPMC contract on the bounded delta WorkQueue, evaluates three multi-producer designs, and recommends a Clone-based fan-in API (with_producers(n)) that surfaces the producer-count contract as a Vec of N senders. Covers ordering via per-producer sequence ranges, backpressure, drain_parallel interaction, and migration for multi-root transfers, --files-from + walker concurrency, and future async producers. Wire-compat impact: zero (channels are internal coordination only).
…3709) Companion to multi-producer-workqueue.md (#1382): documents the Arc<WorkQueueSender> variant tracked at #1610 as a complement to the Vec<WorkQueueSender> Design A. Covers API surface (shared/ shared_with_capacity, SharedSender alias), backpressure preservation, drop semantics, sequence-number ordering against ReorderBuffer, migration path through #1404 and #1613, plus three new property tests gated on the multi-producer cargo feature.
Summary
RSYNC_SKIP_COMPRESSenvironmentRSYNC_SKIP_COMPRESSvalues cannot cause failuresTesting