From 47a91acf61291a1f001be5d8912012499709b2c2 Mon Sep 17 00:00:00 2001 From: bot-backend Date: Thu, 17 Sep 2026 13:14:01 +0500 Subject: [PATCH] =?UTF-8?q?test(tradein):=20=D0=BE=D0=B1=D1=8A=D1=8F=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=BF=D1=80=D0=BE=D0=BF=D1=83=D1=81=D0=BA?= =?UTF-8?q?=D0=B8=20live-=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=20=D0=BF?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=20=D0=BF=D1=80=D0=BE=D0=BA=D1=81=D0=B8=20(#3?= =?UTF-8?q?299,=20#3310,=20#3404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Без БД 11 новых live-тестов пропускаются, и гейт conftest роняет прогон («НЕУЧТЁННЫЙ ПРОПУСК», rc=1 при «6226 passed» в сводке). В ci-tradein.yml они идут по-настоящему: локальный прогон на Postgres со схемой из миграций — 6278 passed, 1 skipped, rc=0. Co-Authored-By: Claude Opus 5 --- tradein-mvp/backend/tests/skip_allowlist.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tradein-mvp/backend/tests/skip_allowlist.txt b/tradein-mvp/backend/tests/skip_allowlist.txt index 02194917..80798f49 100644 --- a/tradein-mvp/backend/tests/skip_allowlist.txt +++ b/tradein-mvp/backend/tests/skip_allowlist.txt @@ -146,3 +146,20 @@ tests/test_3463_db_timeouts.py::test_statement_over_ceiling_is_cancelled_not_hun tests/test_3463_db_timeouts.py::test_lock_wait_over_ceiling_is_aborted tests/test_3463_db_timeouts.py::test_set_local_statement_timeout_overrides_session_ceiling tests/test_3463_db_timeouts.py::test_set_local_is_scoped_to_its_transaction + +# Пул прокси (#3299, #3310, #3404) — предикаты выдачи/защиты и атрибуция прогона живут +# в SQL, мок их не проверяет. Live-тесты на схеме из миграций: #3299 и #3310 — в одной +# внешней транзакции с откатом (commit пула = RELEASE savepoint), #3404 — настоящими +# сессиями, строки t3404-* удаляются в finally. В ci-tradein.yml идут по-настоящему +# (postgres-сервис, #2745); на машине без БД и в deploy-tradein.yml — skip. +tests/test_3299_fallback_counts_any_nodes.py::test_dedicated_node_goes_to_other_source_when_any_node_backs_it +tests/test_3299_fallback_counts_any_nodes.py::test_only_dedicated_node_without_any_nodes_stays_protected +tests/test_3299_fallback_counts_any_nodes.py::test_any_node_banned_by_dedicated_source_is_not_a_backup +tests/test_3299_fallback_counts_any_nodes.py::test_unhealthy_any_node_is_not_a_backup +tests/test_3299_fallback_counts_any_nodes.py::test_mark_banned_counts_dedicated_node_reachable_via_any_backup +tests/test_3299_fallback_counts_any_nodes.py::test_mark_banned_still_protects_when_dedicated_node_has_no_usable_backup +tests/test_3310_curl_ban_keeps_last_node.py::test_three_bans_on_last_node_keep_it_in_the_pool +tests/test_3310_curl_ban_keeps_last_node.py::test_transport_failure_still_counts_against_node_health +tests/test_3404_egress_run_attribution.py::test_resolve_within_run_writes_node_to_scrape_runs +tests/test_3404_egress_run_attribution.py::test_resolve_outside_run_writes_nothing +tests/test_3404_egress_run_attribution.py::test_attribution_does_not_commit_callers_transaction