Skip to content

feat: implement automatic recovery for hh_client#197

Merged
mszabo-wikia merged 2 commits intomasterfrom
feat-implement-lsp-recovery
Mar 27, 2026
Merged

feat: implement automatic recovery for hh_client#197
mszabo-wikia merged 2 commits intomasterfrom
feat-implement-lsp-recovery

Conversation

@mszabo-wikia
Copy link
Copy Markdown
Contributor

It's possible for hh_client (and hh_server) to be terminated if they are being used via an externally managed container. Currently we cannot recover from this without the user manually refreshing their VSCode window. So implement automatic recovery when the language server or the backing hh_server process crashes, alongside helpful notifications informing the user of this.

Testing

Replaced hh_client with an executable that exits with an error, then killed hh_client processes to trigger the automatic restart logic, then eventually swapped the real hh_client back in.

It's possible for `hh_client` (and `hh_server`) to be terminated
if they are being used via an externally managed container.
Currently we cannot recover from this without the user manually
refreshing their VSCode window. So implement automatic recovery
when the language server or the backing `hh_server` process crashes,
alongside helpful notifications informing the user of this.
@mszabo-wikia mszabo-wikia merged commit 1a227a8 into master Mar 27, 2026
5 checks passed
@mszabo-wikia mszabo-wikia deleted the feat-implement-lsp-recovery branch March 27, 2026 16:20
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