refactor(platform): bound lab canon and contour identity

This commit is contained in:
DCCONSTRUCTIONS
2026-08-05 12:00:27 +03:00
parent de12e96297
commit 6d0abbc569
10 changed files with 199 additions and 8 deletions
@@ -9,7 +9,7 @@ async function read(relativePath) {
return readFile(new URL(relativePath, sourceRoot), "utf8");
}
test("Worker 006 telemetry remains a bounded system feature slice", async () => {
test("Compute-contour telemetry remains a bounded system feature slice", async () => {
const [
productModel,
workspaceHub,
@@ -88,6 +88,18 @@ test("Worker 006 telemetry remains a bounded system feature slice", async () =>
assert.match(panelActions, /actions\.push\(\.\.\.systemUtilityActions\)/);
assert.match(contourSettingsHook, /icon: "refresh"/);
assert.match(contourSettingsHook, /icon: "settings"/);
assert.doesNotMatch(contourSettingsHook, /contour_id\s*!==\s*"worker-006"/);
assert.doesNotMatch(
computeWorkspace,
/contour_id\s*===\s*"worker-006"[\s\S]*telemetry_mode/,
);
assert.doesNotMatch(
networkWorkspace,
/contour_id\s*===\s*"worker-006"[\s\S]*telemetry_mode/,
);
assert.doesNotMatch(contourSettings, /<dt>Worker 006<\/dt>/);
assert.match(contourSettings, /contour\?\.display_name/);
assert.match(telemetryPolling, /Вычислительный контур не ответил\./);
assert.match(contourSettings, /FieldFrame label="Операционная система"/);
assert.match(contourSettings, /label="Обновление интерфейса"/);
assert.match(contourSettings, /label="Интервал MQTT агента"/);