Repository navigation
Hide the platform detector without hiding /usr/bin in the snapshot check test - #9
Merged
Merged
Conversation
…eck test To test a root without omarchy-hw-platform, the harness dropped every PATH directory holding one. On a Mac with Omarchy installed that is /usr/bin, so the hook could not even find bash and every no-detector case failed with status 127. CI's container has no Omarchy installed, which hid it. Such a directory now gives way to a mirror of everything else in it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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
The snapshot check test hid the platform detector by dropping every
PATHdirectory that held one. On a Mac with Omarchy installed that's/usr/bin, so the hook couldn't even findbashand every no-detector case failed with status 127. CI's container has no Omarchy installed, so it never noticed. Such a directory is now replaced by a mirror of everything in it except the detector.Evidence
not ok - a restore from the running system of a root without the platform detector is refused with a status that stops limine-snapper-sync (status 127)snapshot-check-test.shpasses on this Mac as is, with the runtime'sbin/first onPATH, and with no Omarchy onPATH(CI's layout);omarchy-mac-boot/test/allpasses (221 ok).Merge Danger
Door: two-way
Blast Radius: test-only
🤖 Generated with Claude Code