Skip to content

fix: respond to format requests the editor service cancels on a config change - #1344

Merged
dsherret merged 1 commit into
mainfrom
fix-editor-service-respond-on-config-change-cancel
Oct 11, 2026
Merged

dsherret merged 1 commit into
mainfrom
fix-editor-service-respond-on-config-change-cancel

Conversation

@dsherret

Copy link
Copy Markdown
Member

When the editor service notices the configuration changed (which it checks for on a "can format" request), it cancels the format requests that are in flight because the plugins they're using get shut down. A cancelled format doesn't send a response, which is right when the editor asked for the cancellation, but here the editor didn't, so it was left waiting on those requests forever.

Now the service responds to each of those requests with an error saying formatting was cancelled because the configuration changed.

@dsherret
dsherret merged commit dc1604c into main Oct 11, 2026
23 checks passed
@dsherret
dsherret deleted the fix-editor-service-respond-on-config-change-cancel branch October 11, 2026 17:10
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.

1 participant