Skip to content

feat: implement --write-devices flag enforcement - #2389

Merged
oferchen merged 1 commit into
masterfrom
feature/write-devices-enforcement
Feb 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
feature/write-devices-enforcement

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Wire the --write-devices flag through the transfer pipeline
  • Add write_devices field to ServerConfig
  • Add is_device_target to BeginMessage for pipeline communication
  • Open device files with O_WRONLY (no create, no truncate)
  • Skip metadata application for device targets
  • Disable direct-write optimization for device targets
  • Wire write_devices into RequestConfig and receiver context

Test plan

  • All 21,988 tests pass
  • cargo clippy clean
  • cargo fmt clean
  • CI passes on all platforms

Wire the --write-devices flag through the transfer pipeline:
- Add write_devices field to ServerConfig
- Add is_device_target to BeginMessage for pipeline communication
- Open device files with O_WRONLY (no create, no truncate)
- Skip metadata application for device targets
- Disable direct-write optimization for device targets
- Wire write_devices into RequestConfig and receiver context
@github-actions github-actions Bot added the enhancement New feature or request label Feb 21, 2026
@oferchen
oferchen merged commit 8833c81 into master Feb 21, 2026
22 of 31 checks passed
@oferchen
oferchen deleted the feature/write-devices-enforcement branch February 21, 2026 16:11
oferchen added a commit that referenced this pull request May 1, 2026
Wire the --write-devices flag through the transfer pipeline:
- Add write_devices field to ServerConfig
- Add is_device_target to BeginMessage for pipeline communication
- Open device files with O_WRONLY (no create, no truncate)
- Skip metadata application for device targets
- Disable direct-write optimization for device targets
- Wire write_devices into RequestConfig and receiver context
oferchen added a commit that referenced this pull request May 5, 2026
Wire the --write-devices flag through the transfer pipeline:
- Add write_devices field to ServerConfig
- Add is_device_target to BeginMessage for pipeline communication
- Open device files with O_WRONLY (no create, no truncate)
- Skip metadata application for device targets
- Disable direct-write optimization for device targets
- Wire write_devices into RequestConfig and receiver context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant