Repository navigation
Fix LSP not allowing multiple connections - #6311
Merged
pchiusano merged 5 commits intoNov 10, 2026
Merged
Conversation
giodamelio
force-pushed
the
fix-multiple-lsp-connections
branch
from
October 23, 2026 04:08
99f9e27 to
c730d3d
Compare
# Conflicts: # .github/workflows/proofs/formatting/56998ade2cbe97a2d75bf089791a6a9aafdd283dbaae2144956b2fd3da041308.txt # .github/workflows/proofs/formatting/95fd4ada8473d3dc6adb88e59c5c03679521dc16f1c9c037e675718bb793ead6.txt # .github/workflows/proofs/formatting/aeee91899983efc2eb3b0561e70da2ac4bcf8e8be963f792869d01a49ee37311.txt # .github/workflows/proofs/tests/0cd5015b7767d2f6f6824138f52707d4f03d7af73b0755bb4041be578b890792.txt # .github/workflows/proofs/tests/bb0202a570361097cedaee9fd0ca47d7fd82377ec5a8aaf3ec165472cf441c9a.txt # .github/workflows/proofs/tests/bfb836c8254cb74981afdac5af50d219e9d902750a0a8674236e67946d437b88.txt # .github/workflows/proofs/transcripts/c08c13f6755ee35a247e88cfe9870590ec870f802dcd7817b458a6c6b97655eb.txt
… and unisonweb#6329, so they merge in any order
pchiusano
added a commit
to fpringle/unison
that referenced
this pull request
Nov 10, 2026
… and unisonweb#6329, so they merge in any order
pchiusano
added a commit
to fpringle/unison
that referenced
this pull request
Nov 10, 2026
… and unisonweb#6329, so they merge in any order
Contributor
Author
|
Thanks for getting this across the line! |
Member
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Unisons LSP is currently accepting on the first connection per run. Even after that connection is finished it won't accept any new connections. It looks like it was #6196 (fe8c4d6) when doing a fix for an unrelated bug on Windows.
This just wraps the code that accepts the TCP connections in a
foreverso we keep accepting connections for the remainder of the programs life.Implementation approach and notes
Not much there really.
Interesting/controversial decisions
Include anything that you thought twice about, debated, chose arbitrarily, etc.
What could have been done differently, but wasn't? And why?
Test coverage
Have you included tests (which could be a transcript) for this change, or is it somehow covered by existing tests?
Would you recommend improving the test coverage (either as part of this PR or as a separate issue) or do you think it’s adequate?
If you only tested by hand, because that's all that's practical to do for this change, mention that. Include screenshots.
Loose ends
Final checklist
.cabalfiles, make sure thepackage.yamlfiles are up-to-date instead.