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

cybertec-postgresql / pgwatch / 20718256627
75%

Build:
DEFAULT BRANCH: master
Ran 05 Jan 2026 02:23PM UTC
Jobs 1
Files 46
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

05 Jan 2026 02:19PM UTC coverage: 74.573% (+0.7%) from 73.901%
20718256627

push

github

web-flow
[!] add schema migration support for PostgreSQL sinks, closes #1110 (#1111)

- Add `admin.migration` table and migration infrastructure to sink
- Implement `Migrate()` and `NeedsMigration()` for `PostgresWriter` and
`MultiWriter`
- Add migration checks during sink initialization with error messages
- Extend `config init/upgrade` commands to support sink migrations
- `NewWriterFromPostgresConn` now returns nil writer on errors
- Add comprehensive test coverage for migration happy/unhappy paths
- Update docs to document sink database migration support

Migration pattern follows existing metrics database approach, ensuring
both config and sink databases can be upgraded independently using the
same `pgwatch config upgrade` command.

99 of 124 new or added lines in 5 files covered. (79.84%)

3971 of 5325 relevant lines covered (74.57%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
76.63
3.42% internal/sinks/postgres.go
22
70.79
-4.62% internal/cmdopts/cmdconfig.go
Jobs
ID Job ID Ran Files Coverage
1 20718256627.1 05 Jan 2026 02:23PM UTC 46
74.57
GitHub Action Run
Source Files on build 20718256627
  • Tree
  • List 46
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20718256627
  • 2a147ad6 on github
  • Prev Build on master (#20659178727)
  • Next Build on master (#20746606366)
  • 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