Repository navigation
Restart a stale shell before running migrations - #17524
Merged
Merged
Conversation
The shell hot-reloads while an update is still replacing its files and can settle on a mix of old and new code. A migration that calls an IPC function added since then gets "Function not found." and stops every migration queued behind it, on every retry, until the shell is restarted by hand. Restart it first whenever migrations are pending. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
[Medium impact] The PR appears safe to merge; no outstanding findings remain. SummaryRestarts the shell before migrations when work is pending, after system packages finish upgrading.
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
cursor Bot
pushed a commit
to mark-groves/omarchy
that referenced
this pull request
Nov 4, 2026
* Restart a stale shell before running migrations The shell hot-reloads while an update is still replacing its files and can settle on a mix of old and new code. A migration that calls an IPC function added since then gets "Function not found." and stops every migration queued behind it, on every retry, until the shell is restarted by hand. Restart it first whenever migrations are pending. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Slim down the shell restart comment Co-Authored-By: Claude Opus 5.5 <[email protected]> * Check the pending migration check runs before the shell restart Co-Authored-By: Claude Opus 5.5 <[email protected]> * Leave the restart-shell stub to the shared sudo boundary fixture Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Mark Groves <[email protected]>
cursor Bot
pushed a commit
to mark-groves/omarchy
that referenced
this pull request
Nov 5, 2026
* Restart a stale shell before running migrations The shell hot-reloads while an update is still replacing its files and can settle on a mix of old and new code. A migration that calls an IPC function added since then gets "Function not found." and stops every migration queued behind it, on every retry, until the shell is restarted by hand. Restart it first whenever migrations are pending. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Slim down the shell restart comment Co-Authored-By: Claude Opus 5.5 <[email protected]> * Check the pending migration check runs before the shell restart Co-Authored-By: Claude Opus 5.5 <[email protected]> * Leave the restart-shell stub to the shared sudo boundary fixture Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Mark Groves <[email protected]>
omarchybot
added a commit
to Elshayib/omarchy
that referenced
this pull request
Nov 16, 2026
quattro moved the omarchy-restart-shell stub into the shared sudo boundary fixture (omacom#17524), which conflicted with the systemctl stub this branch adds to update-restart-phases-test.sh. Keep quattro's list and add systemctl to it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 16, 2026
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.
The shell hot-reloads while an update is still replacing its files, and can settle on a mix of old and new code. A migration that calls an IPC function added since the shell last loaded cleanly gets
Function not found.and stops every migration queued behind it, on every retry, until the shell is restarted by hand.omarchy-updatenow restarts the shell right beforeomarchy-migratewhenever migrations are pending, so they talk to current code. An update with nothing to migrate leaves the shell alone until its usual restart at the end.bin/omarchy-update: restart the shell whenomarchy-migrate --pendingsays there is work.docs/update-process.md: the new step in the update sequence.omarchy-restart-shell, andupdate-sequence-test.shchecks that it runs between the pending check and the migrations and is skipped when the package upgrade fails.🤖 Generated with Claude Code