fix: allow cloud web runtime build to finish

This commit is contained in:
root
2026-07-20 23:19:27 +02:00
parent 54a12389d1
commit fba3bbd894
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -743,6 +743,13 @@ test("v03 render keeps node identity as data instead of generated structure", as
assert.equal(cloudApiEnv.has("HWLAB_SESSION_COOKIE_DOMAIN"), false);
const cloudWeb = (workloadsJson.items ?? []).find((item) => item.kind === "Deployment" && item.metadata?.name === "hwlab-cloud-web");
const cloudWebContainer = collectContainersFromItem(cloudWeb).find((container) => container.name === "hwlab-cloud-web");
assert.deepEqual(cloudWebContainer?.startupProbe, {
httpGet: { path: "/health/live", port: "http" },
periodSeconds: 10,
timeoutSeconds: 3,
failureThreshold: 90,
successThreshold: 1
});
const cloudWebEnv = new Map((cloudWebContainer?.env ?? []).map((entry) => [entry.name, entry.value]));
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_LIVE_KAFKA_SSE_ENABLED"), "true");
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_KAFKA_REFRESH_REPLAY_ENABLED"), "true");