Repository navigation
Conversation
Commands under test call siblings by name, so on a machine whose installed Omarchy is older than the checkout they reached the installed copies, or none: ten test files failed with "omarchy-i18n: command not found" and similar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] This change appears safe to merge. SummaryAdds the checkout’s
Reviews (1) · Last reviewed commit: "Put the checkout's bin/ on PATH for shel..." · Reviewed by Greptile |
|
I read the diff, the shared shell-test helper and runners, and linked issue #17325. I classify this as a bug fix, but the configured classification model ( The source review was by GPT-6 in Codex (reasoning effort not exposed by the harness). No second model reviewed the change; a separate reviewer health check succeeded. |
|
I checked the shared helper, its callers and stub precedence, the test runners, and issue #17325. On a disposable Omarchy worker, the existing battery-status test fails on current The full Reviewed by GPT-6 in Codex (reasoning effort not exposed by the harness), Opus 5.5 High, and muse-wonder via pi, thinking high. Both second-opinion reviewers found no defect and agreed that the reproduction exercises the reported bug; independence is not guaranteed. Greptile reports 5/5 on this head with no findings. |
Fixes #17325
Problem
base-test.shsetsOMARCHY_PATHto the checkout ("commands under test belong to this checkout"), but never puts the checkout'sbin/onPATH. Tests run commands by full path ("$ROOT/bin/omarchy-battery-status"), but those commands call their siblings by name, and the siblings resolve from whateverPATHthe machine has. On a desktop session that is the installed release in/usr/share/omarchy/bin.When the installed Omarchy is older than the checkout, those calls either reach an older copy or find nothing. On a machine running Omarchy 4.0.6, ten test files fail on unmodified
quattro:These are
battery-status,brave-widevine,hermes-cli,keybindings-menu,menu-plugin,omarchy-kernel,screenrecording-wf-audio,sleep-lock,system-powerandupdate-restart-kernel. They pass only where the installed release happens to match the checkout.Change
base-test.shexportsPATH="$ROOT/bin:$PATH"next toOMARCHY_PATH. Tests that stub commands still prepend their stub directories, so stubs keep winning. Tests that build their ownPATHwithenv -iare unaffected.Testing
On Omarchy 4.0.6 with this checkout on
quattro:./test/allfails 12 shell test files.agent-account-exec-test.shfails because of the mise 2026.10.23 wrapper change that Run the agent CLI, not the mise wrapper, when newer mise keeps it on PATH #17301 addresses (I've left a note there about the part it still misses).shell-idle-spawn-test.shreads the live desktop and passes when run alone.update-lock-test.shfailed once in a loaded full run with every check printingok, and passes alone.🤖 Generated with Claude Code