Skip to content

feat: add global MiniRacer pause gate#430

Open
SamSaffron wants to merge 1 commit into
mainfrom
fork-safe
Open

feat: add global MiniRacer pause gate#430
SamSaffron wants to merge 1 commit into
mainfrom
fork-safe

Conversation

@SamSaffron

Copy link
Copy Markdown
Collaborator

Add MiniRacer.pause/resume to quiesce operations process-wide with timeout handling and nested pauses. Expose PauseTimeoutError and opt-in Process._fork hooks so fork can wait for MiniRacer to drain before parent and child continue.

Document the fork coordination APIs and cover pause, timeout, hook, and single-threaded fork behavior with tests.

Add MiniRacer.pause/resume to quiesce operations process-wide with timeout handling and nested pauses. Expose PauseTimeoutError and opt-in Process._fork hooks so fork can wait for MiniRacer to drain before parent and child continue.

Document the fork coordination APIs and cover pause, timeout, hook, and single-threaded fork behavior with tests.
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