Skip to content

Support fork server in engine worker, and expose FuzzTestWorkerInitEarly(). - #2243

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/988262127
Oct 1, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
cl/988262127

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Support fork server in engine worker, and expose FuzzTestWorkerInitEarly().

This is for supporting migrating runner on top of the engine worker. Previously the runner directly initializes the fork server before creating the watchdog thread. If we want to migrate runner on top of the worker, not only we need to initialize fork server before watchdog, but also do it before the engine worker creating persistent mode socket connection, otherwise the parent process would have the connected socket too and break the invariant needed for persistent mode.

@copybara-service
copybara-service Bot force-pushed the cl/988262127 branch 5 times, most recently from e320b8f to 1e0d76c Compare October 1, 2026 17:45
…rly().

This is for supporting migrating runner on top of the engine worker. Previously the runner directly initializes the fork server before creating the watchdog thread. If we want to migrate runner on top of the worker, not only we need to initialize fork server before watchdog, but also do it before the engine worker creating persistent mode socket connection, otherwise the parent process would have the connected socket too and break the invariant needed for persistent mode.

PiperOrigin-RevId: 991784397
@copybara-service
copybara-service Bot merged commit 88f66c0 into main Oct 1, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the cl/988262127 branch October 1, 2026 18:07
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