Merge pull request #2707 from pikasTech/fix/cloud-web-npm-registry
Pipelines as Code CI / hwlab-nc01-v03-ci-poll- Success

修复 v03 Cloud Web 启动依赖源
This commit is contained in:
Lyon
2026-07-21 05:44:23 +08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -763,6 +763,8 @@ lanes:
- deploy/runtime/boot/opencode-provider-proxy.sh
- tools/src/hwlab-cli/trace-renderer.ts
env:
BUN_CONFIG_REGISTRY: https://registry.npmjs.org/
npm_config_registry: https://registry.npmjs.org/
HWLAB_CLOUD_WEB_DISPLAY_TIME_ZONE: Asia/Shanghai
HWLAB_CLOUD_WEB_DISPLAY_TIME_LOCALE: zh-CN
HWLAB_CLOUD_WEB_DISPLAY_TIME_LABEL: 北京时间
+2
View File
@@ -751,6 +751,8 @@ test("v03 render keeps node identity as data instead of generated structure", as
successThreshold: 1
});
const cloudWebEnv = new Map((cloudWebContainer?.env ?? []).map((entry) => [entry.name, entry.value]));
assert.equal(cloudWebEnv.get("BUN_CONFIG_REGISTRY"), "https://registry.npmjs.org/");
assert.equal(cloudWebEnv.get("npm_config_registry"), "https://registry.npmjs.org/");
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_LIVE_KAFKA_SSE_ENABLED"), "true");
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_KAFKA_REFRESH_REPLAY_ENABLED"), "true");
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_PROJECTION_REALTIME_ENABLED"), "false");