Skip to content

Inconsistent repetition #3834

@CharlieIoD

Description

@CharlieIoD

Type: Bug

GutHub Chat was asked to check a 714 line, front end, login.js file, to see if the state of the page was being saved the correct way in the right places. Instead of keeping the response to a simple yes or no then making specific changes, it returned the whole file. However, it got to line 508, then started the file again, in the middle of a dynamic html section of code, with the DOMContent loaded function as below:
tableRows += `

${order[i].ProdDesc}
£ ${(order[i].Price).toFixed(2)}
<td styledocument.addEventListener('DOMContentLoaded', function() {
const codeElement = document.getElementById('guestBarcode');
it then ran out at line 959 in the middle of a function.
This is not the first time GutHub Chat has done this.

Extension version: 0.23.2
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz (4 x 1696)
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: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.80GB (1.62GB free)
Process Argv --crash-reporter-id 0ce62bc1-e791-4f76-9c69-0c766148fcea
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
14424c:31211907
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-neededIssues needing to be assigned to the prospective feature owner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions