feat(control-station): add compute contour workspace

This commit is contained in:
DCCONSTRUCTIONS
2026-07-28 00:54:49 +03:00
parent 1f4c960cc4
commit 1c0181297d
16 changed files with 987 additions and 262 deletions
@@ -16,6 +16,8 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
computeWorkspace,
pipelineStages,
networkWorkspace,
telemetryPolling,
telemetryStyles,
styles,
] = await Promise.all([
read("productModel.ts"),
@@ -24,6 +26,8 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
read("workspaces/system/ComputeModulesWorkspace.tsx"),
read("components/system/WorkerPipelineStages.tsx"),
read("workspaces/system/NetworkWorkspace.tsx"),
read("core/system/useWorkerTelemetry.ts"),
read("styles/system-telemetry.css"),
read("styles.css"),
]);
@@ -37,10 +41,20 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
assert.match(core, /share_percent/);
assert.doesNotMatch(core, /@nodedc\/ui-react/);
assert.match(computeWorkspace, /useWorkerTelemetry/);
assert.match(computeWorkspace, /WORKER_TELEMETRY_POLL_MILLISECONDS/);
assert.match(computeWorkspace, /WorkerPipelineStages/);
assert.match(pipelineStages, /измеренного времени/);
assert.doesNotMatch(pipelineStages, /CPU|GPU|hardware/);
assert.match(
telemetryPolling,
/WORKER_TELEMETRY_POLL_MILLISECONDS\s*=\s*3_000/,
);
assert.match(
telemetryStyles,
/\.worker-stage-list\s*\{[^}]*grid-template-columns:\s*repeat\(3,/s,
);
assert.match(networkWorkspace, /127\.0\.0\.1:8000/);
assert.match(networkWorkspace, /WORKER_TELEMETRY_POLL_MILLISECONDS/);
assert.doesNotMatch(networkWorkspace, /8765/);
assert.match(styles, /system-telemetry\.css/);
});