scholarr/tests/unit
Justin Visser f50b609a36 fix(db,frontend): reserve DB connections for API and reduce frontend polling
Background tasks (ingestion, PDF resolution, scheduler) now acquire an
asyncio.Semaphore before checking out a DB connection, guaranteeing at
least N connections remain available for API request handlers. Removes
duplicate polling loop from PublicationsPage, debounces publication
reload on run-status changes, and increases poll interval from 5s to 15s
since SSE handles live discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 19:09:06 +01:00
..
services/domains fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_auth_primitives.py remove legacy in-memory search state fallback 2026-02-19 22:31:26 +01:00
test_crossref_lookup.py Initial release prep 2026-02-27 10:46:05 +01:00
test_doi_normalize.py Initial release prep 2026-02-27 10:46:05 +01:00
test_fingerprints.py Initial release prep 2026-02-27 10:46:05 +01:00
test_healthz.py removed old UI 2026-02-17 15:21:08 +01:00
test_ingestion_arxiv_rate_limit.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_ingestion_progress_reporting.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_logging.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_logging_policy.py after audit 2026-03-01 18:14:22 +01:00
test_portability_import.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_portability_normalize.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_publication_identifiers.py Initial release prep 2026-02-27 10:46:05 +01:00
test_publication_pdf_queue_policy.py fix(db,frontend): reserve DB connections for API and reduce frontend polling 2026-03-02 19:09:06 +01:00
test_publication_pdf_resolution_pipeline.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_request_delay_policy.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
test_run_safety.py Initial release prep 2026-02-27 10:46:05 +01:00
test_runs_summary.py Initial release prep 2026-02-27 10:46:05 +01:00
test_scholar_parser.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_scholar_search_safety.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_scholar_source.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_scholar_validators.py after audit 2026-03-01 18:14:22 +01:00
test_scholars_create_hydration.py fix: resolve mypy errors, fix arxiv test session isolation, and add premerge script 2026-03-02 12:46:10 +01:00
test_security_headers.py feat: production-harden app and finalize merge-ready UX/theme baseline 2026-02-19 15:43:20 +01:00
test_unpaywall_pdf_discovery.py Initial release prep 2026-02-27 10:46:05 +01:00
test_unpaywall_resolution.py Initial release prep 2026-02-27 10:46:05 +01:00
test_user_settings.py Initial release prep 2026-02-27 10:46:05 +01:00
test_user_validation.py after audit 2026-03-01 18:14:22 +01:00