Repository navigation
fix(extensions): hold a restarted service's keys until it sends a document - #285
Merged
Merged
Conversation
StuBehan
force-pushed
the
fix/service-keys-after-restart
branch
from
November 24, 2026 23:55
86dacdc to
4910fe9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #282. After a service restarts, its tab goes back to taking keys as soon as the new process says
ready, but it's still showing the document the old process sent. A key pressed in that gap resolved against the old document and the action went to the new process, which never offered it.The host now holds a service's keys until the process running now has sent a document of its own, and the footer leaves them out until then. The comment on
ServiceSupervisor.perform(action:)and both docs are updated, since they said this was already the case.New test covers crash, restart,
ready, key before and after the new document. It fails without the change.