|
All checks were successful
CI Trade-In / changes (pull_request) Successful in 8s
CI / changes (pull_request) Successful in 8s
CI Trade-In / browser-tests (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Successful in 2m5s
CI Trade-In / backend-tests (pull_request) Successful in 3m16s
CI / backend-tests (pull_request) Successful in 15m43s
Три инцидента за сутки (#2722, #2729, #2740) — один класс дефекта: проверка, которая тихо не исполняется, со временем перестаёт быть верной. Ревизия всех механизмов пропуска в репозитории нашла ещё четыре таких места. 1. test_gar_flats_loader::test_upsert_and_canon_match_populates_gar_flat_count падал ДО первого утверждения: `text()` читает `(?:Россия|...)` в regexp как bind-параметр `:Россия` и бросает InvalidRequestError. Тест жил с 2026-06-28 под skipif «нет БД» и с реальной Postgres не запускался никогда. Перевод на exec_driver_sql (драйверный путь не парсит bind-имена) — 23 passed. 2. requires_scrape_cadastre — skipif с причиной «нужно смержить PR #170». PR #170 давно в main, модуль на месте, условие не срабатывало никогда: мёртвый гард на трёх тестах. Снят. 3. Четыре теста X-Admin-Token (test_admin_cadastre, test_admin_ekburg_permits, test_admin_weight_profiles ×2) проверяли гейт, удалённый в #437: endpoint'ы не несут verify_admin_token, сам helper в app/core/deps.py уже никем не импортируется. 401 недостижим без реверта security-решения — тесты удалены, а не «пропущены навсегда». Замена покрыта tests/test_rbac.py (24 теста). 4. test_ekb_ppt_tep_parser искал образец по абсолютному C:/Users/user/... — условие пропуска не выполнялось ни на одной машине, кроме одного дев-бокса, т.е. 6 тестов были не пропущены, а мертвы. Путь стал repo-relative, причина пропуска печатает конкретный ожидаемый путь. Тесты не удалялись ради зелени: удалены только те, чьё проверяемое поведение намеренно убрано из продукта, с указанием, что покрывает его замену. |
||
|---|---|---|
| .. | ||
| api | ||
| fixtures | ||
| integration | ||
| scrapers | ||
| scripts | ||
| services | ||
| smoke | ||
| sql | ||
| workers | ||
| __init__.py | ||
| conftest.py | ||
| test_admin_weight_profiles.py | ||
| test_app_logging.py | ||
| test_audit_middleware.py | ||
| test_auth_db.py | ||
| test_auth_session_guard.py | ||
| test_auth_session_service.py | ||
| test_concepts_stub.py | ||
| test_connection_capacity_loaders.py | ||
| test_eesk_reserve_loader.py | ||
| test_eias_heat_loader.py | ||
| test_ekb_geoportal_client.py | ||
| test_ekgas_outlet_loader.py | ||
| test_gas_grs_loader.py | ||
| test_gate_verdict.py | ||
| test_gisogd66_loader.py | ||
| test_health.py | ||
| test_layout_signature.py | ||
| test_layout_tz_html.py | ||
| test_layout_tz_pdf.py | ||
| test_network_obremenenie.py | ||
| test_network_zone_humanize.py | ||
| test_noise_loader.py | ||
| test_nspd_client.py | ||
| test_nspd_sync.py | ||
| test_ors_client.py | ||
| test_osm_tp_geocoder.py | ||
| test_osrm_client_local.py | ||
| test_ping.py | ||
| test_poi_score.py | ||
| test_quarter_dump_lookup.py | ||
| test_rbac.py | ||
| test_riasurt_sverdl_client.py | ||
| test_saturation.py | ||
| test_sentry_init.py | ||
| test_utility_infrastructure_loader.py | ||
| test_velocity.py | ||
| test_weight_profiles.py | ||