Unable to use diff viewer from Amazon Q chat
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
Type: Bug
Ask Amazon Q to make a change. Try to view change from chat in diff viewer. Gets this error where backsashes are url encoded
2025-09-15 14:27:58.490 [error] [Window] Error: Unable to resolve resource c:%5CDevelopment%5CtgStats%5Clib%5Cauth%5Clogin_page.dart
at YKe.r (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1226:21649)
at YKe.r (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1226:21635)
at async pTt.acquire (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:27:3195)
at async ZKe.createModelReference (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1226:22967)
at async YP.resolve (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:534:15386)
at async Promise.all (index 1)
at async Xa.C (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:503:20953)
at async Xa.resolve (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:503:20789)
at async $$.setInput (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:598:31490)
at async AGe.S (vscode-file://vscode-app/c:/Users/Nicklas.dupreez/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:610:58577)
Extension version: 1.94.0
VS Code version: Code 1.104.0 (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-10T06:46:18.035Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-14650HX (24 x 2419)|
|GPU Status|2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|31.73GB (16.73GB free)|
|Process Argv|--crash-reporter-id d641fa6f-fa71-4294-939c-9c507d12028c|
|Screen Reader|no|
|VM|0%|
A/B Experiments
```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
b6b4d950:31327385
nes-set-on:31351930
onetestforazureexpcf:31335614
6abeh943:31336334
envsdeactivate2:31353495
0927b901:31350571
ovsp_t:31383296
0cj2b977:31352657
gaj49834:31362110
asdad-cf:31365767
cloudbuttont:31379625
todos-1:31384886
control-prompt:31370222
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282
```
Contributor guide
Research direction
Start by reproducing the Amazon Q chat diff-viewer failure on Windows with the reported extension and VS Code versions, focusing on the resource path shown in the error. Trace how the diff viewer resolves that path and verify completion when the changed file opens without the URL-encoded backslashes error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100