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

Go back to returning nil for cancelled requests #3024

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 8, 2025

Motivation

This is a temporary revert to fix #3019 while we understand the correct response flow for retried cancelled requests.

This PR reverts the behaviour introduced in #2939, which didn't cause problems for NeoVim.

Implementation

I didn't perform a full revert of every single change, since we do want to ensure that we're following the spec. I just stopped returning the error and went back to returning a nil response until we figure out what's going on.

Automated Tests

Changed the test so that it asserts the current behaviour. We'll switch it back later.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock added server This pull request should be included in the server gem's release notes bugfix This PR will fix an existing bug labels Jan 8, 2025 — with Graphite App
@vinistock vinistock requested review from andyw8 and st0012 January 8, 2025 15:55
@vinistock vinistock marked this pull request as ready for review January 8, 2025 15:55
@vinistock vinistock requested a review from a team as a code owner January 8, 2025 15:55
@vinistock vinistock merged commit 6d5c5df into main Jan 8, 2025
43 checks passed
@vinistock vinistock deleted the 01-08-go_back_to_returning_nil_for_cancelled_requests branch January 8, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 0.23 breaks NeoVim integration
2 participants