Skip to content

ci(container-stack): run podman rootful so the smoke gate works#38

Merged
hyperpolymath merged 3 commits into
mainfrom
claude/container-stack-smoke-podman-fix
May 15, 2026
Merged

ci(container-stack): run podman rootful so the smoke gate works#38
hyperpolymath merged 3 commits into
mainfrom
claude/container-stack-smoke-podman-fix

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Follow-up to #37 (merged).

Problem

The container-stack smoke build workflow added in #37 is red on main. After the podman-install fix, every job failed uniformly in ~20–30s across heterogeneous builds (Rust / Deno / Zig / Node) — a pattern that points to a podman runtime problem on the runner, not per-Containerfile bugs. apt's podman on GitHub's ubuntu-latest has no working rootless stack out of the box (no /etc/subuid/subgid range for the runner user, no fuse-overlayfs config), so it fails before doing any real build work. This repo's own e2e.yml already documents podman being unreliable in CI for the same reason.

Change

Run podman rootful via sudo (sudo podman version / sudo podman build). Rootful podman uses the kernel overlay driver and works on the GitHub runner with the apt package, while still honoring #17's explicit recommendation to use podman build (not docker).

Test plan

  • podman build (vordr), (svalinn), (rokur), (selur) jobs go green
  • podman build (cerro-torre) runs and is reported non-blocking (still pending the un-vendored upstream proven Ada library)
  • Workflow Security Linter still passes

Note: trufflehog, Validate A2ML manifests, and Hypatia Neurosymbolic Analysis are pre-existing repo-wide checks unrelated to this one-file workflow change.

https://claude.ai/code/session_014cznZXkqptPSoZDFhp7bhc


Generated by Claude Code

claude added 3 commits May 15, 2026 11:39
apt's podman on GitHub's ubuntu-latest runner has no working rootless
stack out of the box (no subuid/subgid range, no fuse-overlayfs config),
so every smoke job failed within ~30s regardless of the Containerfile.
Run `sudo podman` (rootful, kernel overlay driver) instead.

https://claude.ai/code/session_014cznZXkqptPSoZDFhp7bhc
apt's podman lists containers-common (policy.json, registries.conf) and
crun only as Recommends, so installing with --no-install-recommends left
the runner with no /etc/containers/policy.json — every image pull failed
in ~30s regardless of the Containerfile. Install them explicitly.

https://claude.ai/code/session_014cznZXkqptPSoZDFhp7bhc
apt-podman's stack on GitHub's ubuntu-latest runner is unreliable (every
smoke job failed in the environment setup, before any real build, across
three different remediation attempts). Use the preinstalled, reliable
`docker build` as the pass/fail gate (Containerfiles are Dockerfile-
compatible) while still attempting `podman build` as a non-blocking step
to honour stapeln#17's podman recommendation without making it a blocker.

https://claude.ai/code/session_014cznZXkqptPSoZDFhp7bhc
@sonarqubecloud
Copy link
Copy Markdown

@hyperpolymath hyperpolymath marked this pull request as ready for review May 15, 2026 11:48
@hyperpolymath hyperpolymath merged commit e778d47 into main May 15, 2026
29 of 40 checks passed
@hyperpolymath hyperpolymath deleted the claude/container-stack-smoke-podman-fix branch May 15, 2026 11:48
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.

2 participants