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

cybertec-postgresql / pgwatch / 20032611416
75%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2025 03:08PM UTC
Jobs 1
Files 44
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

08 Dec 2025 03:04PM UTC coverage: 73.988% (+0.02%) from 73.972%
20032611416

push

github

web-flow
[*] set lock_timeout via connection RuntimeParams instead of per-query transaction (#1067)

* [*] set lock_timeout via connection RuntimeParams instead of per-query transaction

Reduces metric queries from 4 roundtrips (BEGIN/SET/query/COMMIT) to 1 by
setting lock_timeout at connection level via pgx RuntimeParams.

- Set lock_timeout in RuntimeParams for PostgreSQL sources on connect
- Simplify QueryMeasurements by removing transaction wrapper
- Set to "0" to disable lock_timeout

Ref: https://brandur.org/fragments/postgres-parameters

* [*] update tests to match new connection-level lock_timeout

Tests no longer expect transaction wrapping (BEGIN/SET/COMMIT) since
lock_timeout is now set via RuntimeParams at connection time.

* remove proposed `ConnLockTimeout` option

User may control connection options through connection string, e.g.
`--source=postgresql://foo:baz@bar/db?lock_timeout=100`

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pavlo Golub <pavlo.golub@gmail.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

3766 of 5090 relevant lines covered (73.99%)

0.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.66
0.28% internal/reaper/database.go
Jobs
ID Job ID Ran Files Coverage
1 20032611416.1 08 Dec 2025 03:08PM UTC 44
73.99
GitHub Action Run
Source Files on build 20032611416
  • Tree
  • List 44
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20032611416
  • b38f22ed on github
  • Prev Build on master (#19968648019)
  • Next Build on master (#20057129747)
  • 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