Skip to content

File changes show the same every time, Copilot Agent #249661

Closed
@rgjertsen

Description

@rgjertsen

Type: Bug

When I ask Copilot Agent to change my code, it shows me the file it changes and the amount of lines added and removed from the file.
After the latest update it shows me the same amount of added and removed lines every time it changes the same file, even though the amount is different.
This occurs until the agent is finished. The next time I ask it to help me, it says the right amount the first time it changes a file, and the next time it is wrong again.

VS Code version: Code 1.100.2 (848b80a, 2025-05-14T21:47:40.416Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 5 135U (14 x 2688)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.43GB (3.52GB free)
Process Argv --crash-reporter-id 0a5b45ec-25cd-4f78-9dac-869b707c2aa8
Screen Reader no
VM 0%
Extensions (17)
Extension Author (truncated) Version
vscode-html-css ecm 2.0.13
copilot Git 1.323.0
copilot-chat Git 0.27.2
remotehub Git 0.64.0
vscode-pull-request-github Git 0.110.0
vscode-edge-devtools ms- 2.1.8
debugpy ms- 2025.8.0
python ms- 2025.6.1
vscode-pylance ms- 2025.5.1
jupyter ms- 2025.4.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
azure-repos ms- 0.40.0
remote-repositories ms- 0.42.0
vscode-yaml red 1.18.0
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31313793
996jf627:31283433
pythonrdcb7:31303018
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31314202
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

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