Skip to content

Background task problem matcher does not show all problems #179361

Closed

Description

@oleg8000

Type: Bug

This background task problem matcher shows only 2 problems:

{
    "label": "background",
    "group": "test",
    "type": "shell",
    "command": "cat data.txt",
    "isBackground": true,
    "problemMatcher": {
        "owner": "Unit tests",
        "fileLocation": "relative",
        "pattern": {
            "regexp": "^(.*):(\\d+):\\s+([^:]+):\\s+(.*)$",
            "file": 1,
            "line": 2,
            "severity": 3,
            "message": 4
        },
        "background": {
            "activeOnStart": true,
            "beginsPattern": "Start",
            "endsPattern": "End"
        }
    },
}

data.txt:

Start
file:150: fatal error: problem1
file:825: fatal error: problem2
file2:468: fatal error: problem3
file2:550: fatal error: problem4
End

If make task non-background, problem matcher displays 4 problems.

VS Code version: Code 1.77.1 (b7886d7, 2023-04-04T23:21:11.906Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (4 x 2660)
GPU Status 2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.99GB (5.52GB free)
Process Argv --disable-extensions --folder-uri=vscode-remote://wsl+Ubuntu-22.04/home/developer/VsCodeProject --remote=wsl+Ubuntu-22.04 --crash-reporter-id c52deec0-35bf-4d6f-82e4-165e6027de16
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-22.04
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (4 x 2659)
Memory (System) 4.81GB (3.95GB free)
VM 0%
Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
vsctsb:30705553
functionswalk:30687959
pythonms35:30701012
pythonclientmvcf:30705674
f8hc8238:30694864

Activity

  1. meganrogge commented on Apr 6, 2023

    @meganrogge
    Collaborator

    does this reproduce in insider's? did it only start happening recently?

  2. added
    info-needed
    tasks
    on Apr 6, 2023
  3. oleg8000 commented on Apr 11, 2023

    @oleg8000
    Author

    does this reproduce in insider's?

    I don't know. Did not test.

    did it only start happening recently?

    For me it was always.

    Why do you ask? You can't reproduce?

  4. vscodenpa commented on Jun 30, 2023

    @vscodenpa

    Hey Megan Rogge (@meganrogge), this issue might need further attention.

    oleg8000, you can help us out by closing this issue if the problem no longer exists, or adding more information.

  5. locked and limited conversation to collaborators on Aug 17, 2023
  6. added
    bug
    help wanted
    confirmed
    and removed
    info-needed
    on Oct 20, 2023
  7. added a commit that references this issue on Nov 5, 2026
    bfe72b1
  8. added a commit that references this issue on Nov 13, 2026
    cd81f02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugconfirmedhelp wantedtasksverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions