Skip to content

Add xtask branding command and correct CI CLI test target - #1410

Merged
oferchen merged 1 commit into
masterfrom
prepare-oc-rsync-for-production-release
Oct 28, 2025
Merged

oferchen merged 1 commit into
masterfrom
prepare-oc-rsync-for-production-release

Conversation

@oferchen

@oferchen oferchen commented Oct 28, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • fix the CI workflow so the CLI version test runs against the rsync-cli crate
  • add a cargo xtask branding command that prints the central branding metadata and document it in the xtask usage text, with parsing tests

Testing

  • cargo test

@oferchen
oferchen merged commit 45a665b into master Oct 28, 2025
@oferchen
oferchen deleted the prepare-oc-rsync-for-production-release branch October 28, 2025 17:43

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

Comment thread .github/workflows/ci.yml
- name: Run CLI version tests without ACL/iconv support
if: steps.install_nextest.outcome == 'success'
run: cargo test -p oc-rsync-cli --test version --no-default-features --features "xattr zlib zstd"
run: cargo test -p rsync-cli --test version --no-default-features --features "xattr zlib zstd"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove unsupported zlib/zstd features from rsync-cli test

The updated CLI version test now targets rsync-cli, but the command still passes --features "xattr zlib zstd". The rsync-cli crate only declares xattr and acl features, so Cargo will immediately fail with “package rsync-cli does not have a feature named zlib/zstd” and the step never runs. Drop the unknown flags or expose matching features so the version tests can execute.

Useful? React with 👍 / 👎.

oferchen added a commit that referenced this pull request May 7, 2026
Tracks task #1410 with a benchmark plan for promoting the receiver hot
path off per-file io_uring rings. Surveys the lifecycle in
crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL
costs at 100K-file scale, and lays out throughput / latency metrics for
the per-file vs disk_batch vs session-pool topologies.
oferchen added a commit that referenced this pull request May 7, 2026
)

Adds a documentation-only design note quantifying the cost of the
current per-file io_uring topology against a session-level shared
ring on a 100K small-file flood, with a 30% p99 tail-latency
reduction pass/fail bar.
oferchen added a commit that referenced this pull request May 17, 2026
Adds a Criterion bench that synthesises the two ring lifecycles called
out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current
per-file ring (one io_uring_setup per output file) and a long-lived
shared ring that re-registers each new fd into the same fixed-file
table. Each topology writes 100,000 4 KiB files and reports throughput
in elements/second so the rows compare directly.

The bench is Linux-only (gated by target_os = "linux" with a stub main
for macOS / Windows), requires the io_uring feature, and is gated by
the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs
do not pick up multi-minute work. It skips cleanly when io_uring_setup
is blocked by the kernel or container runtime.
oferchen added a commit that referenced this pull request May 17, 2026
…1410) (#4197)

* bench(fast_io): io_uring per-file vs shared ring on 100K small files

Adds a Criterion bench that synthesises the two ring lifecycles called
out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current
per-file ring (one io_uring_setup per output file) and a long-lived
shared ring that re-registers each new fd into the same fixed-file
table. Each topology writes 100,000 4 KiB files and reports throughput
in elements/second so the rows compare directly.

The bench is Linux-only (gated by target_os = "linux" with a stub main
for macOS / Windows), requires the io_uring feature, and is gated by
the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs
do not pick up multi-minute work. It skips cleanly when io_uring_setup
is blocked by the kernel or container runtime.

* style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
oferchen added a commit that referenced this pull request May 18, 2026
Tracks task #1410 with a benchmark plan for promoting the receiver hot
path off per-file io_uring rings. Surveys the lifecycle in
crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL
costs at 100K-file scale, and lays out throughput / latency metrics for
the per-file vs disk_batch vs session-pool topologies.
oferchen added a commit that referenced this pull request May 18, 2026
)

Adds a documentation-only design note quantifying the cost of the
current per-file io_uring topology against a session-level shared
ring on a 100K small-file flood, with a 30% p99 tail-latency
reduction pass/fail bar.
oferchen added a commit that referenced this pull request May 18, 2026
…1410) (#4197)

* bench(fast_io): io_uring per-file vs shared ring on 100K small files

Adds a Criterion bench that synthesises the two ring lifecycles called
out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current
per-file ring (one io_uring_setup per output file) and a long-lived
shared ring that re-registers each new fd into the same fixed-file
table. Each topology writes 100,000 4 KiB files and reports throughput
in elements/second so the rows compare directly.

The bench is Linux-only (gated by target_os = "linux" with a stub main
for macOS / Windows), requires the io_uring feature, and is gated by
the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs
do not pick up multi-minute work. It skips cleanly when io_uring_setup
is blocked by the kernel or container runtime.

* style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
oferchen added a commit that referenced this pull request May 18, 2026
…1410) (#4197)

* bench(fast_io): io_uring per-file vs shared ring on 100K small files

Adds a Criterion bench that synthesises the two ring lifecycles called
out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current
per-file ring (one io_uring_setup per output file) and a long-lived
shared ring that re-registers each new fd into the same fixed-file
table. Each topology writes 100,000 4 KiB files and reports throughput
in elements/second so the rows compare directly.

The bench is Linux-only (gated by target_os = "linux" with a stub main
for macOS / Windows), requires the io_uring feature, and is gated by
the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs
do not pick up multi-minute work. It skips cleanly when io_uring_setup
is blocked by the kernel or container runtime.

* style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
oferchen added a commit that referenced this pull request Aug 24, 2026
Tracks task #1410 with a benchmark plan for promoting the receiver hot
path off per-file io_uring rings. Surveys the lifecycle in
crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL
costs at 100K-file scale, and lays out throughput / latency metrics for
the per-file vs disk_batch vs session-pool topologies.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

Adds a documentation-only design note quantifying the cost of the
current per-file io_uring topology against a session-level shared
ring on a 100K small-file flood, with a 30% p99 tail-latency
reduction pass/fail bar.
oferchen added a commit that referenced this pull request Aug 24, 2026
…1410) (#4197)

* bench(fast_io): io_uring per-file vs shared ring on 100K small files

Adds a Criterion bench that synthesises the two ring lifecycles called
out in docs/audits/per-file-vs-shared-uring-ring.md (#1410): the current
per-file ring (one io_uring_setup per output file) and a long-lived
shared ring that re-registers each new fd into the same fixed-file
table. Each topology writes 100,000 4 KiB files and reports throughput
in elements/second so the rows compare directly.

The bench is Linux-only (gated by target_os = "linux" with a stub main
for macOS / Windows), requires the io_uring feature, and is gated by
the OC_RSYNC_BENCH_IOURING_RING=1 env var so casual cargo bench runs
do not pick up multi-minute work. It skips cleanly when io_uring_setup
is blocked by the kernel or container runtime.

* style(fast_io): apply rustfmt to iouring_per_file_vs_shared bench
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