refactor(control-station): separate lidar diagnostics from datasets

This commit is contained in:
DCCONSTRUCTIONS
2026-07-25 13:06:49 +03:00
parent f57d64bf52
commit c01712c30d
14 changed files with 939 additions and 341 deletions
@@ -610,6 +610,6 @@ test("LiDAR fetchers use read-only endpoints and workspace is registered", async
method: "GET",
},
]);
assert.equal(workspaceById("lidar-quality").root, "data");
assert.equal(workspaceById("lidar-quality").root, "fleet");
assert.equal(workspaceById("lidar-quality").kind, "lidar-quality");
});
@@ -314,6 +314,8 @@ test("Polygon is a worker-gated product root and keeps a compatible direct route
workspacesForRoot("polygon").some(({ id }) => id === "polygon-run"),
true,
);
assert.equal(workspaceById("polygon-datasets").root, "polygon");
assert.equal(workspaceById("polygon-datasets").kind, "polygon-datasets");
assert.equal(
workspacesForRoot("system").some(({ id }) => id === "polygon-run"),
false,