Merge pull request #2706 from pikasTech/fix/cloud-web-startup-budget
Pipelines as Code CI / hwlab-nc01-v03-ci-poll- Success

延长 HWLAB L2 Cloud Web 启动构建预算
This commit is contained in:
Lyon
2026-07-21 05:20:26 +08:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -749,6 +749,11 @@ lanes:
artifactKind: cloud-web
healthPath: /health/live
healthPort: 8080
healthProbe:
startup:
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 90
componentPaths:
- web/hwlab-cloud-web/
- internal/dev-entrypoint/cloud-web-runtime.mjs
+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");