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

cybertec-postgresql / pgwatch / 19360779365
74%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2025 09:54AM UTC
Jobs 1
Files 43
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

14 Nov 2025 09:50AM UTC coverage: 73.757% (+0.03%) from 73.724%
19360779365

push

github

web-flow
[*] fix maintenance task to delete entries of dropped tables (#1020)

* introduce `--maintenance-interval` flag

* modify `--retention` to accept PostgreSQL interval string.

* Use new flags to control deletion and maintenance tasks.

* Test `MaintainUniqueSources()` and `DeleteOldPartitions()`

* update docs reference page to mention new flag.

* run `DeleteOldPartitions()` with `retentionInterval` not `maintenanceInterval`

* Rename test

* Capitalize `set` in flag description.

* Fix typo in comment

* Update maintenance task to remove entries of dropped metric tables from listing table.

* Test removing entries of dropped tables from the listing table.

* Add empty line at end of file

* Ensure there is no error dropping table

* Use `!=` operator instead of `NOT ... = ...`

* Preserve `public.` prefix in `sqlDistinct` query

* substitue `break` with `continue` to avoid breaking
the loop without trimming all elements in `allDistinctMetricTables`

* this is more informative in the logs also.

10 of 13 new or added lines in 1 file covered. (76.92%)

3679 of 4988 relevant lines covered (73.76%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
75.73
0.36% internal/sinks/postgres.go
Jobs
ID Job ID Ran Files Coverage
1 19360779365.1 14 Nov 2025 09:54AM UTC 43
73.76
GitHub Action Run
Source Files on build 19360779365
  • Tree
  • List 43
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19360779365
  • 7bc069dc on github
  • Prev Build on master (#19330344810)
  • Next Build on master (#19428750475)
  • 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

© 2025 Coveralls, Inc