Flight Log / microsoft/go-sqlcmd #582
Automatically suppress line prompts when stdin is redirected — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/go-sqlcmd on May 22, 2025; merged after rework in 6 d: +261 −60, 11 files, 11 reviews.
- Lines
- +261 −60
- Files
- 11
- Commits
- 5
- Reviews
- 11 (1 ✕)
- To merge
- 6 d
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a feature PR to suppress line prompts when stdin is redirected. The change touched 11 files, adding 261 lines and removing 60 across five commits. A reviewer asked for the title and description to be fixed, as a --disable-prompts flag was not added. The PR merged after rework, 144.21 hours after opening.
“@copilot per the update made here: https://github.com/microsoft/go-sqlcmd/pull/582#discussion_r2102597811 please fix the title and PR description (a --disable-prompts flag has note been added)”
— from the review (source)
From the pull request description
This PR addresses the issue where line prompts (like "1>", "2>", "3>") appear in the output when running sqlcmd as a subprocess from another program. The solution automatically detects when stdin is redirected (from pipes or files) and suppresses line prompts in those cases, while preserving intera…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- May 28, 2025changes requestedstuartpa↗
Read next
Cite this flight: AgentRiders Flight Log, microsoft/go-sqlcmd#582, record updated Nov 4, 2026, https://agentriders.com/logs/microsoft/go-sqlcmd/582/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.