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

paskal / spot / 28750023671
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/executor-correctness
DEFAULT BRANCH: master
Ran 05 Jul 2026 06:09PM 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

05 Jul 2026 01:21PM UTC coverage: 84.049%. First build
28750023671

push

github

paskal
executor: fix context-cancellation leaks, local copy bugs, drop dead options

- sshRun: buffer the done channel so the command goroutine can exit
  after a ctx-cancel return instead of blocking forever (goroutine leak).
- sftpUpload/sftpDownload: on ctx-cancel, close the per-call sftp client
  to abort the in-flight transfer, then wait for the copy goroutine to
  finish before returning so the deferred Close no longer races the
  io.Copy. Closing the client (not the file) avoids blocking behind the
  sftp write mutex, so cancellation stays prompt.
- Local.Upload: with a multi-file glob and mkdir, create the destination
  directory itself (it is treated as a directory) instead of only its
  parent, and honor context cancellation between files.
- Local.Download: pass the caller context through instead of
  context.Background().
- Connector.String: guard the private-key slice so it does not panic on
  short or empty (agent-only) keys.
- Remove dead options never read by any executor: Checksum from
  UpDownOpts and SyncOpts, and Force from SyncOpts. This also drops the
  config sync 'force' field (an undocumented no-op) and its schema entry;
  under strict YAML parsing a playbook that set 'sync: {force: true}'
  would now fail to parse, which is intended cleanup.

25 of 30 new or added lines in 4 files covered. (83.33%)

3209 of 3818 relevant lines covered (84.05%)

58.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
78.85
pkg/executor/remote.go
1
81.75
pkg/executor/local.go
Jobs
ID Job ID Ran Files Coverage
1 28750023671.1 05 Jul 2026 06:09PM UTC 19
84.05
GitHub Action Run
Source Files on build 28750023671
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 623234cc on github
  • Next Build on fix/executor-correctness (#28754878221)
  • 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