Skip to content

A/B probe (do not merge): lsp cold-start only - #182

Closed
ualtinok wants to merge 1 commit into
mainfrom
ci/probe-lsp
Closed

A/B probe (do not merge): lsp cold-start only#182
ualtinok wants to merge 1 commit into
mainfrom
ci/probe-lsp

Conversation

@ualtinok

@ualtinok ualtinok commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Single-commit probe off green base 566bcde: 0904eee (notify_file_changed_if_running). Windows dead-code manifest test verdict wanted.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Avoid cold-starting LSP servers after file writes. Post-write notifications now only target servers that are already running; interactive requests still start servers when needed.

  • Bug Fixes
    • Added LspManager::notify_file_changed_if_running to send updates only to running servers.
    • Switched AppContext::lsp_notify_file_changed to the new method to prevent cold starts after mutations.
    • Added helpers to target running servers and a test that confirms no client is started on post-write notifications.

Written for commit d7bf9a5. Summary will update on new commits.

Review in cubic

@ualtinok ualtinok closed this Aug 5, 2026
@ualtinok
ualtinok deleted the ci/probe-lsp branch August 5, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants