Skip to content

Await plugin worker shutdown before settling - #9

Open
datzle123 wants to merge 2 commits into
mainfrom
codex/phase-m-worker-cleanup
Open

Await plugin worker shutdown before settling#9
datzle123 wants to merge 2 commits into
mainfrom
codex/phase-m-worker-cleanup

Conversation

@datzle123

Copy link
Copy Markdown
Owner

Cause

PluginHost settled timeout/error/success before worker.terminate() completed. Windows could still hold the plugin module handle when cleanup removed the fixture, producing ENOTEMPTY.

Fix

Wait for worker termination before resolving or rejecting the invocation. A termination failure now fails closed with redacted diagnostics.

Evidence

  • Main run 30208423273 exposed the Windows Node 20 cleanup race; the new aggregate prerequisite guard failed as intended.
  • Local full batch: 146 pass, 2 service-dependent skips; audit/governance/Chromium/package gates pass.

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