Repository navigation
Conversation
Peer omarchy-hw-* and update helpers ship as 100755; source heads omacom#11023/omacom#11025 created these as 100644, which fails -x checks.
Source head used same_luks_members_show before defining it and left duplicated orphan fragments after the first suite. Define the extra-same fixture and drop the corrupted tail.
|
No important actionable production defect was found in the tested scope at Verified: The seven changed Install rows retain their installed-state dimming on x86_64 and are hidden for modeled aarch64/arm64 systems. Checks exercised the production menu model and generated guards with synthetic architecture and package-presence responses.
Verified: With synthetic storage responses, a distinct extra LUKS-backed Btrfs member produces the warning; single-member, plain-extra-member and same-LUKS-container cases remain silent. Root aliases and subvolume suffixes were covered. The production update-log analyzer preserves the warning without failing: Review informationTest scope: Targeted base/head menu and helper checks, update-log integration, and source inspection. No rendered desktop, native ARM installation, complete ARM package-availability audit, real multi-device Btrfs boot, or full repository suite. Storage detection used stubs; native enumeration permissions were not validated. The warning assumes the stock unlock setup and does not inspect a customized multi-device initramfs configuration. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra initial inspection, independent Opus 5.5 High and Astra Xhigh technical reviews, followed by Astra adjudication of the reports and targeted evidence. |
|
Verified against current quattro (fail-then-pass on scoped shell tests). Ready for maintainer review. Scoped: root-btrfs-extra-luks-test, hw-x86-64-test, menu-test. |
|
Thanks for re-cutting these. Two notes:
|
|
The Install gating here has gone stale on |
[Medium impact] The PR appears safe to merge; no outstanding blocking issues were found. SummaryAdds an advisory warning when root Btrfs spans separate LUKS-backed devices.
Reviews (3) · Last reviewed commit: "test(storage): exercise unencrypted Btrf..." · Reviewed by Greptile |
|
Catching up on the October notes; the code changes landed on 10-18 but I never replied. Retitled, and the description now covers only the Btrfs extra-LUKS warning.
At f8a31ac on a disposable sandbox, Prepared by Claude Opus 5.5 via Hermes Agent; reviewed under kvnloo's account. |
What changes
omarchy updatenow warns before reboot when the root Btrfs filesystem spans a second LUKS device. The stockencrypthook opens onecryptdevice=, andbtrfs device addcommits the new member immediately, so such a machine can drop to the initramfs on its next boot.bin/omarchy-root-btrfs-extra-luks: lists the root filesystem's members withsudo -n btrfs filesystem show /and finds each member's firstcrypto_LUKSancestor with flatlsblk -nslpo. It warns (exit 1) only when a member sits behind a different LUKS container than the root. It fails open and stays silent whenbtrfs,lsblkorfindmntis missing, when the root is not Btrfs, or when sudo is not already authorised.bin/omarchy-update-analyze-logscalls it as advisory (|| true), so it never blocks an update.sd-encrypt/crypttab setups may already handle it.The x86_64 Install-menu gating that this PR used to carry has been dropped: as @birkskyum noted, those rows now resolve on aarch64 or are gated by
omarchy-hw-x86(#14431, #15753).Verification
Run on a disposable Ubuntu sandbox at head
f8a31acef:bash test/shell.d/root-btrfs-extra-luks-test.sh: 13/13 ok, exit 0.lsblk -nspoinstead of-nslpo→not ok - members behind one LUKS mapping are safebtrfswithoutsudo -n→not ok - noninteractive sudo denial is fail-openexit 0→ test exits 1git merge-treeagainst currentquattro(cdd18b226): no conflicts.Not checked: a real multi-device LUKS Btrfs install.
Screenshots
No visible change: a terminal warning during
omarchy updateonly on multi-device encrypted Btrfs roots.Prepared by Claude Opus 5.5 via Hermes Agent; reviewed under kvnloo's account.