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

woblerr / gpbackman / 23708479011
46%
master: 46%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.9.0
DEFAULT BRANCH: master
Ran 29 Mar 2026 11:57AM UTC
Jobs 1
Files 19
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

29 Mar 2026 11:53AM UTC coverage: 46.135% (+2.8%) from 43.322%
23708479011

Pull #41

github

woblerr
Fix panic: send on closed channel.
The function used a single errCh channel shared between the directory
existence check phase and the delete phase. After the check phase
completed, errCh was closed via sync.Once. When the delete phase
encountered an SSH error, deleteBackupDirOnSegments attempted to send
to the already-closed channel, causing a panic.
The bug is triggered when SSH succeeds for "test -d" but fails for
"rm -rf" (e.g. connection drop). Hard to hit in practice since rm -rf rarely
fails, which is why it went unnoticed.
Fix: use separate channels (checkErrCh, deleteErrCh) for each phase.
Each channel is closed with a plain close() after wg.Wait(), which is
safe since all goroutines have finished. sync.Once is removed as it is
no longer needed.
Pull Request #41: Fix panic: send on closed channel.

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

961 of 2083 relevant lines covered (46.14%)

1.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23708479011.1 29 Mar 2026 11:57AM UTC 19
46.14
GitHub Action Run
Source Files on build 23708479011
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #41
  • PR Base - master (#23708451371)
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