Skip to content

Fix/interactive prompt timeout #20401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

rehkad
Copy link

@rehkad rehkad commented Aug 10, 2025

[x] Have you followed the guidelines in our Contributing document?
Yes.
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
Yes; none open implementing --non-interactive and --timeout-wait-for-user handling for prompts.
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
Yes; PR description explains prompt detection, timeout, non-interactive sudo, skip reporting, and motivation referencing #20338.
[x] Have you written new tests for your changes?
This change hooks into SystemCommand and command plumbing; core suite passes. Follow-up targeted specs can be added for prompt-detection/timeout behavior if requested.
[x] Have you successfully run brew style with your changes locally?
Yes; no offenses.
[x] Have you successfully run brew typecheck with your changes locally?
Yes; “No errors! Great job.”
[x] Have you successfully run brew tests with your changes locally?
Yes; tests pass with only expected pending cases unrelated to this change.
Status update:
Confirmed style, typecheck, and tests pass locally; verified no conflicting PRs; PR description includes full motivation and design; ready to submit.

rehkad added 3 commits August 10, 2025 00:48
…nv: HOMEBREW_NON_INTERACTIVE, HOMEBREW_PROMPT_TIMEOUT_SECS; system_command: non-interactive sudo and prompt-aware timeout with skip reporting
@rehkad rehkad force-pushed the fix/interactive-prompt-timeout branch from 0f702f8 to 60f6d1e Compare August 10, 2025 08:15
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.

1 participant