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

stephenafamo / bob / 25060927406
44%
main: 47%

Build:
Build:
LAST BUILD BRANCH: perf/loader-eq-any-composite_index
DEFAULT BRANCH: main
Ran 29 Apr 2026 12:19PM UTC
Jobs 2
Files 241
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

28 Apr 2026 03:04PM UTC coverage: 43.8%. Remained the same
25060927406

Pull #661

github

wucm667
fix(pgx): return ErrTxClosed from Commit instead of swallowing it

When a transaction is already closed (e.g., rolled back by the context
expiry goroutine), Commit() should return pgx.ErrTxClosed to inform
the caller that the commit did not succeed.

Swallowing this error makes the client believe the commit succeeded
when it actually failed, which can lead to silent data loss.

This aligns with Go stdlib behavior where sql.Tx.Commit() returns
ErrTxDone if the transaction is already closed.

Rollback() continues to swallow ErrTxClosed to support the idiomatic
defer tx.Rollback() pattern.

Fixes #640
Pull Request #661: fix(pgx): return ErrTxClosed from Commit instead of swallowing it

0 of 1 new or added line in 1 file covered. (0.0%)

10451 of 23861 relevant lines covered (43.8%)

590.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% drivers/pgx/tx.go
Jobs
ID Job ID Ran Files Coverage
1 go-stable - 25060927406.1 29 Apr 2026 12:20PM UTC 241
43.8
GitHub Action Run
2 go-oldstable - 25060927406.2 29 Apr 2026 12:19PM UTC 241
43.8
GitHub Action Run
Source Files on build 25060927406
  • Tree
  • List 241
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #661
  • PR Base - main (#24941411128)
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