Skip to content

feat(api): Add blkio resource flags#17

Open
chrisgeo wants to merge 2 commits into
mainfrom
feat/chaos-1380-blkio-flags
Open

feat(api): Add blkio resource flags#17
chrisgeo wants to merge 2 commits into
mainfrom
feat/chaos-1380-blkio-flags

Conversation

@chrisgeo
Copy link
Copy Markdown

@chrisgeo chrisgeo commented May 6, 2026

Summary

  • Adds --blkio-weight, --blkio-weight-device, --device-read-bps, --device-write-bps, --device-read-iops, and --device-write-iops resource flags.
  • Parses block I/O device specs into OCI LinuxBlockIO resources and propagates them through ContainerConfiguration into sandbox setup.
  • Points the containerization dependency at the CHAOS-1380 block I/O runtime branch.

Validation

  • CLANG_MODULE_CACHE_PATH=/tmp/container-clang-cache SWIFTPM_ENABLE_PLUGINS=0 swift test --filter ParserTest/testResourcesBlockIOFlags
  • CLANG_MODULE_CACHE_PATH=/tmp/container-clang-cache SWIFTPM_ENABLE_PLUGINS=0 swift test --filter 'ParserTest/testResources(BlockIOFlags|RejectsInvalidBlockIOWeight)'
  • CLANG_MODULE_CACHE_PATH=/tmp/container-clang-cache SWIFTPM_ENABLE_PLUGINS=0 swift build
  • git diff --check

Dependencies

Depends on apple/containerization#739

@linear
Copy link
Copy Markdown

linear Bot commented May 6, 2026

@chrisgeo chrisgeo changed the title [codex] Add blkio resource flags feat(api): Add blkio resource flags May 6, 2026
@chrisgeo chrisgeo force-pushed the feat/chaos-1380-blkio-flags branch from 873d613 to 7978fb9 Compare May 14, 2026 18:02
@chrisgeo chrisgeo marked this pull request as ready for review May 14, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant