Skip to content

feat: open browser after standalone Airflow starts#2031

Merged
schnie merged 1 commit intomainfrom
standalone-open-browser
Mar 5, 2026
Merged

feat: open browser after standalone Airflow starts#2031
schnie merged 1 commit intomainfrom
standalone-open-browser

Conversation

@schnie
Copy link
Member

@schnie schnie commented Mar 5, 2026

Summary

  • Standalone mode was missing the browser-open behavior that the Docker path already has
  • Opens the Airflow UI in the default browser after the health check passes, in both foreground and background start paths
  • Respects --no-browser flag and ASTRONOMER_NO_BROWSER env var, matching Docker behavior

Test plan

  • go build ./... passes
  • go test ./airflow/ passes (browser mocked in test suite to prevent windows opening)
  • Manual: astro dev start (standalone) opens browser
  • Manual: astro dev start --no-browser (standalone) does not open browser

🤖 Generated with Claude Code

The standalone mode was missing the browser-open behavior that the
Docker path already had. This adds it to both foreground and background
start paths, respecting --no-browser and ASTRONOMER_NO_BROWSER.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@schnie schnie requested a review from a team as a code owner March 5, 2026 22:23
@schnie schnie merged commit 1d24b7e into main Mar 5, 2026
2 of 5 checks passed
@schnie schnie deleted the standalone-open-browser branch March 5, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants