Repository navigation
Keep the shared plugin state read alive when the outbox worker stops - #3731
Merged
pournasserian merged 1 commit intoNov 28, 2026
Merged
Conversation
4 tasks done
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.
Closes #3730
What
Keep the plugin-state query alive when a stopping outbox worker stops waiting for it. The fixture now holds the real shared query until the first worker has returned; a live reader can join it and the restarted drain delivers the remaining events. No production code changes.
Why
The Windows nightly returned both remaining rows pending, unleased, and with no attempts, but observed no subsequent deliveries. The old interceptor threw the stopped worker’s cancellation into a query shared with the restart. Holding that query reproduced the original assertion; removing only the injected throw made that same schedule pass.
Dependencies: None.
Checklist
PluginSiteTestspassed on the local Windows x64 runtime with nightly seed1975392936and four collection threads. Local x64 is emulated; hosted CI is separate.Checkpoint into
feature/stabilize-preview-2; leave unmerged for maintainer review.