Skip to content

SSH remote language server restarts leave duplicate entries in the LSP Logs panel #55287

@chenmijiang

Description

@chenmijiang

Reproduction steps

  1. Start Zed with a clean config.
  2. Connect to an SSH remote project.
  3. Open a file that starts a language server, for example a TypeScript file with vtsls.
  4. Open the LSP Logs panel and confirm there is a single entry for that server.
  5. Use the language server actions menu to restart that server.
  6. Open the server picker in the LSP Logs panel again.

Current vs. Expected behavior

Current behavior: after the restart, the LSP Logs panel shows multiple entries for the same server name in the SSH remote project. Only one of them continues to display live logs, while the stale entry remains in the list.

Expected behavior: restarting a language server should replace the previous remote server instance cleanly. The LSP Logs panel should show only the currently running server entry.

Image

Zed version and system specs

Zed Preview 1.1.2
Commit: a15106b
Version: 1.1.2+preview.258.a15106b80f74b22e1fec21aa65bdffb9df1697de

Attach Zed log file

No response

Relevant Zed settings

No response

Relevant Keymap

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:language serverAn umbrella label for all language serversfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcplatform:remoteRemote development, SSH and zed-remote-serverpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugs

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions