Skip to content

Stuck in initialization loop on v1.114 w/ TS 5, also on v1.113 w/ TS 6 #63367

@NullVoxPopuli

Description

@NullVoxPopuli

Does this issue occur when all extensions are disabled?: Yes/No

Yes

  • VS Code Version:
❯ code --version
1.114.0
e7fb5e96c0730b9deb70b33781f98e2f35975036
arm64
  • OS Version:
❯ sw_vers -productVersion
26.3.1

# (macos)

Steps to Reproduce:

  1. Have a reasonable sized monorepo (uses pnpm)
    ❯ ag -g package.json | wc -l
         113
    
    ❯ ag -g tsconfig.json | wc -l
          80
  2. don't use project references (uses turbo / caching + package-centric build methodology (package.json#exports point at a "dist", etc)
  3. open vscode in the root of the monorepo
  4. observe that
    • ^TS 5 + VS 1.113 = works
    • ^TS 5 + VS 1.114 = issue
    • ^TS 6 + VS 1.113 = same issue
    • ^TS 6 + VS 1.114 = same issue

the issue

VSCode shows in the status bar: initilizing 'tsconfig path', for each project upon opening a TS file (even with no extensions enabled). It seems to iterate over all projects in a loop, and can run for at least dozens of minutes without end.

The config with TS 5 + 1.113 settles very fast, and appears to just initialize the project nearest the open file (which is correct).

It seems like a bug that projects unrelated to the open file are initialized.
Additionally, it seems like a bug that all of these projects are initialized in a loop forever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions