Skip to content

feat(runtime): add the AppleContainerCLI backend and its SelectBackend case (RIG-3354) - #1070

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-native/rig-3354-apple-container-backend
Open

feat(runtime): add the AppleContainerCLI backend and its SelectBackend case (RIG-3354)#1070
rigel-mintaka wants to merge 1 commit into
mainfrom
compass-native/rig-3354-apple-container-backend

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Implements T-2 of the frozen apple-container-macos-runner record: a
WorkloadRuntime over Apple's container CLI for macOS, with argv assembly
split from spawning so every builder unit-tests without a binary.

Emits no userns remap flag: virtiofs translates identity at the boundary, so
podman's --userns=keep-id has no analogue and needs none (T-1 spike OQ-1).
Mounts carry no :Z relabel, which a CLI without SELinux would read as part of
the container path. Exists classifies on the measured contract — exit 1 plus a
"not found" stderr is absence, any other non-zero is an error — so a generic
failure is never reported as a missing container.

Co-authored-by: Matt Wilkinson matt@rigel.build

…d case (RIG-3354)

Implements T-2 of the frozen apple-container-macos-runner record: a
WorkloadRuntime over Apple's `container` CLI for macOS, with argv assembly
split from spawning so every builder unit-tests without a binary.

Emits no userns remap flag: virtiofs translates identity at the boundary, so
podman's --userns=keep-id has no analogue and needs none (T-1 spike OQ-1).
Mounts carry no :Z relabel, which a CLI without SELinux would read as part of
the container path. Exists classifies on the measured contract — exit 1 plus a
"not found" stderr is absence, any other non-zero is an error — so a generic
failure is never reported as a missing container.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

RIG-3354

@trunk-io

trunk-io Bot commented Sep 11, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review September 11, 2026 03:53
@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-native-rig-3354-appl.compass-eng-docs.pages.dev

Deployed from compass-native/rig-3354-apple-container-backend at f45bccf.

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