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

kelindar / s3 / 15665718162
76%

Build:
DEFAULT BRANCH: main
Ran 15 Jun 2025 05:35PM UTC
Jobs 1
Files 12
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

15 Jun 2025 05:34PM UTC coverage: 76.321% (+5.6%) from 70.76%
15665718162

push

github

web-flow
Refactor the API and add WriteFrom (#2)

* feat: update dependencies and improve S3 uploader functionality

- Added `golang.org/x/sync v0.15.0` as an indirect dependency.
- Refactored tests in `server_test.go` to use the new `Write` method instead of `Put`.
- Removed unused multipart upload tests to streamline the test suite.
- Updated `Prefix` struct to eliminate unnecessary context handling.
- Refactored `Uploader` to improve error handling and context management during uploads.
- Introduced `calculatePartSize` function to optimize part size based on total size.
- Enhanced `UploadFrom` method to support context cancellation and improved concurrency handling.

* chore: reorganize require statements in go.mod for clarity

* feat: update dependencies and improve S3 uploader functionality

- Added `golang.org/x/sync v0.15.0` as an indirect dependency.
- Refactored tests in `server_test.go` to use the new `Write` method instead of `Put`.
- Removed unused multipart upload tests to streamline the test suite.
- Updated `Prefix` struct to eliminate unnecessary context handling.
- Refactored `Uploader` to improve error handling and context management during uploads.
- Introduced `calculatePartSize` function to optimize part size based on total size.
- Enhanced `UploadFrom` method to support context cancellation and improved concurrency handling.

* chore: reorganize require statements in go.mod for clarity

* fix: correct bucket initialization and method call in README; add uploader tests

* refactor: streamline error handling in uploader tests for clarity

* refactor: enhance code readability by improving comments and structuring in Bucket and Prefix implementations

* refactor: consolidate and enhance mock S3 server tests; remove redundant tests and improve utility function coverage

111 of 131 new or added lines in 3 files covered. (84.73%)

83 existing lines in 5 files now uncovered.

2369 of 3104 relevant lines covered (76.32%)

486.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
88.82
1.0% bucket.go
14
76.03
2.15% uploader.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.82
1.0% bucket.go
1
84.72
-1.18% prefix.go
2
79.15
-0.77% reader.go
15
76.03
2.15% uploader.go
64
75.36
22.0% mock/server.go
Jobs
ID Job ID Ran Files Coverage
1 15665718162.1 15 Jun 2025 05:35PM UTC 12
76.32
GitHub Action Run
Source Files on build 15665718162
  • Tree
  • List 12
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6abbb7e2 on github
  • Prev Build on main (#15665715985)
  • Next Build on main (#15715883952)
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