microsoft / microsoft/vscode

Task problem matching inconsistency across task runs?

Open
#326,083 2 comments 0 reactions 1 assignee Claimed by @meganrogge View on GitHub
confirmation-pending tasks
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

*This is #325270 reopened because it's a bug report, not a question*

1. Open this codebase: [test3.zip](https://github.com/user-attachments/files/29884716/test3.zip)
2. Run the `pyaaa2` task two times, checking the Problems panel after each run

The first time 2 errors are detected:
- SyntaxError: invalid syntax (\, Ln 1, Col 1)
- ValueError: ** (a.py, Ln 2, Col 1)

The second time:
- Two new errors appear, which should be wrong:
- ? (\, Ln 1, Col 1)
- raise ValueError(random.random()) (a.py, Ln 2, Col 1)
- The "ValueError:" error message doesn't update, judging from the random float

Screenshot

Here's what the terminal looks like:

Screenshot

And here's what it looks like with `"env": {"NO_COLOR": "1"}` enabled. I am able to reproduce regardless of it.

Image

I'm also able to reproduce regardless of `"presentation": {"clear": true/false}`.

VS Code version: Code - Insiders 1.129.0-insider (e7b83d54552fa9cb419c63fb24bde66f70addb60, 2026-07-10T04:24:25Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) Ultra 5 125H (18 x 2995)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.5522 *ACTIVE*
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8328
Machine model name:
Machine model version:
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
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.52GB (5.10GB free)|
|Process Argv|--crash-reporter-id 9ed011d5-f28d-4717-af81-7c93bc96d9f1|
|Screen Reader|no|
|VM|0%|
Extensions disabled
A/B Experiments

```
vsliv368:30146709
pythonvspyt551cf:31249598
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1cf:31399617
6518g693:31302842
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
42190218_ostrepl:31403339
839jf696:31457053
cp_cls_t_966_ss:31526232
4je02754:31455664
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31485575
ia-use-proxy-models-svc:31446143
e9c30283:31453065
test_treatment2:31471001
46204921:31447328
idci7584:31454084
e3e4d672:31454087
ei9d7968:31462942
f860i809:31458078
7e884298:31462391
7e187181:31482583
h08i8180:31475367
23c7c724:31520045
ddid_t:31478204
hmra_i5g22:31518061
bjc72774_agent_sandbox:31538428
7df3h592:31491241
cp_cls_t_1082:31535311
logging_enabled_new:31490725
jb_cp_cls_t_632:31543129
b1g4i769:31503653
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31541111
a1ije391_t:31533808
hgf2d445:31510900
41836166:31537719
prpt_ctrl:31513638
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
gf14b233:31526830
hide-eh-duplicates:31543293
h561g132:31534507
replace-eh-with-ah:31545853
ihg5j128:31534457
f412h606:31543414
52258b4d:31547953
22afc103_control:31548131

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.