feat(simulation): load combined rover collision
This commit is contained in:
@@ -352,7 +352,11 @@ def test_gateway_rejects_symlink_source_and_token(tmp_path: Path) -> None:
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"result_schema",
|
||||
["gaussian-pipeline.build-result/v1", "gaussian-pipeline.build-result/v2"],
|
||||
[
|
||||
"gaussian-pipeline.build-result/v1",
|
||||
"gaussian-pipeline.build-result/v2",
|
||||
"gaussian-pipeline.build-result/v3",
|
||||
],
|
||||
)
|
||||
def test_gateway_submits_tracks_and_imports_digest_bound_artifact(
|
||||
tmp_path: Path,
|
||||
|
||||
@@ -225,7 +225,7 @@ def test_service_materializes_world_manifest_and_deletes_both_copies(tmp_path: P
|
||||
assert provider.deleted == ["gsp-20260826000000-deadbeef"]
|
||||
|
||||
|
||||
def test_world_manifest_prefers_seed_connected_rover_terrain() -> None:
|
||||
def test_world_manifest_prefers_combined_rover_collision_world() -> None:
|
||||
manifest = _world_manifest(
|
||||
"sim-" + "a" * 32,
|
||||
[
|
||||
@@ -237,12 +237,16 @@ def test_world_manifest_prefers_seed_connected_rover_terrain() -> None:
|
||||
"role": "rover-terrain-mesh",
|
||||
"logical_path": "rover/terrain.collision.glb",
|
||||
},
|
||||
{
|
||||
"role": "rover-collision-mesh",
|
||||
"logical_path": "rover/scene.collision.glb",
|
||||
},
|
||||
],
|
||||
)
|
||||
|
||||
assert manifest["collision"]["available"] is True
|
||||
assert manifest["collision"]["mesh_url"].endswith(
|
||||
"/artifacts/rover/terrain.collision.glb"
|
||||
"/artifacts/rover/scene.collision.glb"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user