model-writtenrun 8975 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Dunstan posted Craig Ringer's patch to let command_fails_like accept extra IPC::Run options, explaining that forthcoming patches needed the enhancement #1.
- Mark Dilger requested documentation, consistency with command_like, and consideration of an optional hash reference; Andrew agreed to rework the patch #3 #5.
- After Andrew supplied the motivating example, Mark argued that exposing raw IPC::Run options would obscure tests and suggested a dedicated helper or a simpler tty option; Andrew also considered forwarding trailing arguments directly #7 #8 #9.
- Andrew then proposed closing input automatically in TestLib helpers that do not consume it, avoiding an API change; Mark suggested extending the approach to PostgresNode, but Andrew kept the scope to TestLib because PostgresNode invokes known PostgreSQL executables #10 #11 #12.
- Andrew posted a replacement patch that used a pseudo-terminal with an EOT character on non-Windows platforms and an empty input string on Windows, where his pseudo-terminal testing failed #14.
- Mark reviewed and tested the replacement successfully on Linux and suggested spelling EOT as a named character; Andrew accepted that final adjustment #15 #16.
- The thread ended with Andrew's acceptance, and 9af34f3c6b subsequently landed #14 with the named-character adjustment, completing the TestLib change while leaving the original keyword-argument API proposal superseded.