mesonbuild / mesonbuild/vscode-meson

Extension stuck at "Activating..." because of "await client.reloadConfig();"

Open
#320 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
138
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I'm running into activation timeouts when trying to compile, and the extension is stuck at `Activating...` in the `Running Extensions` tab.

I've narrowed it down to the call to `await client.reloadConfig();` in `extension.js:184`, which hangs because `this.ls` in `lsp/index.js:155` is not valid, presumably because `client.start();` fails for some reason.

If I comment that line, the timeouts go away.

I'm using Code - OSS, version 1.109.5.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the call at extension.js:184 and the `this.ls` handling at lsp/index.js:155, then trace why `client.start()` can fail under Code - OSS 1.109.5. Reproduce the activation timeout and verify that the extension no longer remains stuck at `Activating...` when configuration reloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.