Skip to content

Can't open codeblock pill diff #249829

Open
Open
@roblourens

Description

@roblourens

Have a bunch of edits, click around a lot, when I try to open a diff that I previously opened, I got this

Dunno if it's enough info to understand the issue, lmk where I should set a breakpoint next time if so

Image
2025-05-26 10:39:08.586 [error] [Window] Error: Unable to resolve text model content for resource chat-editing-snapshot-text-model:/Users/roblou/code/vscode-copilot/src/extension/tools/node/createFileTool.tsx?%7B%22sessionId%22%3A%226a5f2da6-87bf-46b4-b4a3-1cac818413d9%22%2C%22requestId%22%3A%22request_96bfbee3-3cb1-45f2-808e-32529e7de56f%22%2C%22undoStop%22%3A%22d19944f6-f46c-4e17-911b-79a8e843c7c0%22%7D
    at RYe.u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1832:22407)
    at async RYe.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1832:21437)
    at async kkt.acquire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:27:3125)
    at async AYe.createModelReference (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1832:22903)
    at async tP.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:677:17463)
    at async Promise.all (index 1)
    at async Ja.C (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:663:13337)
    at async Ja.resolve (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:663:13173)
    at async XN.setInput (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:663:14656)
    at async e9e.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:685:19754)

In my current session, 5 or 6 of them are showing this, and some of them I think are showing the wrong diff. I'll try to reduce a separate issue for that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions