fix: declare production raw event window

This commit is contained in:
root
2026-07-17 00:29:02 +02:00
parent fc198b55d0
commit 87feb5c589
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -1000,6 +1000,11 @@ lanes:
port: 5432
migrationSecretName: hwlab-cloud-api-production-db
migrationSecretKey: migration-database-url
workbench:
rawHwlabEventWindow:
enabled: true
maxEntries: 200
maxRetainedBytes: 1048576
envReuseServices: *v03EnvReuseServices
bootScripts: *v03BootScripts
serviceDeclarations: *v03ServiceDeclarations
+5
View File
@@ -14,6 +14,11 @@ import { CLOUD_CORE_MIGRATIONS, CLOUD_TRANSACTIONAL_REALTIME_MIGRATION_ID } from
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, {
enabled: true,
maxEntries: 200,
maxRetainedBytes: 1048576
});
const config = externalPostgresConfigForLane(deploy, "production", { nodeId: "NC01" });
const manifest = externalPostgresManifest({
profile: "production",