fix: 补齐 Workbench API 空闲超时配置
This commit is contained in:
@@ -12,6 +12,13 @@ import { externalPostgresConfigForLane, externalPostgresManifest, opencodeEgress
|
||||
|
||||
import { CLOUD_CORE_MIGRATIONS, CLOUD_TRANSACTIONAL_REALTIME_MIGRATION_ID } from "../internal/db/schema.ts";
|
||||
|
||||
test("v03 Workbench API declares its required Bun idle timeout in owning YAML", async () => {
|
||||
const deploy = parseYaml(await readFile("deploy/deploy.yaml", "utf8"));
|
||||
const service = deploy.lanes.v03.services.find((item: { serviceId?: string }) => item.serviceId === "hwlab-workbench-api");
|
||||
assert.ok(service, "missing v03 hwlab-workbench-api service declaration");
|
||||
assert.equal(service.env?.WORKBENCH_API_IDLE_TIMEOUT_SECONDS, "60");
|
||||
});
|
||||
|
||||
test("production migration uses its YAML-declared database Secret key", async () => {
|
||||
const deploy = parseYaml(await readFile("deploy/deploy.yaml", "utf8"));
|
||||
assert.deepEqual(deploy.lanes.production.workbench.rawHwlabEventWindow, {
|
||||
|
||||
Reference in New Issue
Block a user