Skip to content

fix(extensions): hold a restarted service's keys until it sends a document - #285

Merged
StuBehan merged 1 commit into
mainfrom
fix/service-keys-after-restart
Nov 25, 2026
Merged

StuBehan merged 1 commit into
mainfrom
fix/service-keys-after-restart

Conversation

@StuBehan

@StuBehan StuBehan commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@StuBehan
StuBehan force-pushed the fix/service-keys-after-restart branch from 86dacdc to 4910fe9 Compare November 24, 2026 23:55
@StuBehan
StuBehan merged commit 87b5a28 into main Nov 25, 2026
6 checks passed
@StuBehan
StuBehan deleted the fix/service-keys-after-restart branch November 25, 2026 00:05
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