V10.403 widen retryable PChome revalidation
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s

This commit is contained in:
OoO
2026-05-24 12:54:00 +08:00
committed by AiderHeal Bot
parent 56f787351a
commit b2dbf98c3b
4 changed files with 29 additions and 7 deletions

View File

@@ -73,7 +73,17 @@ def test_competitor_feeder_persists_all_match_attempt_outcomes():
retryable_source = source.split("def _fetch_retryable_candidate_skus", 1)[1].split(
"def _fetch_expired_identity_skus", 1
)[0]
assert "la.attempt_status IN ('low_score', 'refresh_low_score', 'recoverable_low_score')" in retryable_source
for status in (
"'low_score'",
"'refresh_low_score'",
"'recoverable_low_score'",
"'true_low_confidence'",
"'unit_comparable'",
"'refresh_unit_comparable'",
"'identity_veto'",
):
assert status in retryable_source
assert "OR la.attempt_status = 'identity_veto'" in retryable_source
latest_attempt_source = retryable_source.split("latest_attempt AS", 1)[1].split(
"SELECT\n lm.product_id", 1
)[0]