DealDocumentScreening/tests/unit
febux b279d6c61a Switch observability to passive collection: remove OTLP push, Vector replaces otel-collector
- core/telemetry.py is now a no-op (no opentelemetry imports); entrypoints
  no longer call setup/shutdown telemetry
- Remove all opentelemetry-* deps from pyproject groups; regenerate uv.lock
- Drop otel_exporter_otlp_endpoint/otel_service_name settings; sentry and
  auth use "contract-check" instead
- Stop publishing worker metrics ports; bind API metrics to 127.0.0.1 by
  default via API_METRICS_BIND_HOST
- Replace otel-collector with Vector in observer profile (docker_logs +
  prometheus_scrape -> OpenObserve); add deploy/observability/vector-config.yaml
- Update .env.example, docs (ARCHITECTURE, DEPLOY), README, Makefile
- Rewrite tests/unit/test_telemetry.py for the no-op implementation
2026-09-06 19:17:08 +03:00
..
conftest.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_analyze_classify.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_auth.py Init commit 2026-08-12 21:29:36 +03:00
test_billing_yookassa.py User profile with billing base was added. 2026-08-25 20:52:50 +03:00
test_bot_boundary.py M1: bot webhook delivery - secret-token aiohttp server, /healthz, mode switch, TLS-edge routing (#001, #002) 2026-09-06 14:53:22 +03:00
test_bot_client.py Init commit 2026-08-12 21:29:36 +03:00
test_bot_profile.py User profile with billing base was added. 2026-08-25 20:52:50 +03:00
test_bot_rate_limiter.py TG bot was separated as service with envs. 2026-09-05 00:08:26 +03:00
test_bot_stage_labels.py Bot reports list statuses were fixed. 2026-09-06 17:52:31 +03:00
test_bot_webhook.py M1: bot webhook delivery - secret-token aiohttp server, /healthz, mode switch, TLS-edge routing (#001, #002) 2026-09-06 14:53:22 +03:00
test_checklist_report.py Init commit 2026-08-12 21:29:36 +03:00
test_chunker.py Some refactoring. Image extractor was wired end-to-end. 2026-09-05 21:24:04 +03:00
test_compensation.py Fix issues hardening by plan. M1: .scratch/pipeline-hardening/issues/001 2026-09-05 23:18:19 +03:00
test_consumer_hook_guard.py Fix issues hardening by plan. M1: .scratch/pipeline-hardening/issues/001 2026-09-05 23:18:19 +03:00
test_credits.py Init commit 2026-08-12 21:29:36 +03:00
test_db_models_sync.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_db_session.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_extract_handler.py Some refactoring. Image extractor was wired end-to-end. 2026-09-05 21:24:04 +03:00
test_extraction_adapters.py Some refactoring. Image extractor was wired end-to-end. 2026-09-05 21:24:04 +03:00
test_extraction_factory.py Some refactoring. Image extractor was wired end-to-end. 2026-09-05 21:24:04 +03:00
test_extractor.py Init commit 2026-08-12 21:29:36 +03:00
test_http_logging.py Unit tests fix. 2026-09-02 23:54:54 +03:00
test_llm_ollama_cloud.py Init commit 2026-08-12 21:29:36 +03:00
test_llm_prescreen_extraction.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_llm_yandex_gpt.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_messages.py Init commit 2026-08-12 21:29:36 +03:00
test_mq_management.py fixup(pipeline-hardening M4/M5): purge count, shared toast helper, clean imports 2026-09-06 01:18:33 +03:00
test_passkeys.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_prescreen_extractor.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_prescreen_extractor_heuristic.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_prescreen_extractor_hybrid.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_prescreen_extractor_llm.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_prescreen_router.py Prescreen stage was added. Docs synced. Some refactoring of worker 2026-08-17 20:49:29 +03:00
test_profile_schemas.py User profile with billing base was added. 2026-08-25 20:52:50 +03:00
test_rate_limit.py Init commit 2026-08-12 21:29:36 +03:00
test_refund_calculator.py User profile with billing base was added. 2026-08-25 20:52:50 +03:00
test_repositories.py Phase 2 - Raw SQL migration, pytest-cov coverage gate, CI branch 2026-08-24 00:45:39 +03:00
test_review_repository.py M4: admin manual-review queue and operator actions (#017, #018) 2026-09-05 23:47:45 +03:00
test_telemetry.py Switch observability to passive collection: remove OTLP push, Vector replaces otel-collector 2026-09-06 19:17:08 +03:00
test_web_auth.py New notification service was added. Auth routes were extended. 2026-08-13 00:08:51 +03:00
test_worker_billing.py Fix issues hardening by plan. M1: .scratch/pipeline-hardening/issues/001 2026-09-05 23:18:19 +03:00