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

corridor / sqlalchemy-history / 7457900041
94%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2024 07:26AM UTC
Jobs 1
Files 97
Run time 6s
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 Jan 2024 07:22AM UTC coverage: 97.411% (+0.006%) from 97.405%
7457900041

push

github

indiVar0508
fix(#121): handle join_txn_mode for version_session

- SQLA 2.0 introduced new session param called `join_transaction_mode`
  which changes the behaviour of how existing transactions are handled

- When using a Connection with an existing SAVEPOINT:
  `SQLA-1.4`: the Session would propagate both commit() and rollback()
  calls to the underlying transaction.
  `SQLA-2.0`: use join_transaction_mode=control_fully to replicate the
  same behaviour.

- When using a Connection without an existing SAVEPOINT:
  `SQLA-1.4`: the Session would propagate only rollback() calls to the
  underlying transaction.
  `SQLA-2.0`: use join_transaction_mode=rollback_only to replicate the
  same behaviour.

- use `rollback_only` mode while creation of version_session, as it is
  using an existing connection, and we are never doing a commit() on it.

1003 of 1111 branches covered (0.0%)

Branch coverage included in aggregate %.

5130 of 5185 relevant lines covered (98.94%)

19.02 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 sqlalchemy-history 7457900041.1 09 Jan 2024 07:27AM UTC 97
97.41
GitHub Action Run
Source Files on build 7457900041
  • Tree
  • List 97
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7457900041
  • a82411da on github
  • Prev Build on master (#7457305400)
  • Next Build on master (#7463796102)
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

© 2025 Coveralls, Inc