fix(cd): align verifier with nullpool budget
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 6m4s
CD Pipeline / build-and-deploy (push) Successful in 15m25s
CD Pipeline / post-deploy-checks (push) Successful in 6m39s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 2s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 26s

This commit is contained in:
ogt
2026-07-16 18:11:01 +08:00
parent 201cbbf81c
commit f7a83378f2
5 changed files with 59 additions and 33 deletions

View File

@@ -230,7 +230,7 @@ def _build_database_identity_boundary(
and workloads[workload_id]["representative_connection_probe_count"]
>= 1
and workloads[workload_id]["available_connection_headroom"]
>= workloads[workload_id]["required_connection_budget"]
>= workloads[workload_id]["representative_connection_probe_count"]
for workload_id in _DB_WORKLOAD_IDS
)
verifier_verified = receipt.get("db_identity_verifier") == _DB_IDENTITY_VERIFIER
@@ -337,7 +337,7 @@ def _build_database_identity_boundary(
)
or workload["representative_connection_probe_count"] < 1
or available_headroom
< required_budget
< workload["representative_connection_probe_count"]
):
blockers.append(f"{workload_id}_connection_budget_not_verified")
if not db_identity_isolated: