Skip to content

Add Python API regression coverage without runtime changes - #34

Merged
shriyahehe merged 2 commits into
mainfrom
tests/python-regression-coverage
Dec 4, 2026
Merged

shriyahehe merged 2 commits into
mainfrom
tests/python-regression-coverage

Conversation

@shriyahehe

@shriyahehe shriyahehe commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds regression coverage for existing BioQuery FastAPI behavior.

The new tests cover:

  • Cache isolation, expiry, and capacity handling
  • PubMed search and paper retrieval edge cases
  • PMC full-text availability handling
  • PDF upload validation
  • Research trend query validation
  • The public health endpoint response contract

Scope and safety

  • Changes only backend/tests/test_api_regressions.py
  • Does not modify production backend modules or frontend code
  • Does not change API routes, response formats, dependencies, environment variables, or deployment settings
  • Uses mocked responses for third-party API behavior; no live PubMed or AI-provider calls are required by these tests

Verification

Please review the GitHub Actions results before merging.

@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bio-query Ready Ready Preview Dec 4, 2026 11:49am UTC

@shriyahehe
shriyahehe merged commit ae1a719 into main Dec 4, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2cef2f7d Deployed Dec 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant