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

ghga-de / hexkit / 13832713629
93%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2025 10:48AM UTC
Jobs 1
Files 43
Run time 285min
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

13 Mar 2025 10:43AM UTC coverage: 91.762% (-0.5%) from 92.255%
13832713629

push

github

web-flow
DB Versioning & Migration Tools (GSI-1462) (#159)

* Add migration tools with index copying functionality

* Remove info from MigrationStepError and soft mig fail logs

* Fix index copying and related tests

* Add impossible backward migration test and tweak staging-skip log

* Fix type-hints for 3.9

* Remove strict=True from zip for 3.9 support

* Add test for unapply() happy path

* Enable batch processing in migrate_docs_in_collection()

* Fix batching and add test

* Bump version from 4.1.1 -> 4.2.0

* Add migration idempotence test

* Add unit tests for some helper methods

* Add configurable migration timeout for waiters and test

* Make migration waiting timeout optional, default none

* Fix migration map typing issue

* Add more unit tests and fix doc string typo

* Test index copy enforcement upon collection drop

* Add unit test for validate_doc

* Fix slight problem with failed migration cleanup in auto_finalize()

* Organize integration tests a little better and add integration tests for auto_finalize()

* Fix relative import in tests that was broken in prv commit

* Improve db version record retrieval

Co-authored-by: Christoph Zwerschke <c.zwerschke@dkfz-heidelberg.de>

* Update old example usage in doc string

* Change RuntimeError to ValueError in MigrationManager init

* Spell out abbreviated test helper functions

* Add normal migration test

* Replace migration_type with 'backward' bool and update associated tests

* Remove doc copy in validate_doc

* Use datetimes instead of strings for migration timestamps

* Fix typo

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Improve MigrationStepError and add test

---------

Co-authored-by: Christoph Zwerschke <c.zwerschke@dkfz-heidelberg.de>
Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

303 of 342 new or added lines in 3 files covered. (88.6%)

2328 of 2537 relevant lines covered (91.76%)

0.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
90.32
src/hexkit/providers/mongodb/migrations/_utils.py
24
86.96
src/hexkit/providers/mongodb/migrations/_manager.py
Jobs
ID Job ID Ran Files Coverage
1 13832713629.1 13 Mar 2025 10:48AM UTC 43
91.76
GitHub Action Run
Source Files on build 13832713629
  • Tree
  • List 43
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0fcfb430 on github
  • Prev Build on main (#13632953372)
  • Next Build on main (#14054876435)
  • Delete
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