Merge pull request #2390 from pikasTech/test/1559-envreuse-gateway-code

test: touch gateway code identity for env reuse
This commit is contained in:
Lyon
2026-07-06 11:28:06 +08:00
committed by GitHub
+1 -1
View File
@@ -15,7 +15,7 @@ const pollIntervalMs = parsePositiveInteger(process.env.HWLAB_GATEWAY_POLL_INTER
const commandTimeoutMs = parsePositiveInteger(process.env.HWLAB_GATEWAY_CMD_TIMEOUT_MS, 120000);
const outputLimitBytes = parsePositiveInteger(process.env.HWLAB_GATEWAY_CMD_OUTPUT_LIMIT_BYTES, 65536);
const maxInflightRequests = parsePositiveInteger(process.env.HWLAB_GATEWAY_MAX_INFLIGHT, 3);
// CI probe: touches only the hwlab-gateway code identity for env reuse validation.
// CI probe: touches only the hwlab-gateway code identity for env reuse validation round 2.
const gatewayEnvironment = normalizeEnvironment(process.env.HWLAB_ENVIRONMENT || process.env.HWLAB_GITOPS_PROFILE || ENVIRONMENT_DEV);
const resourceId = process.env.HWLAB_GATEWAY_RESOURCE_ID ?? "res_windows_host";
const boxId = process.env.HWLAB_GATEWAY_BOX_ID ?? "box_windows_host";