• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Clinical-Genomics / cg / 15536800432
75%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2025 02:23PM UTC
Jobs 1
Files 835
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jun 2025 02:20PM UTC coverage: 100.0% (+16.0%) from 84.03%
15536800432

push

github

web-flow
patch wrong analysis set as complete in cases with multiple analyses (#4435)

## Description
The AnalysisAPI method `update_analysis_as_completed_statusdb` used in the `store` methods picked up the analysis with the latest `completed_at` date to be stored. Still, by this point all of the analyses of the case had `completed_at = None`, making the function pick up the wrong analysis for updating. This PR changes the sorting to `started_at` instead.

### Added

- New CRUD function `get_latest_started_analysis_for_case` with tests

### Changed

- AnalysisAPI method `update_analysis_as_completed_statusdb` so that it uses the new function

---------

Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se>

10 of 10 new or added lines in 2 files covered. (100.0%)

42 of 42 relevant lines covered (100.0%)

635.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15536800432.1 09 Jun 2025 02:23PM UTC 835
85.84
GitHub Action Run
Source Files on build 15536800432
  • Tree
  • List 835
  • Changed 0
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 62eab0c9 on github
  • Prev Build on master (#15530290674)
  • Next Build on master (#15558145500)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc