Skip to content

Fix omarchy-iso-test staleness against 4.0.2-rc and add VNC visibility - #139

Merged
ryanrhughes merged 4 commits into
quattrofrom
fix/iso-test-ocr-bindings-vnc
Aug 30, 2026
Merged

ryanrhughes merged 4 commits into
quattrofrom
fix/iso-test-ocr-bindings-vnc

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

Running omarchy-iso-test against omarchy-4.0.2-rc.iso failed in two harness-stale spots (nothing in the ISO itself misbehaved). Three atomic fixes, validated with a full clean install plus a green 136-assertion acceptance rerun against the RC:

  • Stop OCR-waiting on the unencrypted install confirm. Tesseract cannot read the highlighted "Yes, install without encryption" button under any preprocessing (negate/threshold/green-channel/psm variants), so every unencrypted install timed out at the disk warning. Capture and continue instead; a Ctrl+C toggle that failed to apply still fails the run later, when the unexpectedly encrypted install stalls at the LUKS prompt and SSH never comes up.
  • Match the shortcut smoke to the menu-first bindings. Super+Space now opens the Omarchy menu and Super+Alt+Space the apps menu; the omarchy.launcher plugin no longer exists. Both surfaces verified in a live guest to open under the omarchy-menu layer namespace.
  • Serve a localhost VNC display from test VMs. Runs stay headless, but vncviewer 127.0.0.1:5905 lets you watch the driven install live or poke at the acceptance VM left up by --keep-running.

Tesseract cannot read the highlighted "Yes, install without encryption"
button under any preprocessing, so waiting for that text always timed out
and killed unencrypted installs at the disk warning. Capture the screen and
continue instead; a Ctrl+C toggle that failed to apply still surfaces when
the unexpectedly encrypted install stalls at the LUKS prompt on first boot.
Omarchy now binds Super+Space to the Omarchy menu and Super+Alt+Space to
the apps menu, and the omarchy.launcher plugin is gone (the apps menu
replaced it). The smoke table still expected the old launcher binding, so
both chords failed against current builds. Both surfaces open under the
omarchy-menu layer namespace.
Runs stay headless, but a viewer on 127.0.0.1:5905 can watch the driven
install live or inspect the acceptance VM left up by --keep-running.
@ryanrhughes

Copy link
Copy Markdown
Collaborator Author

Added a commit: --sync-omarchy now pushes all of test/ (shell.d security coverage included), the acceptance run passes OMARCHY_ACCEPTANCE_SUDO_PASSWORD so the new opt-in sshd hardening test (omacom/omarchy#9240) runs in the throwaway VM, and --sync-all restarts the shell from the synced tree before testing — qs matches instances by config path, so the old sync-all mode could never reach the session shell at all — then also runs the CLI and shell suites inside the guest.

--sync-omarchy now pushes all of test/ (the security coverage lives in
shell.d as well as acceptance.d), and the acceptance run gets
OMARCHY_ACCEPTANCE_SUDO_PASSWORD so the suite's opt-in sshd hardening
exercise can run against the throwaway VM.

--sync-all additionally runs the CLI and shell suites inside the guest
from the synced tree. The acceptance suite always runs against
/usr/share/omarchy either way: VM runs verify the finished product, and
qs matches shell instances by config path, so pointing the suite at the
synced tree just reads the session shell as "not running".
@ryanrhughes
ryanrhughes force-pushed the fix/iso-test-ocr-bindings-vnc branch from 3685b93 to 37fd3c4 Compare August 30, 2026 20:45
@ryanrhughes

Copy link
Copy Markdown
Collaborator Author

Reworked per feedback: the guest's installed tree is always the path under test. Dropped the shell-restart-from-synced-tree behavior from --sync-all — VM runs verify the finished product, never a dev-mode tree. --sync-all still syncs the full checkout, but only so the CLI and shell suites (which derive their root from their own location) can run in the guest; the acceptance suite runs against /usr/share/omarchy in every mode.

@ryanrhughes
ryanrhughes merged commit 9900e63 into quattro Aug 30, 2026
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.

1 participant