Streamline CI and expose brand profiles#1386
Conversation
There was a problem hiding this comment.
💡 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".
| with: | ||
| name: oc-rsync-packages | ||
| path: | | ||
| target/debian/*.deb | ||
| target/release/rpms/*.rpm | ||
| target/sbom/oc-rsync.cdx.json | ||
|
|
||
| target/${{ matrix.target }}/release/oc-rsync* | ||
| target/${{ matrix.target }}/release/oc-rsyncd* |
There was a problem hiding this comment.
Fix undefined matrix reference in package artifact upload
The package-linux job is no longer a matrix job, yet the upload step still interpolates matrix.target to form the artifact paths. In GitHub Actions this expression is undefined in a non-matrix job, so the workflow will error out before artifacts are uploaded (“Unrecognized named-value: 'matrix'”) and the packages/SBOM are never published. Replace these expressions with concrete paths or add a matrix to the job before referencing matrix.*.
Useful? React with 👍 / 👎.
#1386) (#4258) Adds platform_copy_gap, a single bench file that runs DefaultPlatformCopy on every host (FICLONE/copy_file_range on Linux, clonefile/fcopyfile on macOS, CopyFileExW/ReFS reflink on Windows) against std::fs::copy. Each host produces a platform_copy/std_baseline ratio per cell; the ratio is the kernel-fast-path win on that host and is the unit that can be compared across hosts. Records the chosen CopyMethod per cell on stderr so the Criterion report can be cross-referenced to the actual syscall. Cells: 4 KiB/64 KiB/1 MiB (100 files), 16 MiB (10 files), 256 MiB (2 files), sized so no cell exceeds ~30 s wall-clock on a typical CI runner. Independent of the kernel-async IOCP-vs-io_uring bench (#1868) which exercises a different syscall family.
#1386) (#4258) Adds platform_copy_gap, a single bench file that runs DefaultPlatformCopy on every host (FICLONE/copy_file_range on Linux, clonefile/fcopyfile on macOS, CopyFileExW/ReFS reflink on Windows) against std::fs::copy. Each host produces a platform_copy/std_baseline ratio per cell; the ratio is the kernel-fast-path win on that host and is the unit that can be compared across hosts. Records the chosen CopyMethod per cell on stderr so the Criterion report can be cross-referenced to the actual syscall. Cells: 4 KiB/64 KiB/1 MiB (100 files), 16 MiB (10 files), 256 MiB (2 files), sized so no cell exceeds ~30 s wall-clock on a typical CI runner. Independent of the kernel-async IOCP-vs-io_uring bench (#1868) which exercises a different syscall family.
#1386) (#4258) Adds platform_copy_gap, a single bench file that runs DefaultPlatformCopy on every host (FICLONE/copy_file_range on Linux, clonefile/fcopyfile on macOS, CopyFileExW/ReFS reflink on Windows) against std::fs::copy. Each host produces a platform_copy/std_baseline ratio per cell; the ratio is the kernel-fast-path win on that host and is the unit that can be compared across hosts. Records the chosen CopyMethod per cell on stderr so the Criterion report can be cross-referenced to the actual syscall. Cells: 4 KiB/64 KiB/1 MiB (100 files), 16 MiB (10 files), 256 MiB (2 files), sized so no cell exceeds ~30 s wall-clock on a typical CI runner. Independent of the kernel-async IOCP-vs-io_uring bench (#1868) which exercises a different syscall family.
Summary
resolve_brand_profilehelper that returns the resolvedBrandProfileand document it with examplesTesting
https://chatgpt.com/codex/tasks/task_e_6900e2126e2083239d9311cf1ac4c1d2