feat(admin): BU_NO_OPEN to suppress liveUrl auto-open - #542
Open
dylanpulver wants to merge 1 commit into
Open
Conversation
For unattended/audit runs, auto-opening the cloud browser's liveUrl in the local default browser is an unwanted popup that steals focus. BU_NO_OPEN skips the auto-open (URL is still printed). Enables fully off-machine, no-local-window browser automation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SY7iBojYKGTdNTS78GKZSZ
Kastan97
reviewed
Jul 28, 2026
Kastan97
left a comment
There was a problem hiding this comment.
Ollie (CTO) Review: APPROVED ✅
What this does: Adds BU_NO_OPEN env var to suppress browser auto-open of the liveUrl on bu run. Simple, well-scoped, tested.
Good to merge once CI passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
BU_NO_OPENenv var that stopsstart_remote_daemonfrom auto-opening the cloud browser'sliveUrlin the local default browser. The URL is still printed.Why
For unattended / headless-style automation (audit runs, batch panels, cron), auto-opening the liveUrl pops a local browser tab and steals window focus every time a cloud browser is provisioned. There's currently no way to opt out short of running on a machine with no GUI.
Concretely: driving many Perplexity/ChatGPT samples on cloud browsers from a macOS workstation, each
start_remote_daemonopened a tab and grabbed focus mid-run.BU_NO_OPEN=1makes the same flow fully background.Change
_show_live_urlskips thewebbrowser.openwhenBU_NO_OPENis set (still prints the URL, same as the no-GUI path). One-line guard, plus a unit test covering both branches.Existing behavior is unchanged when
BU_NO_OPENis unset.Summary by cubic
Add BU_NO_OPEN env var to suppress auto-opening the cloud browser liveUrl in the local default browser when running start_remote_daemon. The URL is still printed; default behavior remains when BU_NO_OPEN is unset, avoiding focus-stealing tabs in unattended runs.
Written for commit b731272. Summary will update on new commits.