Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show that server is running on degraded mode #2800

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

vinistock
Copy link
Member

Motivation

Let's show in the language status item if the server is running in degraded mode, so that it's easier to realize why full functionality may not be available.

Implementation

In essence, if there was an install or a setup error, then we are in degraded mode. We return that as part of the initialize result and use that to change the status entry message.

Automated Tests

Added a test.

@vinistock vinistock added enhancement New feature or request vscode This pull request should be included in the VS Code extension's release notes labels Oct 29, 2024
@vinistock vinistock self-assigned this Oct 29, 2024
@vinistock vinistock requested a review from a team as a code owner October 29, 2024 16:49
@vinistock vinistock requested review from andyw8 and st0012 October 29, 2024 16:49
vscode/src/status.ts Outdated Show resolved Hide resolved
@vinistock vinistock force-pushed the vs-show-degraded-mode-status branch from 6b3dce9 to af30248 Compare October 29, 2024 20:09
@vinistock vinistock requested a review from andyw8 October 29, 2024 20:09
@vinistock vinistock force-pushed the vs-invoke-bundler-cli branch from bbc0a44 to 0c4392b Compare October 30, 2024 17:46
Base automatically changed from vs-invoke-bundler-cli to main October 30, 2024 18:36
@vinistock vinistock force-pushed the vs-show-degraded-mode-status branch from af30248 to 8838642 Compare October 30, 2024 18:39
@vinistock vinistock enabled auto-merge (squash) October 30, 2024 18:39
@vinistock vinistock merged commit d8e4c32 into main Oct 30, 2024
35 checks passed
@vinistock vinistock deleted the vs-show-degraded-mode-status branch October 30, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants