Repository navigation
Speed up system and user setup during installation - #19913
Merged
Merged
Conversation
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryThis PR reduces repeated work during system and user setup.
No actionable issues were found. This review used source inspection; no runtime tests were run. Reviews (1) · Last reviewed commit: "Speed up user finalization with xdg-mime..." · Reviewed by Greptile |
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.
Speeds up
omarchy-apply-systemandomarchy-provision-userbased on profiling a fresh encrypted install log:qs ipcwithout a Wayland display (bin/omarchy-shell): fail immediately whenWAYLAND_DISPLAYis empty after display recovery instead of loading Qt6/Quickshell during chroot install (~150 ms saved inconfig/lockscreen-pam.sh).bin/omarchy-hw-aarch64-*): return early whenuname -m != aarch64instead of spawningomarchy-hw-platform~35+ times on x86_64 (~150–200 ms saved).bin/omarchy-hw-pci): replaces ~12lspcicalls acrossbin/omarchy-hw-*andinstall/hardware/(plus a sysfs check fornouveauinfix-nouveau-cursor.sh), avoiding PCI config-space wakeups (~80–100 ms in a VM, up to ~2.4 s on laptops with runtime-suspended devices).install/config/firewall.sh): guards the staticufw+ufw-dockerrule writes behind a versioned stamp (/var/lib/omarchy/firewall-rules-version) and addsOMARCHY_FIREWALL_RULES_ONLY=1for root-image builds soENABLED=nostays untouched until install (~640 ms saved when paired with theomarchy-isopre-bake).bin/omarchy-provision-user,bin/omarchy-agent-skills-link): sets the default browser in onexdg-mime defaultcall instead ofxdg-settings set default-web-browser(~190 ms saved) and batchesln -sfn -tper harness directory.Reviewed by Claude.