Skip to content

Conversation

@ChrisChinchilla
Copy link
Owner

@ChrisChinchilla ChrisChinchilla commented May 20, 2024

Extremely draft…

@ccoVeille
Copy link

Any progress information, you could share @ChrisChinchilla

Thanks

@ChrisChinchilla
Copy link
Owner Author

@ccoVeille it's been available in the vscode marketplace as a prerelease for some time. Pushed a new version today and testing is very welcome

@ChrisChinchilla
Copy link
Owner Author

@ccoVeille contributions always welcome!

Signed-off-by: Chris Chinchilla <[email protected]>
@ChrisChinchilla ChrisChinchilla marked this pull request as ready for review April 18, 2025 10:06
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Apr 18, 2025
# Conflicts:
#	README.md
#	package-lock.json
#	package.json
@dosubot dosubot bot added the dependencies Pull requests that update a dependency file label Apr 18, 2025
@ChrisChinchilla ChrisChinchilla merged commit dc3736d into main Apr 18, 2025
4 checks passed
@ccoVeille
Copy link

Thanks a lot for your work on this!

ChrisChinchilla pushed a commit that referenced this pull request Nov 15, 2025
This fixes the regression of the issue originally resolved in PR #18,
where multiple Vale processes would spawn and consume excessive CPU.

The LSP-based rewrite (PR #41) removed the old safeguards. This commit
adds proper client lifecycle management:

- Check for existing client in activate() and stop it before creating new one
- Improve deactivate() with async/await and error handling
- Add logging for better debugging of client lifecycle

This ensures only one vale-ls process runs at a time, preventing the
CPU spike issues users were experiencing.

Fixes: Issue with multiple Vale processes spawning
Related: PR #18

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants