Repository navigation
Keep USB overlays current and drop silent userns_mode - #844
Merged
calledtoconstruct merged 5 commits intoNov 21, 2026
Merged
calledtoconstruct merged 5 commits into
calledtoconstruct merged 5 commits into
Conversation
An unplugged stick was written into the overlay, and restart marked it applied without recreating the container. Updates left the old service name in compose.usb.yml. A retry after a failed dependency treated that app's port as taken and removed the record before the check failed. Overlapping store reads each started a clone. Podman ignores userns_mode, so the key is stripped with a warning instead of being asked for as a system permission. Co-Authored-By: Grok 4.7
Co-Authored-By: Grok 4.7
The scenarios wrote their script under /tmp/omarchy-w10-apps and imported apps.mjs from there. CI does not have that directory, so the three overlay tests failed before they ran. The script now lives in this checkout and imports the apps module from it. Co-Authored-By: Grok 4.7
Co-Authored-By: Grok 4.7
GitHub's runner refuses unshare, so the three overlay tests exited before they asserted anything. The server still uses access() to see a stick. The tests answer that question themselves. Co-Authored-By: Grok 4.7
This was referenced Nov 21, 2026
Collaborator
Author
|
Thank you @nixfred and @reeseroyster. Merged. An unplugged stick stays out of the overlay. Restart recreates the container so a newly attached stick is applied. An update rewrites the overlay for the current services. A failed install stays until the port checks succeed. Overlapping store reads share one download. userns_mode is left out of the file that runs. Test passed on 39c3b23. 🤖 Generated with Grok 4.7 |
Merged
1 of 2 tasks
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
compose.usb.ymlafter placing the app, and restores the previous overlay if a later step fails.userns_modeis stripped with a log line that names it. Podman ignores the key, so it is no longer asked for as a system permission.Thanks @nixfred and @reeseroyster.
Fixes #804
Fixes #688
Fixes #138
Fixes #679
Fixes #528
Fixes #134
Test plan
test/app-permissions.test.mjs,test/store-sync.test.mjs,test/usb.test.mjs, andtest/apps.test.mjs(59 passed)