-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Type: Bug
- clone repro from https://github.com/vaclavHala/vscode-workspace-race and open project folder
corrupted-tasks
- run the repro extension from vscode
- open two folders in the workspace (these will not be touched by the repro code, the problem was encounterd in multi-folder workspace and this just reproduces that environment)
- run command
Run tasks.json race
- after some time popup with error
Unexpected: Task does not exist.
will appear
Expected beahvior:
the loop running the dummy task will keep running indefinitely
This seems to be caused by using TaskExecution.terminate()
in combination with changes of the workspace folders. When the while(true)
loop in the repro is changed to only keep writing the tasks.json
file and running the tasks the problem never appears
VS Code version: Code - Insiders 1.82.0-insider (f1302be, 2023-09-01T11:05:38.381Z)
OS version: Linux x64 4.19.0-18-amd64
Modes:
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 2700 Eight-Core Processor (16 x 2484) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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 video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 1, 1, 1 |
Memory (System) | 31.43GB (12.42GB free) |
Process Argv | --crash-reporter-id f8df83a3-a85f-44ab-903a-d2a2cb362dd0 |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | xfce |
XDG_CURRENT_DESKTOP | XFCE |
XDG_SESSION_DESKTOP | xfce |
XDG_SESSION_TYPE | x11 |
Extensions (0)
Extension | Author (truncated) | Version |
---|
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vsdfh931:30280409
vshan820:30294714
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
py29gd2263:30784851
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
showlangstatbar:30737417
ecj1e332:30687743
pythonfmttext:30716741
fixshowwlkth:30771523
showindicator:30805243
pythongtdpath:30726887
i26e3531:30792625
welcomedialog:30812478
pythonnosmt12:30779711
pythonidxpt:30768918
pythonnoceb:30776497
copilotsettingt:30808721
dsvsc013:30777762
dsvsc014:30777825
diffeditorv2:30786206
pythonmpsinfo:30842935
dsvsc015:30821418
pythontestfixt:30826906
pythonfb280951:30830809
pythonregdiag:30842812
pythonmypyd1cf:30850306
pythoncet0:30848247
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberIssue has been confirmed by VS Code Team memberhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded