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

Slach / clickhouse-dump / 22706047093
77%

Build:
DEFAULT BRANCH: main
Ran 05 Mar 2026 06:52AM UTC
Jobs 1
Files 11
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 Mar 2026 06:50AM UTC coverage: 76.544% (+3.7%) from 72.812%
22706047093

push

github

Slach
fix(ftp): close dumper storage connections to prevent FTP pool exhaustion

The FTP storage connection pool was never closed after dump completed,
causing vsftpd to hit its connection limit when the restore command
tried to open new connections. This caused List/ReadDir calls to hang
and time out, resulting in empty file lists and silent restore failures
(database not found after restore).

Fixes:
- Add Dumper.Close() method and defer it in RunDumper so FTP connections
  are released before restore starts
- Increase FTP Timeout from 10s to 60s for slow CI environments

Diagnostics improvements:
- Enable DEBUG=1 + TESTCONTAINERS_RYUK_DISABLED=true in CI workflow
- Add -timeout 30m to prevent premature test runner cancellation
- Log restoreArgs before app.Run (was logged after)
- Log SHOW DATABASES output after restore for post-mortem analysis
- Log all files found by List() in Restore() with WARNING when zero
  database SQL files are discovered

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

12 of 17 new or added lines in 4 files covered. (70.59%)

1648 of 2153 relevant lines covered (76.54%)

151.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.82
-0.39% main.go
2
71.75
-0.01% restorer.go
1
81.61
1.34% dumper.go
Jobs
ID Job ID Ran Files Coverage
1 run-22706047093 - 22706047093.1 05 Mar 2026 06:52AM UTC 11
76.54
GitHub Action Run
Source Files on build 22706047093
  • Tree
  • List 11
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22706047093
  • 133fe2d5 on github
  • Prev Build on main (#22668122294)
  • Next Build on main (#22706084473)
  • 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