Skip to content

refactor(lsp): effectify client and server boundaries#23210

Open
kitlangton wants to merge 13 commits intodevfrom
kit/lsp-effect-refactor
Open

refactor(lsp): effectify client and server boundaries#23210
kitlangton wants to merge 13 commits intodevfrom
kit/lsp-effect-refactor

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • change the LSP client and LSP service orchestration to use Effect-native create/open/wait/shutdown flows instead of Promise-shaped helpers
  • switch LSP startup dedupe from Map<string, Promise<...>> to Effect-based in-flight caching and update config/test callers to the new surface
  • add a temporary LSPServer.Builtins bridge so the service consumes Effect-shaped root / spawn now while the individual builtin server definitions stay on their existing Promise bodies for a follow-up cleanup

Verification

  • bun typecheck
  • bun run test test/lsp/client.test.ts
  • bun run test test/config/lsp.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants