Skip to content

feat: Allow resetting of engine at runtime - #337

Merged
andreiltd merged 4 commits into
bytecodealliance:mainfrom
TartanLlama:sy/engine-reset
Oct 26, 2026
Merged

andreiltd merged 4 commits into
bytecodealliance:mainfrom
TartanLlama:sy/engine-reset

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

Our use of StarlingMonkey sometimes necessitates resetting the engine at runtime. This patch adds support.

@tschneidereit tschneidereit left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with landing this, but would advise doing a fairly thorough audit of the codebase before using this in production: the code has all been written with the assumption that it'll be run for exactly one request, so I wouldn't be particularly confident that there aren't latent bugs hidden somewhere that'd materialize under reuse.

@andreiltd
andreiltd merged commit e0d58d0 into bytecodealliance:main Oct 26, 2026
7 checks passed
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.

3 participants