ops: fix internal production host probes
Staging Backend Quality Gate / validate (push) Successful in 12m6s
Staging Backend Quality Gate / publish (push) Successful in 5m8s

This commit is contained in:
Jesse_Chen
2026-08-10 03:41:25 +08:00
parent f6b3301035
commit 18459f03d7
2 changed files with 27 additions and 3 deletions
@@ -988,6 +988,8 @@ test("production runner validates state and migrations before switching exact im
assert.match(runner, /pending migrations: run Migrate Production Database/);
assert.doesNotMatch(runner, /--profile migration run --rm migrator/);
assert.match(runner, /if \[ "\$VERIFICATION_MODE" = "public" \]/);
assert.match(runner, /import http from "node:http"/);
assert.match(runner, /http\.request\(\{[\s\S]*Host: new URL\(origin\)\.host/);
assert.match(runner, /up -d --no-build api web/);
assert.match(runner, /up -d --no-build --force-recreate --no-deps caddy/);
assert.match(runner, /\["identity", "IDENTITY_DATABASE_URL"\]/);