Skip to content

fix(sandbox): say that the Podman driver ignores a RuntimeClass - #157

Open
Gkrumbach07 wants to merge 1 commit into
ai-openshell:mainfrom
Gkrumbach07:fix/podman-runtimeclass-wording
Open

Gkrumbach07 wants to merge 1 commit into
ai-openshell:mainfrom
Gkrumbach07:fix/podman-runtimeclass-wording

Conversation

@Gkrumbach07

Copy link
Copy Markdown
Contributor

The Create sandbox form's RuntimeClass help, and the comments on CreateSandboxRequest and its TypeScript type, said only that the Docker and VM compute drivers refuse a sandbox that names a RuntimeClass. The Podman driver behaves differently: it accepts the field and ignores it.

Measured on 2026-12-03: gateway 0.1.9 with compute_driver = "podman" (rootless Podman 5.8.7 on Fedora 44) and console 0.1.5. A sandbox created with runtimeClassName: "kata" reached READY as a plain container, and crates/openshell-driver-podman at v0.1.9 never reads the field. Someone who asks for kata on a Podman gateway gets no isolation change and no error, so the form now says so.

Text only: helper text in CreateSandboxModal.tsx, comments in backend/pkg/models/builders.go and frontend/src/types/index.ts.

Checks run: prettier, eslint, tsc --noEmit, the component tests (813 passed), go build ./... and go test ./pkg/models/.

🤖 Generated with Claude Code

@Gkrumbach07
Gkrumbach07 requested a review from a team as a code owner December 3, 2026 23:37
The Create sandbox form and the code comments said only that the Docker
and VM compute drivers refuse a sandbox that names a RuntimeClass. The
Podman driver accepts one and ignores it: on gateway 0.1.9 with the
Podman driver, a sandbox created with runtimeClassName "kata" reached
READY as a plain container, and the driver's source never reads the
field. Say so in the helper text and in the two comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Gage Krumbach <gkrumbac@redhat.com>
@Gkrumbach07
Gkrumbach07 force-pushed the fix/podman-runtimeclass-wording branch from 0f9988d to a18067b Compare December 4, 2026 16:18

This branch has not been deployed

No deployments
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