Repository navigation
fix(migrate): treat exit 75 as waiting, not failed - #29
Merged
Merged
Conversation
Since omacom/omarchy#19754 a migration exits 75 to stay pending until a package lands or a session exists. omarchy-mu-migrate counted it as a failure, so non-admins were told a migration failed at every login. It now keeps the migration pending, holds back the rest as upstream does, logs it as deferred and exits 4. Also classify 1795613633 (Dell XPS 16 N1x speaker tuning) as mixed: the tuning lives in each user's ~/.config/pipewire. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Why
Since omacom/omarchy#19754, a migration exits 75 (EX_TEMPFAIL) to stay pending until a package lands or a graphical/audio session exists;
omarchy-migratekeeps it pending and the update goes on.omarchy-mu-migratecounted 75 as a failure, so users outsidewheelgot "A migration failed for your account" at every login. Five migrations added upstream on 2026-11-25 use it (1795441383, 1795600968, 1795602376, 1795604021, 1795613633).What
omarchy-mu-migrate: exit 75 from auserormixedmigration leaves it pending, holds back the ones after it (as upstream), logsdeferred, and exits 4. The migrations notice stays.omarchy-mu-update: says the migration will run again later on exit 4.share/migrations-overrides.tsv: 1795613633 (Dell XPS 16 N1x speaker tuning) ismixed, notsystem. It installs a package, then writes the tuning to the user's own~/.config/pipewireand user units. Assystemit was only marked done for non-admins.The other new upstream migrations were checked against the classifier and are classified correctly.
Tests
tests/sh/migrate.test.sh: three new cases (user deferral then completion, mixed deferral after the admin's run then completion, the shipped override). 14 pass, 0 fail.shellcheck -xclean on the changed files.tests/shfails the same 10 files onmainand on this branch, run on NixOS in a bwrap with/bin/bash, so that comes from the environment.🤖 Generated with Claude Code