Skip to content

Monorepo step 3: vendor JsRuntimeHost and UrlLib with full file history - #1947

Merged
bghgary merged 209 commits into
BabylonJS:masterfrom
CedricGuillemet:cedricguillemet-monorepo-step-3-jsruntimehost-urllib
Oct 27, 2026
Merged

bghgary merged 209 commits into
BabylonJS:masterfrom
CedricGuillemet:cedricguillemet-monorepo-step-3-jsruntimehost-urllib

Conversation

@CedricGuillemet

@CedricGuillemet CedricGuillemet commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

[Updated by Copilot on behalf of @bghgary]

Brings JsRuntimeHost and UrlLib into BabylonNative so changes to these components and their consumers can be reviewed together.

Merge without squashing. The original repository-import ancestry is retained; subsequent feedback fixes are consolidated, with the bgfx integration in a separate commit. The repository currently permits only squash merges, so landing requires enabling a history-preserving merge method.

Worth a look

  • The bgfx wrapper includes the unmerged upstream proposal. See Dependencies/CMakeLists.txt for BabylonNative's revision choices and wrapper adaptations.
  • Source-package consumers must adapt to the dependency layout: the tracked wrapper and fetched bx, bimg, and bgfx sources are packaged separately.
  • Component tests follow BABYLON_NATIVE_BUILD_APPS on supported platforms. Android and iOS execution covers JsRuntimeHost, not BabylonNative's renderer or UrlLib's standalone suite.
  • Win32 x86 and Windows Store x64 JSI/V8 configurations are restored in pull-request checks. Sanitizer coverage is in the Azure Pipelines nightly, not the pull-request workflow.

bghgary and others added 9 commits September 22, 2026 13:31
## Context

`build-linux.yml` set job-level `CC`/`CXX` env alongside the `-D
CMAKE_C_COMPILER` / `-D CMAKE_CXX_COMPILER` configure flags. The `-D`
flags already select the compiler for both the gcc and clang matrix
legs, so the env block was redundant.

No behavior change: on the parallel UrlLib CI cleanup both the gcc and
clang Linux jobs stayed green with the env removed. The Run Tests step's
`env` (`TSAN_OPTIONS` / `JSC_useConcurrentGC`) is untouched.

Part of a small cross-repo consistency pass — UrlLib landed the same
cleanup. BabylonNative was checked and intentionally left alone: its
`build-linux.yml` env is load-bearing there (its configure passes no
`-D` compiler flags).

[Created by Copilot on behalf of @bghgary]

Co-authored-by: Gary Hsu <223556219+Copilot@users.noreply.github.com>
[Created by Copilot on behalf of @bghgary]

Native and JavaScript runtime tests for unrelated features were grouped
together, making coverage hard to navigate. This change groups the
existing tests by feature and packages the generated test bundle and
fixtures together under `Assets`. The same tests continue to run through
the existing runner.

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…abylonJS#218)

[Updated by Copilot on behalf of @bghgary]

Fixes BabylonJS#216.

## Context

`napi_get_property_names` should return enumerable string-keyed
properties across the prototype chain, matching `for...in`. Before this
PR, JavaScriptCore threw, Chakra and QuickJS returned only own
properties, and JSI had an unimplemented stub. The three Node-API
backends now share a property-name walk; JSI uses its own
implementation.

The walk must account for non-enumerable own properties hiding inherited
names, terminate when a Proxy returns a repeated prototype, and keep the
returned status consistent with `napi_get_last_error_info`.
JavaScriptCore’s `napi_get_prototype` also needed correction for
primitives and the null end of a prototype chain.

## Review follow-up

A retained JavaScriptCore context could collect reference sentinels
after their environment was deleted, causing a use-after-free. This
branch addresses that lifetime defect as well as the conformance
changes.

## Coverage and limits

The feature-named unit tests cover own and inherited names, shadowing,
symbols, arrays, prototype termination, error reporting, and reference
lifetime. Proxy-dependent cases are skipped on JavaScriptCore because
its prototype lookup does not invoke the Proxy trap. Hermes’ `for...in`
shadowing discrepancy remains tracked in
[BabylonJS#219](BabylonJS/JsRuntimeHost#219);
`napi_get_all_property_names` remains V8-only.

---------

Co-authored-by: Branimir Karadzic <branimirkaradzic@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Branimir Karadzic <branimirkaradzic@Bgmail.com>
Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com>
Copilot-Session: 60c2ec68-6de1-445d-9fc9-b699db737eae
Copilot-Session: 79ad319b-72f9-4b93-9c81-57858177c0a7
Copilot-Session: af4ea82e-5fb0-4e56-b71a-f8ff3932d033
Copilot-Session: 54aaa1e1-b4b3-46e7-9de4-5a56add4ac42
Copilot-Session: d35d0a8b-b073-4f2a-bbd3-a0b1d3584305
Copilot-Session: fc6f260a-f58d-49ed-9bed-d69248708138
…rs (BabylonJS#261)

[Created by Copilot on behalf of @bghgary]

## Context
The AbortController polyfill option’s spelling is inconsistent with the
other polyfill options.

## Compatibility
Use `JSRUNTIMEHOST_POLYFILL_ABORTCONTROLLER` going forward. The old
spelling remains supported so existing consumers continue to select the
same target; if both names are set, the old value takes precedence.

---------

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

Call `Runtime::clearKeptObjects()` after draining Hermes microtasks,
matching Hermes's own JSI and ABI embeddings. Without this, targets
protected by `WeakRef` remain rooted across JavaScript turns, even after
full GC.

This was identified while investigating retained disposed scenes and
heap exhaustion in BabylonJS#1913. It does not increase
the heap limit.

## Regression

The new Hermes-only native test creates 256 one-MiB weak targets across
job drains. The original embedding retains **268,437,568 external
bytes** and fails the **64 MiB** bound; the fixed embedding passes.

The regression is selected by CMake only for Hermes, alongside the
existing engine-specific Node-API sources. Shared tests remain
unchanged; other engines do not compile a reference to the Hermes-only
`DrainJobs` API.

Windows Hermes native Node-API/runtime/scheduling coverage: **10 passed,
one existing engine-specific skip**. BabylonNative production validation
with this runtime fix passes **123/123 native tests** and **371/371
rendering scenes**, with snapshots enabled, memory instrumentation
disabled, stock Babylon.js 9.29.0, and the unchanged **512 MiB** heap
limit. Follow-up CI is still required.

## CI follow-up

Non-Hermes compilation is repaired by selecting the regression at build
time, not with a runtime skip. JSI builds and passes its applicable
runtime tests.

The next run exposed an existing x86 Chakra scheduling assertion using
`Date` (29 ms observed against a 30 ms bound). Timer tests now use the
high-resolution `performance.now()` clock, with **unchanged
minimum-delay assertions** and no scheduling implementation changes. The
complete x86 Chakra suite passes **26/26**, including **251 JavaScript
cases**, in each of **three consecutive iterations**. Fresh CI remains
required.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 60c2ec68-6de1-445d-9fc9-b699db737eae
*[Created by Copilot on behalf of @bghgary]*

Native errors on the JavaScript Interface (JSI) backend reach scripts as
generic errors instead of retaining their original class, message, and
value. Pending exceptions from reentrant callbacks can also escape the
call site.

Supersedes [BabylonJS#252](BabylonJS/JsRuntimeHost#252),
originally authored by @matthargett. Both original commits retain Matt
Hargett's authorship; the tests have been relocated to match current
`main`. This replacement is needed because maintainers cannot update the
original branch in its organization-owned fork.

---------

Co-authored-by: Matt Hargett <plaztiksyke@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 27231fa6-6686-460a-86dc-642f10ba32b5
[Created by Copilot on behalf of @bghgary]

## Context

Hosts that package JavaScript as resources need to load deferred bundles
without enabling unrestricted file or network access. Resource delivery
may be immediate or asynchronous.

## Compatibility

The runtime API evaluates classic scripts and is independent of the
bundler; it does not add native ECMAScript module loading. Source-level
`import()` must be transformed by the bundler. See
`Plugins/DynamicScriptLoader/README.md` for host integration and a
Webpack 5 configuration example.

Browser builds keep their normal chunk transport. The Webpack example is
for packaged JavaScript chunks, not a development server or hot module
replacement.

---------

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

Copilot-Session: e36eed22-9b7f-4098-b915-8a84e714ebf7
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e36eed22-9b7f-4098-b915-8a84e714ebf7
@CedricGuillemet
CedricGuillemet marked this pull request as ready for review October 15, 2026 18:44
Copilot AI balanced review requested due to automatic review settings October 15, 2026 18:44

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.

🟡 Changes recommended

One or more issues must be addressed before approval.

2 open findings
What changed in this PR

Vendors the pinned JsRuntimeHost and UrlLib dependencies for the monorepo migration. Landing must preserve history; do not squash.

Changes:

  • Adds dependency sources, tests, licenses, and provenance documentation.
  • Routes FetchContent to tracked sources.
  • Enables embedded desktop runtime tests and runs them in existing CI jobs.
File Description
Documentation/​BuildSystem.md Updated as part of this pull request.
Dependencies/​UrlLib/​UPSTREAM.md Updated as part of this pull request.
Dependencies/​UrlLib/​Tests/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Unix.cpp Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Shared.h Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Base.h Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Apple.mm Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Apple_ObjC.h Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​WebSocket_Android.cpp Updated as part of this pull request.
Dependencies/​UrlLib/​Source/​UrlRequest_UWP.cpp Updated as part of this pull request.
Dependencies/​UrlLib/​README.md Updated as part of this pull request.
Dependencies/​UrlLib/​LICENSE.md Updated as part of this pull request.
Dependencies/​UrlLib/​CONTRIBUTING.md Updated as part of this pull request.
Dependencies/​UrlLib/​.gitignore Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​UPSTREAM.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​webpack.config.js Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Win32/​App.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.TimeoutDispatcher.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.Scheduling.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.NodeApi.JavaScriptCore.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.NodeApi.Hermes.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.NodeApi.Chakra.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Tests.Console.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.webAssembly.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.textEncoder.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.setup.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.performance.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.javaScript.all.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.console.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​tests.abortController.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Scripts/​globals.d.ts Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​macOS/​App.mm Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Linux/​App.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​iOS/​Info.plist Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​iOS/​App.mm Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​App.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​App.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​settings.gradle Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​gradle/​wrapper/​gradle-wrapper.properties Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​gradle.properties Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​build.gradle Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​main/​res/​values/​strings.xml Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​main/​cpp/​JNI.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​main/​cpp/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​main/​AndroidManifest.xml Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​androidTest/​java/​com/​jsruntimehost/​unittests/​WebSocket.java Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​androidTest/​java/​com/​jsruntimehost/​unittests/​Native.java Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​src/​androidTest/​java/​com/​jsruntimehost/​unittests/​Main.java Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​app/​proguard-rules.pro Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Source/​Android/​.gitignore Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Assets/​symlink_target.js Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​UnitTests/​Assets/​sample.json Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​package.json Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​babel-plugin-replace-bigint.js Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​.gitignore Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Tests/​.babelrc Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​XMLHttpRequest/​Source/​XMLHttpRequest.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​XMLHttpRequest/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​XMLHttpRequest/​Include/​Babylon/​Polyfills/​XMLHttpRequest.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​XMLHttpRequest/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​WebSocket/​Source/​WebSocket.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​WebSocket/​Include/​Babylon/​Polyfills/​WebSocket.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​WebSocket/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​URL/​Source/​URLSearchParams.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​URL/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​URL/​Include/​Babylon/​Polyfills/​URL.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​URL/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextEncoder/​Source/​TextEncoder.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextEncoder/​README.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextEncoder/​Include/​Babylon/​Polyfills/​TextEncoder.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextEncoder/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextDecoder/​README.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextDecoder/​Include/​Babylon/​Polyfills/​TextDecoder.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​TextDecoder/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​Source/​TimeoutDispatcher.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​Source/​Scheduling.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​Source/​Scheduling.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​Include/​Babylon/​Polyfills/​Scheduling.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Scheduling/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Performance/​Source/​Performance.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Performance/​Include/​Babylon/​Polyfills/​Performance.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Performance/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​File/​Source/​File.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​File/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​File/​Include/​Babylon/​Polyfills/​File.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​File/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Fetch/​Source/​Fetch.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Fetch/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Fetch/​Include/​Babylon/​Polyfills/​Fetch.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Fetch/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Console/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Console/​Include/​Babylon/​Polyfills/​Console.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Console/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Blob/​Source/​Blob.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Blob/​InternalInclude/​Babylon/​Polyfills/​BlobInternal.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Blob/​Include/​Babylon/​Polyfills/​Blob.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​Blob/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​Source/​AbortSignal.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​Source/​AbortController.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​Source/​AbortController.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​Include/​Babylon/​Polyfills/​AbortController.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Polyfills/​AbortController/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Plugins/​DynamicScriptLoader/​Source/​DynamicScriptLoader.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Plugins/​DynamicScriptLoader/​Include/​Babylon/​Plugins/​DynamicScriptLoader.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Plugins/​DynamicScriptLoader/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Plugins/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​LICENSE.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Documentation/​Readme.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Documentation/​DebugJavaScriptDevTools.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​ScriptLoader/​Include/​Babylon/​ScriptLoader.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​ScriptLoader/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Source/​js_native_api_v8_internals.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Source/​js_native_api_shared.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Source/​env.cc Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Source/​env_v8.cc Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Source/​env_javascriptcore.cc Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​packages.config Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​package-v8.json Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​package-jsc.json Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​nuget.config Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Include/​Engine/​V8/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Include/​Engine/​QuickJS/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Include/​Engine/​JavaScriptCore/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Include/​Engine/​Hermes/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​Include/​Engine/​Chakra/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API/​.clang-format Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​utilities.cmake Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​Source/​env.cc Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​packages.config Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​nuget.config Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​Include/​napi/​env.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-JSI/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-Extensions/​include/​napi/​utilities.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-Extensions/​include/​napi/​pointer.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Node-API-Extensions/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​JsRuntime/​Source/​JsRuntime.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​JsRuntime/​Include/​Babylon/​JsRuntimeScheduler.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​JsRuntime/​Include/​Babylon/​JsRuntime.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​JsRuntime/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLoggerPlatform.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLogger.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLogger_Unix.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLogger_PosixOps.inl Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLogger_Apple.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​StandardStreamLogger_Android.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​PerfTrace.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​DelayedTaskScheduler.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Source/​DebugTrace.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Include/​Babylon/​StandardStreamLogger.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Include/​Babylon/​PerfTrace.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Include/​Babylon/​DebugTrace.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​Include/​Babylon/​Api.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​Foundation/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Source/​V8InspectorTCP.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Source/​V8InspectorSocket.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Source/​V8InspectorClient.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Source/​V8InspectorClient.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Include/​V8InspectorAgent.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​Include/​V8Inc.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​V8Inspector/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​V8Platform.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​V8ForegroundTaskRunner.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_Win32.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_UWP.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_Unix.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_QuickJS.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_macOS.mm Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_JSI.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_JavaScriptCore.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_iOS.mm Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_Hermes.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_Chakra.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Source/​AppRuntime_Android.cpp Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​Include/​Babylon/​Dispatchable.h Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​Core/​AppRuntime/​CMakeLists.txt Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​CONTRIBUTING.md Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​.gitignore Updated as part of this pull request.
Dependencies/​JsRuntimeHost/​.clang-format Updated as part of this pull request.
Dependencies/​CMakeLists.txt Updated as part of this pull request.
CMakeLists.txt Updated as part of this pull request.
BUILDING.md Updated as part of this pull request.
.github/​workflows/​build-win32.yml Updated as part of this pull request.
.github/​workflows/​build-macos.yml Updated as part of this pull request.
.github/​workflows/​build-linux.yml Updated as part of this pull request.

🧠 Review effort: Balanced


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

@CedricGuillemet
CedricGuillemet marked this pull request as draft October 16, 2026 07:42
@CedricGuillemet
CedricGuillemet marked this pull request as ready for review October 16, 2026 09:56

@bghgary bghgary 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.

[Reviewed by Copilot on behalf of @bghgary]

Concerns inline.

Comment thread Dependencies/UrlLib/UPSTREAM.md Resolved
Comment thread Documentation/BuildSystem.md Resolved
Comment thread CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/UrlLib/CMakeLists.txt Resolved
Comment thread Dependencies/JsRuntimeHost/README.md Resolved
Comment thread .github/workflows/build-win32.yml Resolved
Comment thread Install/Test/CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread .github/workflows/build-android.yml Resolved
Comment thread .github/workflows/build-android.yml Resolved
Comment thread Dependencies/bgfx.cmake/README.md Resolved
Comment thread Dependencies/bgfx.cmake/UPSTREAM.md Resolved

@bghgary bghgary 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.

[Reviewed by Copilot on behalf of @bghgary]

Concerns inline.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread Documentation/BuildSystem.md Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/bgfx.cmake/CMakeLists.txt Resolved

@bghgary bghgary 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.

[Reviewed by Copilot on behalf of @bghgary]

Concerns inline.

Comment thread .github/workflows/test-ios.yml Resolved
Comment thread Apps/UnitTests/Source/App.Apple.mm Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread Dependencies/CMakeLists.txt Resolved
Comment thread .gitattributes Resolved
@bghgary
bghgary force-pushed the cedricguillemet-monorepo-step-3-jsruntimehost-urllib branch 2 times, most recently from d6f1405 to ff02a09 Compare October 27, 2026 21:42
bghgary and others added 3 commits October 27, 2026 15:47
Preserve the original repository-import merges and upstream ancestry before applying the integration changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 636a61b5-e53a-4beb-886e-a9d14acd0d00
Use the tracked wrapper and standard dependency declarations without source staging. Keep native pins outside the wrapper and document the active upstream.

Co-authored-by: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 636a61b5-e53a-4beb-886e-a9d14acd0d00
Consolidate component integration, packaging and combined desktop/mobile CI coverage. Keep enabled first-party components in the default build, disambiguate x86 Canvas indexing, and capture iOS termination diagnostics.

Co-authored-by: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 636a61b5-e53a-4beb-886e-a9d14acd0d00
@bghgary
bghgary force-pushed the cedricguillemet-monorepo-step-3-jsruntimehost-urllib branch from 1e4db2c to da9131c Compare October 27, 2026 22:51
@bghgary
bghgary merged commit e79a4e3 into BabylonJS:master Oct 27, 2026
32 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.