chat: avoid redundant environment tool confirmation - #26072
chat: avoid redundant environment tool confirmation#26072Eleanor Boyd (eleanorjboyd) wants to merge 3 commits into
Conversation
The environment picker already requires an explicit user choice, so an additional tool confirmation blocks Allow All sessions unnecessarily. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🔒 Automated review in progress — Bill Schnurr (@bschnurr) is auto-reviewing this PR. |
|
Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified. Result: Summary: The PR adds focused coverage for removing preparation confirmation while retaining the explicit environment picker. No tests could execute because the verification container image was unavailable. The regression test therefore remains unverified. Test runs: 1 not run
|
Bill Schnurr (bschnurr)
left a comment
There was a problem hiding this comment.
Approved via Review Center.
|
Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified. Result: Summary: The PR adds one regression test covering removal of the preparation confirmation. No tests could run because the verification container image for `microsoft/vscode-python` was unavailable and local execution was unauthorized. The change therefore could not be meaningfully verified. Test runs: 1 not run
|
Summary
Why
The contributed
configurePythonEnvironmenttool always returnedconfirmationMessages, which caused Copilot CLI sessions to stop for approval even when Allow all was enabled. The environment picker already requires the user to explicitly choose an environment action, so the preceding confirmation was redundant.