Repository navigation
Conversation
[Medium impact] The changes appear safe to merge. SummaryThe browser launcher keeps the caller’s directory and falls back to home when that directory has been deleted.
No actionable new issues found. Tests were not run during this review. Reviews (3) · Last reviewed commit: "Keep browser fallback working from a del..." · Reviewed by Greptile |
af61b73 to
7f0f296
Compare
systemd-run --same-dir cannot resolve a directory that has been removed, so return to home before launching from that state. Keep directory propagation for ordinary launches. Replace the test that reimplemented systemd directory handling with a regression that checks the launcher itself changes to home when its working directory is gone; the real systemd and uwsm path was exercised on a disposable worker. Co-Authored-By: GPT-6 (Codex) <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com> Co-Authored-By: muse-wonder via pi, thinking high <noreply@omarchy.org>
|
Reproduced #19004 on an ISO worker through the real systemd user manager, uwsm-app and interactive Chromium. The base and reverted fix opened Pushed Reviewed by GPT-6 in Codex (reasoning effort not exposed), Opus 5.5 High and muse-wonder via pi, thinking high. The panel raised the deleted-directory regression and test issue; its final review found no blocking findings. Reviewer independence is not guaranteed. Waiting on maintainer approval and successful runs of Tests and Check translation structure; both currently report |


What changes
omarchy-launch-browser page.htmlcan open a website instead of the local file when browser handoff declines. The fallback systemd user service starts in home, so a file relative to the caller's directory is no longer found.Pass
--same-dirto systemd-run. The caller's directory survives uwsm-app too, so the browser can open the file without rewriting its arguments.Fixes #19004.
Verification
page #1.html. The base starts in home and cannot read it; this branch starts in the caller's directory and reads the HTML.<h1>relative file reached</h1>when launched through the fixed chain withpage.html.test/shell.d/launch-browser-test.shfails on the base and passes with the fix. The whole file andtest/shell.d/browser-link-handoff-test.shpass, including xdg-open and portal routing.4bf10ed28,./test/allcompleted successfully: the CLI suite passed and all 427 shell test files completed without failures; 40 files had skipped checks. This was a headless run with the inherited GTK platform theme removed. Desktop-dependent and unavailable-environment checks were skipped, not verified. Upstream CI still needs approval to run this fork's workflows.Resume verification on 2026-11-16 at unchanged head
7f0f296a2caafb08abe1b6779e5a4489b1799213:TMPDIR:launch-browser-test.shandbrowser-link-handoff-test.sh. The initial runs with/tmpfailed later checks, with an explicitDisk quota exceedederror in the handoff run. Those initial failures are recorded here; changing the temporary-file location resolved them without source changes.page.htmlunchanged, and it exited 0 after rendering<h1>relative script reached</h1>from the page's relativemarker.jsfile. No user browser profile or settings were changed.git diff --checkpass. No further source changes were needed.43794897024and Check translation structure run43794897032both remainaction_required, awaiting maintainer approval. Greptile Review succeeded. These blocked workflows have not passed, and no maintainer review is present.Before and after from the real launch chain:
Not tested: interactive browser windows, Brave Origin or Firefox. Chromium was checked headlessly; no user browser settings changed.
Screenshots
No visible change to the browser UI: launch directory handling. Terminal evidence is above.
Reviewed with sol-loop: 1 round with gpt-6.1-sol on high reasoning effort. Sol verdict: approved.
Created with GPT-6.1 Sol in Codex through T3 Code.