fix(perf): normalize outbound quality cutoff
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 2m51s
CD Pipeline / build-and-deploy (push) Successful in 15m25s
CD Pipeline / post-deploy-checks (push) Successful in 3m5s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 1s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 22s

This commit is contained in:
Your Name
2026-07-17 05:41:06 +08:00
parent c100a1ca8f
commit e60afe2a05
2 changed files with 10 additions and 1 deletions

View File

@@ -233,6 +233,8 @@ async def test_batch_outbound_lookup_never_casts_full_envelope_to_text(
assert all("source_envelope::text" not in sql for sql, _ in calls)
assert all("FROM unnest" not in sql for sql, _ in calls)
assert all("content_preview ILIKE" not in sql for sql, _ in calls)
assert all(params["cutoff"] == cutoff.replace(tzinfo=None) for _, params in calls)
assert all(params["cutoff"].tzinfo is None for _, params in calls)
def test_ansible_audit_keeps_external_incident_id_in_json_not_bigint_column() -> None: