Repository navigation
Fix recurring first-run update prompts on Mac - #432
Conversation
|
Independent review (AI-assisted, Claude). I looked into why Root cause of the CI failure Since #435 landed on if [[ -f default/systemd/user/omarchy-brightness-keyboard-auto.service ]]; then
install -Dm644 default/systemd/user/omarchy-brightness-keyboard-auto.service "$pkgdir/usr/lib/systemd/user/omarchy-brightness-keyboard-auto.service"
fi
Reproduced locally: applying the overlay to Suggested resolution The Migration Read through it and it holds up: only the original absolute package link is touched, custom links and regular files are preserved, persistent and runtime masks are respected, and the offline path (no user manager) only creates the link when nothing is there. One note: Local verification on
|
scottjones
left a comment
There was a problem hiding this comment.
Thanks, Naeem, for tracking down the recurring first-run prompts, addressing the packaging interaction, and adding regression coverage for the repair!
Reviewed 5549750da0e1f0506e4734303093bc678d933bed; no blocking findings. The current adaptation accepts the actual pinned recipes and overlay. The new migration preserves custom service entries and masks, leaves failures retryable, and reaches users whose original migration was already marked complete.
Focused first-run, keyboard brightness, migration, and packaging tests passed, along with metadata and syntax checks. I also verified missing-payload retry, restored-payload offline completion, and repeat-run behavior through the actual migration runner in a temporary environment. The full local suite passed CLI and 295/296 shell test files; the sole failure was the known unrelated low-disk condition in the unchanged update-lock test. Hosted CI is green, including ARM installation. Live desktop service behavior was not exercised locally.
First-run setup retries at every graphical login when
omarchy-settingsomitsomarchy-brightness-keyboard-auto.service, repeating the “Update System” notification even after an update.Include the missing vendor service through the Mac package-build adaptation. Add migration
1789205735.shto repair existing installs whose original migration completed with a dangling service link. Preserve custom wants entries and persistent/runtime masks, and keep actual service-operation failures retryable. New installs receive the service through the settings package and normal first-run enablement.Regression coverage checks package contents, migration behavior, and first-run completion across repeated logins. The timezone notification argv correction is already in the base branch; distributing the matching desktop/settings package pair delivers both repairs.
Validation at
bd1f2742b4dff9a14fe36d2d2243801b6622b158:4.0.2-2pair to a validation4.0.2-3pair passed in a disposable root, preserving user data and migration markers. That transaction excluded dependencies, install scriptlets, and desktop hooks../test/all: CLI passes; 269 of 271 shell test files pass. Failures remain innetwork-qr-test.shandsettings-package-units-test.sh; this is not a clean full-suite result. ShellCheck was unavailable.Native active-user-manager/ALS behavior, a live complete upgrade, physical fresh installation, and reboot remain unverified. These local package artifacts are validation builds, not a signed release.