fix(cd): bound asset integrity preflight
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m17s
CD Pipeline / build-and-deploy (push) Successful in 14m43s
CD Pipeline / post-deploy-checks (push) Successful in 1m58s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 23s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m17s
CD Pipeline / build-and-deploy (push) Successful in 14m43s
CD Pipeline / post-deploy-checks (push) Successful in 1m58s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 23s
This commit is contained in:
@@ -2228,7 +2228,11 @@ jobs:
|
||||
applied = False
|
||||
try:
|
||||
# Do not let a corrupt-but-valid unique index hide duplicate
|
||||
# heap rows from either the preflight or post-verifier.
|
||||
# heap rows from either the preflight or post-verifier. The
|
||||
# migration uses the same bounded timeout, but the preflight
|
||||
# runs before that SQL and must not inherit a shorter role
|
||||
# default.
|
||||
await connection.execute("SET statement_timeout TO '90s'")
|
||||
await connection.execute("SET enable_indexscan TO off")
|
||||
await connection.execute("SET enable_indexonlyscan TO off")
|
||||
await connection.execute("SET enable_bitmapscan TO off")
|
||||
|
||||
@@ -53,6 +53,7 @@ def test_cd_runs_bounded_integrity_repair_and_independent_verifier() -> None:
|
||||
assert "--network bridge" in script
|
||||
assert "--network host" not in script
|
||||
assert "asset_inventory_canonical_integrity_2026-07-14.sql" in script
|
||||
assert "SET statement_timeout TO '90s'" in script
|
||||
assert "SET enable_indexscan TO off" in script
|
||||
assert "SET enable_indexonlyscan TO off" in script
|
||||
assert "SET enable_bitmapscan TO off" in script
|
||||
|
||||
Reference in New Issue
Block a user