fix(tradein/scrapers): clamp implausible listing/publish dates (LOW audit R2 #6) #2507

Merged
bot-backend merged 1 commit from fix/tradein-scraper-listing-date-bounds into main 2026-07-12 22:11:07 +00:00

1 commit

Author SHA1 Message Date
bot-backend
0e0911dd28 fix(tradein/scrapers): clamp implausible listing/publish dates at the save choke point
All checks were successful
CI Trade-In / changes (pull_request) Successful in 10s
CI / changes (pull_request) Successful in 10s
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / backend-tests (pull_request) Successful in 1m2s
Avito emits 1970-epoch and near-future listing_date; a single guard in
save_listings() nulls anything outside [2010-01-01, today+2d], covering all
providers. + migration 181 nulls existing bad rows. LOW audit R2 (#6).
2026-07-13 01:03:24 +03:00