Skip to content

Document parity artifacts and automation - #2132

Merged
oferchen merged 1 commit into
masterfrom
perform-full-parity-audit-for-oc-rsync
Nov 13, 2025
Merged

oferchen merged 1 commit into
masterfrom
perform-full-parity-audit-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Nov 13, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add a machine-readable CLI parity matrix and generator script to keep it in sync with upstream options
  • document the parity status for core behaviours, exit codes, and version output so gaps are tracked explicitly
  • update the existing parity options note to point at the new YAML dataset and regeneration workflow

Testing

  • not run

[Codex Task](

@oferchen
oferchen merged commit 589411c into master Nov 13, 2025
@oferchen
oferchen deleted the perform-full-parity-audit-for-oc-rsync branch November 13, 2025 15:01

@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 on lines +45 to +50
pattern = re.compile(
r'^\{\s*(?:"([^"]*)"|0)\s*,\s*(?:\'([^\']*)\'|0)\s*,\s*([A-Z0-9_]+)\s*,\s*([^,]+)\s*,\s*([^,]+)\s*,'
)
match = pattern.match(entry)
if not match:
raise ValueError(f"Unable to parse entry: {entry}")

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 Allow popt flag bitmasks in parser

The generator currently assumes the arg_info field in each poptOption is a single all-caps identifier ([A-Z0-9_]+). In options.c this field frequently contains bitmasks such as POPT_ARG_NONE|POPT_ARGFLAG_DOC_HIDDEN or POPT_ARG_STRING | POPT_ARGFLAG_DOC_HIDDEN. When the regex at parse_entry hits one of those legitimate entries, it fails to match and the script raises ValueError("Unable to parse entry: …"), so the tool cannot be run against real rsync sources and the YAML you added cannot be regenerated. Please make the parser accept expressions with | (and optional spaces) instead of only a bare identifier.

Useful? React with 👍 / 👎.

oferchen added a commit that referenced this pull request May 7, 2026
…3924)

Plans an NTFS sparse hole-punching backend so the Windows path
matches Linux fallocate(PUNCH_HOLE) and macOS F_PUNCHHOLE instead
of writing physical zeros. Defines PlatformSparse trait shape
(set_sparse_attr + punch_hole), volume/alignment risks, and ties
into the sparse-writer Decorator tracked in #2132.
oferchen added a commit that referenced this pull request May 13, 2026
…tion (#2132) (#4000)

* refactor(engine): add SparseWriter decorator for zero-region interception (#2132)

Replace the concrete `SparseWriter` (wrapping `fs::File` with region-based
API) with a generic `SparseWriter<W: Write + Seek>` decorator that
transparently intercepts write calls to detect and skip zero regions.

Key changes:
- SparseWriter<W> implements Write + Seek, scanning for zero runs in
  each write call and accumulating them as pending seeks
- Configurable ZeroScanStrategy: SIMD-accelerated (default) or byte-level
- SparseWriteStats tracks bytes written, bytes seeked, zero runs detected
- Single-seek-per-zero-run invariant maintained across write boundaries
- Whole-file copy path wired through SparseWriter decorator
- Delta transfer path retains write_sparse_chunk for interleaved I/O

* fix: update SparseWriter tests to match refactored decorator API

Remove boolean arg from SparseWriter::new(), replace write_region()
with write_all(), remove integer arg from finish(), and rename
file()/file_mut() to inner()/inner_mut().
oferchen added a commit that referenced this pull request May 18, 2026
…3924)

Plans an NTFS sparse hole-punching backend so the Windows path
matches Linux fallocate(PUNCH_HOLE) and macOS F_PUNCHHOLE instead
of writing physical zeros. Defines PlatformSparse trait shape
(set_sparse_attr + punch_hole), volume/alignment risks, and ties
into the sparse-writer Decorator tracked in #2132.
oferchen added a commit that referenced this pull request May 18, 2026
…tion (#2132) (#4000)

* refactor(engine): add SparseWriter decorator for zero-region interception (#2132)

Replace the concrete `SparseWriter` (wrapping `fs::File` with region-based
API) with a generic `SparseWriter<W: Write + Seek>` decorator that
transparently intercepts write calls to detect and skip zero regions.

Key changes:
- SparseWriter<W> implements Write + Seek, scanning for zero runs in
  each write call and accumulating them as pending seeks
- Configurable ZeroScanStrategy: SIMD-accelerated (default) or byte-level
- SparseWriteStats tracks bytes written, bytes seeked, zero runs detected
- Single-seek-per-zero-run invariant maintained across write boundaries
- Whole-file copy path wired through SparseWriter decorator
- Delta transfer path retains write_sparse_chunk for interleaved I/O

* fix: update SparseWriter tests to match refactored decorator API

Remove boolean arg from SparseWriter::new(), replace write_region()
with write_all(), remove integer arg from finish(), and rename
file()/file_mut() to inner()/inner_mut().
oferchen added a commit that referenced this pull request Aug 24, 2026
…tion (#2132) (#4000)

* refactor(engine): add SparseWriter decorator for zero-region interception (#2132)

Replace the concrete `SparseWriter` (wrapping `fs::File` with region-based
API) with a generic `SparseWriter<W: Write + Seek>` decorator that
transparently intercepts write calls to detect and skip zero regions.

Key changes:
- SparseWriter<W> implements Write + Seek, scanning for zero runs in
  each write call and accumulating them as pending seeks
- Configurable ZeroScanStrategy: SIMD-accelerated (default) or byte-level
- SparseWriteStats tracks bytes written, bytes seeked, zero runs detected
- Single-seek-per-zero-run invariant maintained across write boundaries
- Whole-file copy path wired through SparseWriter decorator
- Delta transfer path retains write_sparse_chunk for interleaved I/O

* fix: update SparseWriter tests to match refactored decorator API

Remove boolean arg from SparseWriter::new(), replace write_region()
with write_all(), remove integer arg from finish(), and rename
file()/file_mut() to inner()/inner_mut().
oferchen added a commit that referenced this pull request Aug 24, 2026
…3924)

Plans an NTFS sparse hole-punching backend so the Windows path
matches Linux fallocate(PUNCH_HOLE) and macOS F_PUNCHHOLE instead
of writing physical zeros. Defines PlatformSparse trait shape
(set_sparse_attr + punch_hole), volume/alignment risks, and ties
into the sparse-writer Decorator tracked in #2132.
oferchen added a commit that referenced this pull request Aug 24, 2026
…tion (#2132) (#4000)

* refactor(engine): add SparseWriter decorator for zero-region interception (#2132)

Replace the concrete `SparseWriter` (wrapping `fs::File` with region-based
API) with a generic `SparseWriter<W: Write + Seek>` decorator that
transparently intercepts write calls to detect and skip zero regions.

Key changes:
- SparseWriter<W> implements Write + Seek, scanning for zero runs in
  each write call and accumulating them as pending seeks
- Configurable ZeroScanStrategy: SIMD-accelerated (default) or byte-level
- SparseWriteStats tracks bytes written, bytes seeked, zero runs detected
- Single-seek-per-zero-run invariant maintained across write boundaries
- Whole-file copy path wired through SparseWriter decorator
- Delta transfer path retains write_sparse_chunk for interleaved I/O

* fix: update SparseWriter tests to match refactored decorator API

Remove boolean arg from SparseWriter::new(), replace write_region()
with write_all(), remove integer arg from finish(), and rename
file()/file_mut() to inner()/inner_mut().
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