Skip to content

Ansible extension freezes other extensions loading because of sync fs traversal in Exntension Host #2607

@arikon

Description

@arikon

Summary

When I enable redhat.ansible extension my VSCode setup begin to work unstable. Usually it just freezed during startup and stop loading my other extensions

Extension version

26.1.3

VS Code version

1.109.5 (Universal)

Ansible Version

ansible [core 2.20.3]
  config file = None
  configured module search path = ['/Users/arikon/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/13.4.0/libexec/lib/python3.14/site-packages/ansible
  ansible collection location = /Users/arikon/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.14.3 (main, Feb  3 2026, 15:32:20) [Clang 17.0.0 (clang-1700.6.3.2)] (/opt/homebrew/Cellar/ansible/13.4.0/libexec/bin/python)
  jinja version = 3.1.6
  pyyaml version = 6.0.3 (with libyaml v0.2.5)

OS / Environment

macOS 26.3 (25D125)

$ grep ansible renderer.log
2026-02-27 19:31:02.279 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 67.64256550482462% of 3385.829ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-580d77.cpuprofile'
2026-02-27 19:41:01.111 [error] [MattiasBaake.vscode-snippets-for-ansible]: Unknown language in `contributes.vscode-snippets-for-ansible.language`. Provided value: ansible
2026-02-27 19:41:18.721 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 64.25822498288679% of 3217ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-4f1da7.cpuprofile'
2026-02-27 19:41:39.157 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 65.77027716969388% of 3291.365ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-efa395.cpuprofile'
2026-02-27 19:44:36.990 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 63.312966170151284% of 3168.058ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-4eee35.cpuprofile'
2026-02-27 19:45:36.159 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 66.85844470766136% of 3346.094ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-abd431.cpuprofile'
2026-02-27 19:46:34.782 [error] [MattiasBaake.vscode-snippets-for-ansible]: Unknown language in `contributes.vscode-snippets-for-ansible.language`. Provided value: ansible
2026-02-27 19:50:40.702 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 76.72797510223324% of 3855.603ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-b7e763.cpuprofile'
2026-02-27 22:40:01.237 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 48.33031967916174% of 2418.397ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-4fe165.cpuprofile'
2026-02-28 15:06:16.475 [warning] UNRESPONSIVE extension host: 'redhat.ansible' took 72.28253755423505% of 3633.448ms, saved PROFILE here: 'file:///var/folders/v3/dh1xwm491q99px47z44n4psm0000gn/T/exthost-465220.cpuprofile'

exthost-465220.cpuprofile.json

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions