Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for pygls performance issue #6219

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

seeM
Copy link
Contributor

@seeM seeM commented Feb 4, 2025

This is a workaround for openlawlibrary/pygls#517 until it's fixed upstream.

Release Notes

New Features

  • N/A

Bug Fixes

  • Fixed a Python language server performance issue where a slow request could hang the server.

QA Notes

I'm not sure how to reproduce this, but nothing should break.

Copy link

github-actions bot commented Feb 4, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical

readme  valid tags

Copy link
Contributor

@austin3dickey austin3dickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Interested to follow that upstream issue.

# Call `_data_received` instead of `data_received` so that errors are raised.
protocol._data_received(data) # noqa: SLF001

assert not did_hover_executed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like you said, not sure how to test this by hovering locally, but this unit test looks good!

@seeM seeM merged commit 27a479f into main Feb 6, 2025
28 checks passed
@seeM seeM deleted the pygls-performance-issue-workaround branch February 6, 2025 17:15
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants