Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.101.1, Commit 18e3a1e
- OS Version: macOS Sequoia 15.5
Today if a user uses any GitHub Copilot extension and invokes a confirmation, it returns an error that it cannot be unmarshaled.
Request Failed: 400 json: cannot unmarshal number into Go struct field Message.messages.copilot_confirmations of type []*agentprompt.ClientConfirmation
It looks like VS Code is sending "copilot_confirmations":1
as the confirmation.
The expected body would be
copilot_confirmations:[
{
state: "accepted/dismissed"
}
]
Steps to Reproduce:
- Open a new Copilot chat in VS Code and enter
@blackbeard-agent confirmations
- This is a test extension to explicitly invoke a a confirmation
- Click accept or dismiss
From my testing, I seecopilot_confirmations
sending a 1 for both a confirmation and dismissal.
This has been happening for at least a month, and was first reported in this issue #250344