Skip to content

Release 2026.2.4#766

Open
bencap wants to merge 7 commits into
mainfrom
release-2026.2.4
Open

Release 2026.2.4#766
bencap wants to merge 7 commits into
mainfrom
release-2026.2.4

Conversation

@bencap

@bencap bencap commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

bencap and others added 7 commits May 20, 2026 16:11
- Add `src/mavedb/lib/hgnc/client.py` with `fetch_gene_info()` that
  queries the HGNC REST API and returns a `HGNCGeneInfo` dataclass
  (symbol, name, hgnc_id, locus_group, location, omim_id)
- Add `HGNCGeneNotFoundError` and `HGNCServiceError` domain exceptions
  to `lib/exceptions.py`
- Add `HGNC_REST_BASE_URL` constant and package `__init__` files
- Add unit and network integration tests for the new client
- Add `GET /genes/{symbol}` router that fetches HGNC gene identity
  and returns paginated published score sets targeting that gene
- Add `GeneResponse` view model with gene metadata and score set
  pagination fields (limit, offset, total, total_scored_variants)
- Register the genes router in `server_main.py`
- Add `GeneSymbolConverter` for URL path parameter validation
- Add router tests covering happy path and error cases
Add `pytest.importorskip("starlette")` guard to both HGNC client test
files, since the logging context module depends on starlette and would
cause an ImportError in environments where starlette is absent.
- Trigger CI on pull_request events in addition to push
- Run full test suite on release-* branches alongside main
- Add lcov coverage reporting and Coveralls upload to the
  optional-dependencies job (Python 3.11)
- Remove redundant run-tests-3_11 job; fold coverage into the
  existing optional-deps matrix entry
- Ignore generated coverage/ directory in .gitignore
…ch ref

- Restrict push trigger to main and release-* branches only, so that
  direct pushes to feature branches no longer trigger the workflow
- Replace branch-ref conditions (github.ref comparisons) with
  github.event_name checks: fast tests run on pull_request, full tests
  run on push
- Update step names to reflect the new PR/push framing
…eralls-ci-action

ci: Add Coveralls Reporting
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 27219389022

Warning

No base build found for commit 2529330 on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 89.015%

Details

  • Patch coverage: 1 uncovered change across 1 file (161 of 162 lines covered, 99.38%).

Uncovered Changes

File Changed Covered %
src/mavedb/routers/genes.py 54 53 98.15%
Total (6 files) 162 161 99.38%

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 14256
Covered Lines: 12690
Line Coverage: 89.02%
Coverage Strength: 0.89 hits per line

💛 - Coveralls

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.

Add Coveralls coverage reporting to CI

2 participants