Skip to content

feat: support source-v2 migration runtime and physics compatibility#3066

Draft
luzhuang wants to merge 15 commits into
dev/2.0from
feat/migrate-2.0
Draft

feat: support source-v2 migration runtime and physics compatibility#3066
luzhuang wants to merge 15 commits into
dev/2.0from
feat/migrate-2.0

refactor: isolate loader runtime contract

2f0e8ef
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 14, 2026 in 0s

79.72% (+0.10%) compared to b7bf6f7

View this Pull Request on Codecov

79.72% (+0.10%) compared to b7bf6f7

Details

Codecov Report

❌ Patch coverage is 93.77049% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.72%. Comparing base (b7bf6f7) to head (2f0e8ef).

Files with missing lines Patch % Lines
...ce-deserialize/resources/parser/HierarchyParser.ts 70.73% 12 Missing ⚠️
packages/core/src/physics/PhysicsMaterial.ts 60.86% 9 Missing ⚠️
.../physics-physx/src/shape/PhysXMeshColliderShape.ts 83.33% 8 Missing ⚠️
packages/core/src/physics/DynamicCollider.ts 93.75% 4 Missing ⚠️
packages/physics-physx/src/PhysXDynamicCollider.ts 96.25% 3 Missing ⚠️
packages/core/src/physics/shape/ColliderShape.ts 87.50% 1 Missing ⚠️
packages/loader/src/gltf/GLTFResource.ts 94.73% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           dev/2.0    #3066      +/-   ##
===========================================
+ Coverage    79.61%   79.72%   +0.10%     
===========================================
  Files          904      904              
  Lines       101208   101735     +527     
  Branches     11404    11518     +114     
===========================================
+ Hits         80579    81106     +527     
- Misses       20445    20448       +3     
+ Partials       184      181       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.