Skip to content

Update JsRuntimeHost for host-controlled script loading - #1940

Merged
bghgary merged 1 commit into
BabylonJS:masterfrom
bghgary:bghgary-jsruntimehost-dynamic-loading
Oct 15, 2026
Merged

bghgary merged 1 commit into
BabylonJS:masterfrom
bghgary:bghgary-jsruntimehost-dynamic-loading

Conversation

@bghgary

@bghgary bghgary commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

[Created by Copilot on behalf of @bghgary]

Updates JsRuntimeHost to include host-controlled loading of packaged JavaScript chunks from JsRuntimeHost#259. Hosts must supply a resource resolver; this update does not enable unrestricted file or network loading.

The dependency update also includes native-error preservation across JSI host callbacks from JsRuntimeHost#264.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f699c13e-9c11-4caa-b86f-eb8003761f2b
Copilot AI balanced review requested due to automatic review settings October 14, 2026 20:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The optional loader preserves existing loading behavior, and no blocking issues were identified.

0 open findings

What changed in this PR

Updates JsRuntimeHost to include host-controlled packaged JavaScript chunk loading and native-error preservation.

Changes:

  • Advances the dependency pin to include upstream PRs #259 and #264.
  • Keeps existing script-loading paths unchanged; the optional chunk loader requires explicit host setup and a resolver.
File Description
CMakeLists.txt Updates the pinned JsRuntimeHost revision.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bghgary
bghgary merged commit f4d9efb into BabylonJS:master Oct 15, 2026
35 checks passed
@bghgary
bghgary deleted the bghgary-jsruntimehost-dynamic-loading branch October 15, 2026 02:54
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