Files
insomnia/packages
Jay WuandClaude Sonnet 5.5 db8375e6cd fix(sandbox): release in-flight bridge calls before disposing the QuickJS context
When a bridge call never settled and the sandbox timeout fired, disposing the
context hit QuickJS's list_empty(gc_obj_list) assertion, so the caller saw
"Aborted(Assertion failed...)" instead of "Template tag sandbox timed out".

Track pending bridge promises and dispose them first, and ignore host calls
that settle after the context is gone. Adds a test with a bridge call that
never settles.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 15:12:36 +08:00
..