|
All checks were successful
CI Trade-In / changes (pull_request) Successful in 8s
CI / changes (pull_request) Successful in 8s
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 51s
ext_id=NULL rows never conflict under Postgres default NULLS DISTINCT, so the ON CONFLICT (ext_source, name, ext_id) DO UPDATE in _upsert_cian_valuation_management_company was dead code — every valuation cache-miss for the same building inserted a fresh duplicate management_companies row instead of deduping by name. Replaced with an explicit SELECT-then-branch (UPDATE existing / INSERT new); docstring corrected to stop claiming the constraint dedups it. Found by deep-code-reviewer on #2435. Refs #2435 |
||
|---|---|---|
| .. | ||
| app | ||
| data/sql | ||
| scripts | ||
| tests | ||
| .dockerignore | ||
| Dockerfile | ||
| pyproject.toml | ||