Keep hosted Podman Feature tests rootless - #1280
Draft
Christof Marti (chrmarti) wants to merge 2 commits into
Draft
Keep hosted Podman Feature tests rootless#1280Christof Marti (chrmarti) wants to merge 2 commits into
Christof Marti (chrmarti) wants to merge 2 commits into
Conversation
Christof Marti (chrmarti)
force-pushed
the
copilot/fix-podman-runner-storage
branch
from
August 17, 2026 07:20
98e2814 to
07d0952
Compare
Christof Marti (chrmarti)
changed the base branch from
copilot/secure-oci-auth
to
main
August 17, 2026 07:20
There was a problem hiding this comment.
Pull request overview
This PR restores rootless Podman feature-test reliability on GitHub-hosted runners by overriding a runner-image Podman storage option (overlay.ignore_chown_errors) that breaks APT’s _apt user during feature builds.
Changes:
- Reset the rootless Podman system state on GitHub Actions to start from a clean store.
- Write a minimal user-level
storage.confto set the overlay driver and disableignore_chown_errors. - Assert the effective Podman storage option via
podman infobefore running the packaged CLI tests.
Show a summary per file
| File | Description |
|---|---|
src/test/cli.podman.test.ts |
Adds GitHub Actions–specific rootless Podman storage reset + minimal storage.conf override, with a verification assertion before running the Podman feature tests. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
Christof Marti (chrmarti)
force-pushed
the
copilot/fix-podman-runner-storage
branch
from
August 17, 2026 07:32
24af44e to
40f5914
Compare
Retain the Docker-in-Docker Feature workload while avoiding the hosted runner's rootless Podman 5.8 APT sandbox regression. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Christof Marti (chrmarti)
force-pushed
the
copilot/fix-podman-runner-storage
branch
from
August 17, 2026 08:27
24be598 to
e24d7ea
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keep the existing Podman Feature integration tests rootless on GitHub-hosted runners while working around an upstream layered-build regression.
Session Context
Key decisions from the development session:
mainand changes only the Podman integration test./tmpfrom1777to0755when committing a layeredRUN --mount; the next Feature's APT sandbox then cannot create/tmp/apt.conf.*. This is tracked by Permissions of /tmp are set to 755 after a bind mount is placed under /tmp under specific conditions podman-container-tools/buildah#6503 and fixed by the still-unmerged Preserve dir mode and ownership in RUN --mount podman-container-tools/buildah#6981.BUILDAH_LAYERS=falseonly for the CLI invocation. Local test behavior is unchanged. This avoids the upstream faulty layer-diff path without changing Feature workloads or production code.ignore_chown_errors=false, native overlay, and pre-creating mount parents do not prevent the corruption. VFS works but made one Feature build take 4m33s, exceeding the test timeout. Relocating mount targets or adding marker files changes generated image behavior and risks unrelated metadata effects.Changes
BUILDAH_LAYERS=falsefor CLI invocations on GitHub Actions.sudo podmanwrapper.Validation
/tmpchanges from1777to0755immediately after the layeredRUN --mountFeature step.1777and succeeds.BUILDAH_LAYERS=falsepreserves1777and the full Feature build succeeds in 30 seconds.git diff --checkpass.