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

go-pkgz / testutils / 16259092692
71%
main: 81%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.5.0
DEFAULT BRANCH: main
Ran 14 Jul 2025 05:57AM UTC
Jobs 1
Files 9
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 Jul 2025 05:52AM UTC coverage: 70.659% (+0.6%) from 70.031%
16259092692

push

github

web-flow
fix(containers): handle relative paths in SSH container SaveFile (#5)

- Fix createDirRecursive to properly handle both absolute and relative paths
- Add security validation to prevent path traversal attacks
- Eliminate race condition in directory creation
- Add comprehensive tests for relative paths and security scenarios
- Update dependencies to latest versions

The SSH container's SaveFile method now correctly creates directories
for relative paths by using the SFTP working directory as the base,
rather than always starting from root.

Fixes issue where SaveFile with paths like 'subdir/file.txt' would
fail with permission denied when trying to create /subdir.

33 of 39 new or added lines in 1 file covered. (84.62%)

1 existing line in 1 file now uncovered.

708 of 1002 relevant lines covered (70.66%)

3.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
76.92
2.19% containers/ssh.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.92
2.19% containers/ssh.go
Jobs
ID Job ID Ran Files Coverage
1 16259092692.1 14 Jul 2025 05:57AM UTC 9
70.66
GitHub Action Run
Source Files on build 16259092692
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 56dde14f on github
  • Prev Build on master (#14388723411)
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