Repository navigation
ci: Allow user namespaces so real-sandbox tests run on Ubuntu - #69
Merged
Pavel Zwerschke (pavelzw) merged 1 commit intoNov 2, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 50 50
Lines 3148 3148
=========================================
Hits 3148 3148 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Yannik Tausch (ytausch)
marked this pull request as ready for review
November 2, 2026 15:12
Yannik Tausch (ytausch)
requested a review
from Pavel Zwerschke (pavelzw)
as a code owner
November 2, 2026 15:12
Pavel Zwerschke (pavelzw)
approved these changes
Nov 2, 2026
Pavel Zwerschke (pavelzw)
deleted the
ci-enable-userns-for-sandbox-tests
branch
November 2, 2026 15:18
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.
Motivation
tests/test_pixi_update_isolation.pyruns the realrattler-sandbox, but skips itself when the sandbox cannot start. On GitHub-hosted Ubuntu runners, AppArmor blocks unprivileged user namespaces, so this test has been silently skipped on Linux (both onubuntu-24.04andubuntu-26.04) and the Linux sandbox was never exercised in CI.Changes
kernel.apparmor_restrict_unprivileged_userns=0on Linux runners before running pytest, as already documented indocs/contents/built-in-updaters/pixi.mdand done inexamples/plugin/.github/workflows/updater.yml.