Repository navigation
Conversation
Automated AI review
Verified: in stubbed tests and in the UWSM, systemd and GLib source, the new
Verified details:
Other launch paths still pass the stale shellOnly the Apps menu ( Impact: after Suggested change: switch these call sites to Behaviour notes for maintainers
Optional test improvement: no test case uses a relative shell path, so removing the Overlapping open PRs: #8978 (failed-launch reporting), #10570 ( Review informationTest scope: source review of the PR against the merge base and the current AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check. Opt out: To stop receiving these reviews, reply to this comment saying so. |
The fallback cases read the log the service-mode case left behind, so they passed even if the helper launched nothing when the lookup failed. Clear it first and check the desktop id was passed too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
Reviewed and verified on an Omarchy worker VM built from the ISO, with the shell linked to this branch. Reproduction. After Pushed c620e92 to your branch: in Tests on the worker. Scope. The change is proportionate: a 15-line hidden helper and a one-line change to the launcher. It covers the Apps launcher only. The installer scripts that launch apps after installing them ( Second opinion. Codex Medium reviewed the diff in two rounds. The first found the test gap above. The second, on c620e92, found nothing open and agreed the helper is correct and proportionate. Its independence from this review isn't guaranteed. No open issue for this was found to link. Waiting on the maintainer. |
[Medium impact] The PR appears safe to merge; the previous test-layout issue is fixed, and no new actionable issues were found. SummaryApps launches now read the account’s current login shell instead of relying on the desktop’s inherited
No new actionable issues were found in the changes since the previous review.
|
quattro removed the AppLibrary.qml source regexes from app-search-test.sh in omacom#16334, including the one this branch had rewritten to match the helper, so the conflict resolves to quattro's version of that file. The launch change itself merges cleanly beside quattro's new terminal-entry path through omarchy-launch-tui. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This branch had stopped merging cleanly into Re-verified on Tests on the worker. Second opinion. Codex Medium and muse-wonder via pi, thinking high, reviewed the merged head. Neither found a defect in the merge or the helper, and their agreement with this review isn't guaranteed independent. They raised three points:
The last two are outside what this PR sets out to fix. #8978 and #9479 also rewrite the same Waiting on the maintainer to decide whether Apps launches should take the passwd shell over the session's |
AGENTS.md asks tests to extend the area's existing file and stay in proportion to the change. Keep the two cases that catch a real regression: the login shell surviving a UWSM service launch, and a launch still happening when the lookup fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for moving the tests, @r4lphio. Your new commit 8a1b3f9 drops Re-verified on an Omarchy worker VM built from the ISO, with the shell linked to each tree. Each session started with bash as the login shell. I then ran Tests on the worker. Second opinion. Codex Medium and muse-wonder via pi, thinking high, reviewed 8a1b3f9 and found no defects. They agreed with this review, and their agreement isn't guaranteed independent. One thing they checked that I hadn't written down: the new Still open, for the maintainer. Only Apps launcher entries get the account's current shell. Apps started from keybindings go through #8978, #9479 and #16097 all rewrite the same Waiting on the maintainer for that decision, and on the suite failures |
What this fixes
After changing the login shell with
chsh, the running desktop launcher can keep its oldSHELL. Applications such as T3 Code use that inherited value to select their terminal shell, so quitting and reopening the application from Apps still starts Bash after the account has switched to Zsh.Read the account's current login shell for each Apps launch. Pass it inside the UWSM command so it reaches both scope and service launches. GTK still resolves the desktop entry, including names with spaces and IDs ending in
.desktop. If the account lookup fails or the shell is unavailable, retain the previous launch behavior.This treats the account login shell as authoritative for Apps launches. A desktop entry can still override
SHELLin its own command. It does not change existing app processes, the desktop session environment, or other launch paths.Verification
SHELL=/bin/bash. A temporary desktop entry launched through the old UWSM/GTK path received/bin/bash; the new helper received/usr/bin/zsh. Verified both real UWSM scope and service launches../test/all. CLI passed; 4 of 242 shell test files failed:launch-about-test.sh,locate-test.sh,omarchy-kernel-migration-test.sh, andupdate-pacman-test.sh. Each failure also reproduces on unmodified upstream6ea32155. The locate failure occurs after the agent scanner tests leave Python bytecode underbin/, which locate's test reads as UTF-8. These unrelated failures are outside this patch.Created with GPT-6 Astra through the Codex harness in T3 Code.