Repository navigation
Warn when disk space is low before updating in Quattro - #6432
Merged
Merged
Conversation
ericvrp
marked this pull request as ready for review
July 29, 2026 19:52
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
nick1udwig
pushed a commit
to nick1udwig/omarchy
that referenced
this pull request
Sep 9, 2026
* Warn when disk space is low before updating * Simplify update free space warning * Stop updates without enough free space * Allow forcing updates with low disk space --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
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.
Summary
/once at update startup.OMARCHY_UPDATE_MINIMUM_FREE_DISK_SPACE_GB.-yis supplied.Motivation
This improves update stability by warning before an update starts when limited disk space could cause it to fail partway through. It is especially useful for older, limited-resource hardware and systems with smaller drives.
The check could be extended to run before each step of the update process. This initial pull request deliberately keeps the implementation basic by checking once at startup, while still preventing a common class of avoidable update failures.
Because the CLI, menu, menubar, and compatibility update entry points converge on
omarchy-update, the startup check covers each of them without changes elsewhere.Testing
bash -n bin/omarchy-updategit diff --check-y, and invalid override behavior with command stubs so no update ran../test/clicurrently stops on an unrelated existing missing metadata summary foromarchy-update-system-pkgs-when-conflicted.Attribution
This is the author's first Omarchy pull request. It was created in OpenCode using the GPT-5.6 Sol LLM.