Skip to content

Keep the shared plugin state read alive when the outbox worker stops - #3731

Merged
pournasserian merged 1 commit into
feature/stabilize-preview-2from
3730-stop-shared-plugin-read
Nov 28, 2026
Merged

pournasserian merged 1 commit into
feature/stabilize-preview-2from
3730-stop-shared-plugin-read

Conversation

@pournasserian

Copy link
Copy Markdown
Member

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

  • Linked to the issue and approved stabilization scope.
  • Updated the regression; verified the first delivery, two returned rows, live reader and all three deliveries in order.
  • Final exact case passed, then all 15 PluginSiteTests passed on the local Windows x64 runtime with nightly seed 1975392936 and four collection threads. Local x64 is emulated; hosted CI is separate.
  • No tool-generated co-author trailers or footers.

Checkpoint into feature/stabilize-preview-2; leave unmerged for maintainer review.

@pournasserian
pournasserian merged commit 46e6569 into feature/stabilize-preview-2 Nov 28, 2026
4 checks passed
@pournasserian
pournasserian deleted the 3730-stop-shared-plugin-read branch November 28, 2026 11:17
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