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

Clinical-Genomics / cg / 15536800432 / 1
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2025 02:23PM UTC
Files 835
Run time 1min
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: 85.843% (+0.002%) from 85.841%
15536800432.1

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>

26675 of 31074 relevant lines covered (85.84%)

0.86 hits per line

Source Files on job 15536800432.1
  • Tree
  • List 835
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15536800432
  • 62eab0c9 on github
  • Prev Job for on master (#15530290674.1)
  • Next Job for on master (#15558145500.1)
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