Skip to content

Language server fails to start if Zed cannot check for updates #1

@pytat0

Description

@pytat0

Description:
I started Zed with the internet connection turned off. Upon launch, Zed displayed a message stating that it could not check for updates for the language server. However, instead of continuing with the previously installed version, the language server failed to start entirely.

Expected Behavior:
If Zed cannot check for updates, it should still start the last installed version of the language server to allow coding without an internet connection.

Actual Behavior:
The language server did not start, making it impossible to use features that depend on it.

Steps to Reproduce:

Disconnect from the internet.
Start Zed.
Observe the message about failing to check for updates.
Attempt to use language server features (e.g., autocompletion, diagnostics).

Environment:

Zed version: 0.178.5
OS: Pop!_OS 22.04 LTS x86_64 

Additional Context:
This issue makes it difficult to work in offline environments. It would be helpful if Zed could fall back to the last known working language server version instead of failing completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions