Skip to content

test: add batch framing interop validation test - #3168

Merged
oferchen merged 1 commit into
masterfrom
test/batch-framing-interop
Apr 11, 2026
Merged

oferchen merged 1 commit into
masterfrom
test/batch-framing-interop

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add a dedicated interop test (batch-framing-multifile) that validates the NDX-driven batch framing fix from PR fix: correct batch interop framing for upstream rsync compatibility #3084
  • Tests batch roundtrips in both directions (oc-rsync write / upstream read, and upstream write / oc-rsync read) using a custom source tree with 11 files of varying sizes (0 bytes to 512 KB) across nested directories
  • Exercises the framing boundary conditions where per-file delta data must be correctly ordered after the flist end marker with proper NDX + iflags + sum_head framing

Test plan

  • CI interop workflow passes with the new batch-framing-multifile test
  • Existing batch interop tests (write-batch-read-batch, write-batch-read-batch-compressed, compressed-batch-recording) continue to pass
  • All other CI checks (fmt+clippy, nextest, Windows, macOS, Linux musl) pass

Add a dedicated interop test for the multi-file batch framing fix from
PR #3084. The test creates a custom source tree with 11 files of varying
sizes (0 bytes to 512 KB) across nested directories and validates batch
roundtrips in both directions:

- oc-rsync --write-batch -> upstream --read-batch
- upstream --write-batch -> oc-rsync --read-batch

This exercises the NDX-driven batch framing boundary conditions that
were fixed in #3084, where per-file delta data must be correctly ordered
after the flist end marker with proper NDX + iflags + sum_head framing.
@github-actions github-actions Bot added the test label Apr 11, 2026
@oferchen
oferchen merged commit fed829d into master Apr 11, 2026
43 checks passed
@oferchen
oferchen deleted the test/batch-framing-interop branch April 11, 2026 06:26
oferchen added a commit that referenced this pull request May 1, 2026
Add a dedicated interop test for the multi-file batch framing fix from
PR #3084. The test creates a custom source tree with 11 files of varying
sizes (0 bytes to 512 KB) across nested directories and validates batch
roundtrips in both directions:

- oc-rsync --write-batch -> upstream --read-batch
- upstream --write-batch -> oc-rsync --read-batch

This exercises the NDX-driven batch framing boundary conditions that
were fixed in #3084, where per-file delta data must be correctly ordered
after the flist end marker with proper NDX + iflags + sum_head framing.
oferchen added a commit that referenced this pull request May 5, 2026
Add a dedicated interop test for the multi-file batch framing fix from
PR #3084. The test creates a custom source tree with 11 files of varying
sizes (0 bytes to 512 KB) across nested directories and validates batch
roundtrips in both directions:

- oc-rsync --write-batch -> upstream --read-batch
- upstream --write-batch -> oc-rsync --read-batch

This exercises the NDX-driven batch framing boundary conditions that
were fixed in #3084, where per-file delta data must be correctly ordered
after the flist end marker with proper NDX + iflags + sum_head framing.
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