Skip to content

Conversation

@robtaylor
Copy link
Contributor

After a successful silicon submission, the user is now prompted to open
the build URL in their browser. This applies whether using --wait or not.
The prompt only appears in interactive terminals (when stdout.isatty()
returns true).

Changes:

  • Import webbrowser module in silicon_step.py
  • Add user prompt after successful submission asking if they want to
    open the build URL
  • Handle both 'y' and 'yes' responses
  • Gracefully handle KeyboardInterrupt and EOFError during prompt
  • Skip prompt in non-interactive terminals (CI, scripts, etc.)

Tests:

  • Add comprehensive test suite for browser prompt functionality
  • Test 'yes' response opens browser
  • Test 'no' response doesn't open browser
  • Test non-TTY environments skip the prompt

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

After a successful silicon submission, the user is now prompted to open
the build URL in their browser. This applies whether using --wait or not.
The prompt only appears in interactive terminals (when stdout.isatty()
returns true).

Changes:
- Import webbrowser module in silicon_step.py
- Add user prompt after successful submission asking if they want to
  open the build URL
- Handle both 'y' and 'yes' responses
- Gracefully handle KeyboardInterrupt and EOFError during prompt
- Skip prompt in non-interactive terminals (CI, scripts, etc.)

Tests:
- Add comprehensive test suite for browser prompt functionality
- Test 'yes' response opens browser
- Test 'no' response doesn't open browser
- Test non-TTY environments skip the prompt

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-11-14 18:01 UTC

@github-actions
Copy link

Tests Skipped Failures Errors Time
68 4 💤 0 ❌ 0 🔥 31.180s ⏱️

@robtaylor robtaylor merged commit aaa99cd into main Nov 14, 2025
9 of 11 checks passed
@robtaylor robtaylor deleted the ask-open-build branch November 14, 2025 18:00
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