Skip to content

fix: improve metadata platform stubs for cross-platform compilation - #2370

Merged
oferchen merged 1 commit into
masterfrom
fix/metadata-stubs
Feb 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/metadata-stubs

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Improve ACL no-op stubs for non-Linux platforms
  • Fix xattr stub implementations
  • Enhance metadata apply logic

Test plan

  • cargo check -p metadata passes
  • cargo clippy passes
  • cargo nextest run -p metadata passes

@github-actions github-actions Bot added the bug Something isn't working label Feb 21, 2026
@oferchen
oferchen merged commit dd06e18 into master Feb 21, 2026
12 of 16 checks passed
@oferchen
oferchen deleted the fix/metadata-stubs branch February 21, 2026 15:27
oferchen added a commit that referenced this pull request May 17, 2026
)

Adds two docs covering the SSE-1 (#2370) and SSE-2 (#2371) tasks:

- `docs/audits/ssh-stderr-handling.md` maps every call site that
  configures, drains, surfaces, or shuts down the SSH subprocess stderr
  stream in `crates/rsync_io/src/ssh/`. Covers the dual-backend
  selection (socketpair on Unix, pipe everywhere else), the 50 ms
  bounded join policy, the `Drop`-time surface-on-error path, and
  confirms the async transport currently uses `Stdio::inherit()` with
  no drain or capture.
- `docs/design/socketpair-stderr-channel.md` proposes a tokio-aware
  `StderrAuxChannel` backend behind a default-off
  `ssh-socketpair-stderr` feature flag, covers a Windows TCP-loopback
  shim for the missing `socketpair(2)`, and lays out the five-step
  rollout keyed to SSE-3..SSE-7.

No code changes; the existing dual-backend abstraction in
`aux_channel.rs` already supports the proposed trait-level extension.
oferchen added a commit that referenced this pull request May 18, 2026
)

Adds two docs covering the SSE-1 (#2370) and SSE-2 (#2371) tasks:

- `docs/audits/ssh-stderr-handling.md` maps every call site that
  configures, drains, surfaces, or shuts down the SSH subprocess stderr
  stream in `crates/rsync_io/src/ssh/`. Covers the dual-backend
  selection (socketpair on Unix, pipe everywhere else), the 50 ms
  bounded join policy, the `Drop`-time surface-on-error path, and
  confirms the async transport currently uses `Stdio::inherit()` with
  no drain or capture.
- `docs/design/socketpair-stderr-channel.md` proposes a tokio-aware
  `StderrAuxChannel` backend behind a default-off
  `ssh-socketpair-stderr` feature flag, covers a Windows TCP-loopback
  shim for the missing `socketpair(2)`, and lays out the five-step
  rollout keyed to SSE-3..SSE-7.

No code changes; the existing dual-backend abstraction in
`aux_channel.rs` already supports the proposed trait-level extension.
oferchen added a commit that referenced this pull request May 18, 2026
)

Adds two docs covering the SSE-1 (#2370) and SSE-2 (#2371) tasks:

- `docs/audits/ssh-stderr-handling.md` maps every call site that
  configures, drains, surfaces, or shuts down the SSH subprocess stderr
  stream in `crates/rsync_io/src/ssh/`. Covers the dual-backend
  selection (socketpair on Unix, pipe everywhere else), the 50 ms
  bounded join policy, the `Drop`-time surface-on-error path, and
  confirms the async transport currently uses `Stdio::inherit()` with
  no drain or capture.
- `docs/design/socketpair-stderr-channel.md` proposes a tokio-aware
  `StderrAuxChannel` backend behind a default-off
  `ssh-socketpair-stderr` feature flag, covers a Windows TCP-loopback
  shim for the missing `socketpair(2)`, and lays out the five-step
  rollout keyed to SSE-3..SSE-7.

No code changes; the existing dual-backend abstraction in
`aux_channel.rs` already supports the proposed trait-level extension.
oferchen added a commit that referenced this pull request Aug 24, 2026
)

Adds two docs covering the SSE-1 (#2370) and SSE-2 (#2371) tasks:

- `docs/audits/ssh-stderr-handling.md` maps every call site that
  configures, drains, surfaces, or shuts down the SSH subprocess stderr
  stream in `crates/rsync_io/src/ssh/`. Covers the dual-backend
  selection (socketpair on Unix, pipe everywhere else), the 50 ms
  bounded join policy, the `Drop`-time surface-on-error path, and
  confirms the async transport currently uses `Stdio::inherit()` with
  no drain or capture.
- `docs/design/socketpair-stderr-channel.md` proposes a tokio-aware
  `StderrAuxChannel` backend behind a default-off
  `ssh-socketpair-stderr` feature flag, covers a Windows TCP-loopback
  shim for the missing `socketpair(2)`, and lays out the five-step
  rollout keyed to SSE-3..SSE-7.

No code changes; the existing dual-backend abstraction in
`aux_channel.rs` already supports the proposed trait-level extension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant