Repository navigation
Conversation
|
Reviewed and verified by reproduction. Nothing found that needs changing. Reproduced on an Omarchy ISO worker, in a real foot terminal. I launched Tests on the worker:
Side effects checked by reading:
Related: #10361 also comes from the first-login OAuth flow, but it is a separate fix. It raises a browser that opens behind the float, while this PR detaches the browser from the terminal's process tree. The two don't compete. Second opinion: none. The configured reviewer (Codex Medium) is reachable, but |
quattro removed test/shell.d/floating-terminal-test.sh in omacom#16334, so the merge takes that deletion rather than reviving the file for this one-line export, and keeps the BROWSER default above quattro's new Done/Failed presentation script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This had stopped merging into The merge. Reproduced on an Omarchy ISO worker, in a real foot terminal, with
The bug is still live on Tests on the worker: Second opinion: Codex Medium and muse-wonder (pi, thinking high) both reviewed the merged diff and found no defect. Their agreement with my reading is not guaranteed to be independent. Both confirmed that every It is labelled |
[Low impact] This PR appears safe to merge. SummaryGives presentation terminals the same
Reviews (1) · Last reviewed commit: "Merge quattro into fix/issue-8961" · Reviewed by Greptile |
Fixes #8961
The presentation script runs as
bash -c, which is non-interactive and never sourcesdefault/bash/envs. The shell-scopedBROWSERdefault was therefore missing inside the floating terminal, so tools that open a URL from that process tree (an agent's OAuth flow) aborted instead of opening a browser.The launcher now exports the same
${BROWSER:-omarchy-launch-browser}default interactive shells get; any BROWSER the caller exported still wins.Tests:
bash test/shell.d/floating-terminal-test.shbash test/shell.d/browser-env-test.shbash -n bin/omarchy-launch-floating-terminal-with-presentation test/shell.d/floating-terminal-test.shgit diff --check