WIP: Compare native byte streams #21

Draft
erikinkinen wants to merge 7 commits from feature/native-byte-comparison into feature/inherited-command-streams
Owner

Implement native cmp comparison modes over the admitted input streams. Preserve byte positions, input ownership and command-level diagnostics.

Depends on #20.

  • Cover binary positions, quiet/list modes, unequal EOF, malformed input and independent operation/retirement failures.
  • Build the native comparison adapter against the selected inherited-stream providers.

The underlying stream-authority release-image demonstration remains tracked by #20.

  • Demonstrate native cmp on the matching image: exact binary positions, quiet/list modes, unequal EOF and retained input cleanup.
Implement native cmp comparison modes over the admitted input streams. Preserve byte positions, input ownership and command-level diagnostics. Depends on #20. - [x] Cover binary positions, quiet/list modes, unequal EOF, malformed input and independent operation/retirement failures. - [x] Build the native comparison adapter against the selected inherited-stream providers. The underlying stream-authority release-image demonstration remains tracked by [#20](https://git.erikinkinen.fi/erix/coreutils/pulls/20). - [ ] Demonstrate native cmp on the matching image: exact binary positions, quiet/list modes, unequal EOF and retained input cleanup.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 12:05:03 +01:00
feat: Compare native byte streams
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 5s
CI / rust (push) Failing after 52s
293a0eacf8
Implement native cmp comparison modes over the admitted input streams. Preserve byte positions, input ownership and command-level diagnostics.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Failing after 1m8s
c0e58aa52e
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Failing after 43s
f8c3b12d87
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Failing after 1m25s
297e047b5b
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
fix: Integrate ordinary stream ownership prerequisites
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m40s
e8656452d2
Retain the completed startup refusal and workspace-lifetime fixes from the preceding feature. Keep the explicit ordinary-stream provider graph and include cmp in this feature’s independent manual inventory.
fix: Share packet custody guards with byte comparison
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Failing after 49s
c28d75aefc
Integrate the ordinary-stream repair and preserve comparison-journal priority while checking every pending stream admission. Keep caller buffers and all remaining originals held across unreturned callbacks, including ordinary commands and local disposal.
fix: Call the shared guard from comparison entry points
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m44s
0f37ff4c0d
Keep both dispatch and teardown bound to the common callback-custody implementation after integrating the stream prerequisite.
erikinkinen changed title from WIP: Compare native byte streams to Compare native byte streams 2026-11-13 19:53:39 +01:00
erikinkinen changed title from Compare native byte streams to WIP: Compare native byte streams 2026-11-13 20:05:22 +01:00
All checks were successful
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / rust (push) Successful in 1m44s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/native-byte-comparison:feature/native-byte-comparison'
git switch 'feature/native-byte-comparison'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/inherited-command-streams'
git merge --no-ff 'feature/native-byte-comparison'
git switch 'feature/native-byte-comparison'
git rebase 'feature/inherited-command-streams'
git switch 'feature/inherited-command-streams'
git merge --ff-only 'feature/native-byte-comparison'
git switch 'feature/native-byte-comparison'
git rebase 'feature/inherited-command-streams'
git switch 'feature/inherited-command-streams'
git merge --no-ff 'feature/native-byte-comparison'
git switch 'feature/inherited-command-streams'
git merge --squash 'feature/native-byte-comparison'
git switch 'feature/inherited-command-streams'
git merge --ff-only 'feature/native-byte-comparison'
git switch 'feature/inherited-command-streams'
git merge 'feature/native-byte-comparison'
git push origin 'feature/inherited-command-streams'
Sign in to join this conversation.
No description provided.