Skip to content

Conversation

@janedbal
Copy link
Contributor

@janedbal janedbal commented Jul 10, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues None
License MIT

About:

  • Adds timeout functionality to console questions, allowing developers to set a maximum time limit for user input.
  • Our usecase is that some developers added interactive questions inside opened db transactions. Without timeout, it can lead to hours long trx if somebody forgets to repond and keeps the terminal open.
  • The feature is backward compatible - existing code continues to work without timeouts unless explicitly set.

@janedbal janedbal requested a review from chalasr as a code owner July 10, 2025 11:16
@carsonbot carsonbot added this to the 7.4 milestone Jul 10, 2025
@carsonbot carsonbot changed the title QuestionHelper: add optional timeout for human interaction [Console] QuestionHelper: add optional timeout for human interaction Jul 10, 2025
@OskarStark OskarStark changed the title [Console] QuestionHelper: add optional timeout for human interaction [Console][QuestionHelper] add optional timeout for human interaction Jul 10, 2025
@janedbal
Copy link
Contributor Author

Any chance this get approved/merged soon? I believe those CI failures are not relevant. Thanks

@fabpot
Copy link
Member

fabpot commented Sep 12, 2025

Thank you @janedbal.

@fabpot fabpot merged commit 4808873 into symfony:7.4 Sep 12, 2025
6 of 11 checks passed
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants