Skip to content

Support non-interactive updates with --yes - #9511

Open
zerone0x wants to merge 2 commits into
omacom:quattrofrom
zerone0x:fix/issue-9501-noninteractive-update
Open

Support non-interactive updates with --yes#9511
zerone0x wants to merge 2 commits into
omacom:quattrofrom
zerone0x:fix/issue-9501-noninteractive-update

Conversation

@zerone0x

@zerone0x zerone0x commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Fixes #9501

  • add omarchy update --yes as the long form of the existing unattended -y mode
  • replace the confirmation TUI with a plain-text summary while retaining the complete update pipeline
  • prevent orphan cleanup, reboot checks, and interactive migrations from prompting inside the transcript pseudo-terminal
  • document unattended updates and their sudo requirements

Test plan

  • bash test/shell.d/update-sequence-test.sh
  • bash test/shell.d/update-disk-space-test.sh
  • bash test/shell.d/update-orphan-test.sh
  • bash test/shell.d/update-restart-test.sh
  • bash test/shell.d/copy-url-shortcut-migration-test.sh
  • ./test/cli (passes through command metadata and routing checks; host lacks the later python dependency)
  • ./test/shell (all changed update/migration tests pass; aggregate has 22 unrelated host dependency/checkout failures, including missing Lua, gio, and omarchy-pkgs)
  • git diff --check

zerone0x and others added 2 commits August 31, 2026 23:59
Fixes omacom#9501

Co-Authored-By: Claude <noreply@anthropic.com>
Use non-interactive sudo for sleep inhibition during unattended updates and cover the script(1) pseudo-terminal path without cached credentials.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support non-interactive updates: omarchy update --yes flag

1 participant