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

CowDogMoo / bcp / 19997570054 / 1
53%
main: 53%

Build:
DEFAULT BRANCH: main
Ran 07 Dec 2025 02:18AM UTC
Files 9
Run time 0s
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

07 Dec 2025 02:15AM UTC coverage: 52.857% (-13.4%) from 66.227%
19997570054.1

push

github

web-flow
feat: add support for copying files from EC2 instances to local (#9)

**Key Changes:**

- Implemented bidirectional file transfer: copy both to and from EC2 instances
- Updated command parsing and validation to support remote-to-local transfers
- Extended S3 and SSM interfaces and logic for downloads and cleanup
- Improved documentation and usage examples for bidirectional transfer

**Added:**

- Transfer direction detection and handling in CLI, supporting both upload (to remote) and download (from remote) operations
- `TransferDirection` type in the model, with `ToRemote` and `FromRemote` values
- `ExecuteFromRemoteWithClients` function in transfer logic to handle remote-to-local transfers, including directory and file downloads and S3 cleanup
- S3 interface methods for `GetObject`, `DeleteObject`, and `ListObjectsV2` to enable file and directory downloads and cleanup
- `ValidateDestinationPath` function to ensure safe local destination paths when downloading from remote
- Documentation and usage examples for copying files from remote EC2 instances to local

**Changed:**

- Command usage and argument parsing to distinguish between upload and download scenarios in `cmd/root.go`
- Transfer config struct to include transfer direction
- Test mocks and test cases to account for the new transfer direction and S3 interface changes
- `README.md` to document bidirectional transfer capabilities, including new usage and examples

**Removed:**

- Deprecated `ExecuteWithClients` in favor of explicit direction-specific transfer functions

518 of 980 relevant lines covered (52.86%)

4.28 hits per line

Source Files on job 19997570054.1
  • Tree
  • List 9
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19997570054
  • 118b63f0 on github
  • Prev Job for on main (#19994010127.1)
  • Next Job for on main (#19997592786.1)
  • 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