Skip to content

Conversation

probably-neb
Copy link
Collaborator

@probably-neb probably-neb commented Aug 21, 2025

Enables LSP log tracing in both remote collab and remote ssh environments.
Server logs and server RPC traces can now be viewed remotely, and the LSP button is now shown in such projects too.

Closes #28557

Co-Authored-By: Kirill [email protected]
Co-Authored-By: Lukas [email protected]

Release Notes:

  • Enabled LSP log tracing in both remote collab and remote ssh environments

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 21, 2025
@SomeoneToIgnore SomeoneToIgnore force-pushed the remote-lsp-logs branch 6 times, most recently from 9e5add8 to 03ba256 Compare August 26, 2025 07:43
@SomeoneToIgnore SomeoneToIgnore self-assigned this Aug 26, 2025
@SomeoneToIgnore SomeoneToIgnore force-pushed the remote-lsp-logs branch 3 times, most recently from 4ba48ab to 8e19ab8 Compare August 27, 2025 08:49
Copy link

github-actions bot commented Aug 27, 2025

Squawk Report

✅ 0 violations across 1 file(s)


crates/collab/migrations/20250827084812_worktree_in_servers.sql

ALTER TABLE language_servers
    ADD COLUMN worktree_id BIGINT;

✅ Rule Violations (0)

No violations found.


📚 More info on rules

⚡️ Powered by Squawk (0.26.0), a linter for PostgreSQL, focused on migrations

@SomeoneToIgnore SomeoneToIgnore force-pushed the remote-lsp-logs branch 5 times, most recently from 157bcdb to 53a6c7a Compare August 27, 2025 11:53
@SomeoneToIgnore SomeoneToIgnore marked this pull request as ready for review August 27, 2025 18:52
@maxdeviant maxdeviant changed the title Remote lsp logs Remote LSP logs Aug 27, 2025
@SomeoneToIgnore
Copy link
Contributor

Protobuf migration CI failure is due to LanguageServerLog message change, which was, before this, used exclusively for SSH project interchange — SSH headless client will get updated along with the new Zed version, so this is not really breaking anything.

@SomeoneToIgnore SomeoneToIgnore merged commit e2bf8e5 into main Aug 27, 2025
23 of 24 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the remote-lsp-logs branch August 27, 2025 18:55
SomeoneToIgnore added a commit that referenced this pull request Aug 27, 2025
SomeoneToIgnore added a commit that referenced this pull request Aug 27, 2025
This reverts commit e2bf8e5.

See
#37050 (comment)
for the context: musl builds started to fail and the amount of `cfg!`s
to fix this is too large.

Instead, the lsp_log.rs has to be split and repurposed better for the
remote headless server.

Release Notes:

- N/A
SomeoneToIgnore added a commit that referenced this pull request Aug 28, 2025
Take 2: #36709 but without the
very bad `cfg`-based approach for storing the RPC logs.

--------------

Enables LSP log tracing in both remote collab and remote ssh
environments.
Server logs and server RPC traces can now be viewed remotely, and the
LSP button is now shown in such projects too.

Closes #28557

Co-Authored-By: Kirill <[email protected]>
Co-Authored-By: Lukas <[email protected]>

Release Notes:

- Enabled LSP log tracing in both remote collab and remote ssh
environments

---------

Co-authored-by: Ben Kunkle <[email protected]>
Co-authored-by: Lukas Wirth <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Language server logs not showing up in remote development
2 participants