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

umputun / spot / 28690570935
84%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2026 01:22AM 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

04 Jul 2026 01:20AM UTC coverage: 83.992% (+0.2%) from 83.834%
28690570935

push

github

web-flow
Fix multiline wait swallowing errors, wire delete exclude through (#352)

* Fix multiline wait swallowing errors, wire delete exclude through

Previously, a multiline wait command that timed out was reported as
successful when the remote temp-dir cleanup succeeded, because the
teardown defer overwrote the returned error with nil.

Previously, the delete command ignored its documented exclude patterns
and removed files the playbook asked to keep. Wiring it through:

- isExcludedSubPath now protects any ancestor of an excluded path, not
  just the immediate parent, so exclusions nested deeper than one level
  survive.
- Remote recursive delete removes the whole tree when no exclude pattern
  matched, matching the local executor, and logs a WARN in that case so
  a mistyped pattern is not silently destructive.
- The dir-glob rule (a 'dir/*' pattern also protecting the directory it
  names) is now gated on the entry being a directory, threaded through
  all isExcluded call sites, so a pattern like 'dir*/*' no longer
  excludes a plain file such as 'data.txt'.
- Exclusion matching uses forward-slash semantics on all platforms, so
  documented patterns work with windows local paths too.
- exclude requires recur and is rejected without it, symmetric between
  sudo and non-sudo; sudo+exclude is still rejected. Both errors name the
  offending location, and mdelete validates all entries before deleting
  any of them.

The wait teardown fix mirrors Script: the teardown error is only
surfaced when there is no primary error.

* Address round-2 review: remote warn gating, glob dir excludes, site docs

- Gate the remote no-match delete WARN on a non-empty exclude list, so an
  exclude-free recursive delete (e.g. temp-dir cleanup after every
  multiline script or wait) no longer logs a spurious warning; local was
  already guarded by its len(excl)==0 early return.
- Remote Upload and findMatchedFiles now stat each glob match and pass the
  real isDir to isExcluded, ... (continued)

97 of 106 new or added lines in 4 files covered. (91.51%)

1 existing line in 1 file now uncovered.

3190 of 3798 relevant lines covered (83.99%)

58.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
84.97
0.23% pkg/runner/commands.go
3
79.28
0.03% pkg/executor/remote.go
2
81.18
0.15% pkg/executor/local.go

Coverage Regressions

Lines Coverage ∆ File
1
79.28
0.03% pkg/executor/remote.go
Jobs
ID Job ID Ran Files Coverage
1 28690570935.1 04 Jul 2026 01:22AM UTC 19
83.99
GitHub Action Run
Source Files on build 28690570935
  • Tree
  • List 19
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bcba7cab on github
  • Prev Build on master (#28689990513)
  • Next Build on master (#28714399250)
  • 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