Yang Cao
2c4f1a3166
style change, refactor arg sequence
2020-12-04 09:41:00 -05:00
Yang Cao
2b5da11156
pipeResponseToFile already throws when reading truncated stream
2020-12-04 09:19:58 -05:00
Yang Cao
8f05cccf8e
Fix styling
2020-12-03 10:33:10 -05:00
Yang Cao
9d3d4bec1b
Adding retry when we received 200
...
If we received 200, we will attempt to download the stream. If the
stream is gzipped, gzip should throw an error when trying to decompress
the stream; or if the stream is truncated, the received bytes should be
different from the value set in content-length header.
2020-12-03 10:15:12 -05:00
Chris Sidi
d26929d028
Retry artifact download when response stream is truncated
2020-12-03 10:12:44 -05:00
Chris Sidi
0a0169da7d
Remove spyon, use readable stream to test pipeResponseToFile ( #651 )
...
* Remove spyon, use readable stream to test pipeResponseToFile
* Check file contents
2020-11-30 12:12:12 -05:00
Konrad Pabjan
9afb95c7e8
Updates to @actions/artifact ( #396 )
...
* Add support for 429s and Exponential backoff
* Refactor status-reporter so it can be used with download and upload
* Extra logs
* Fixes around download & gzip
* Cleanup headers and add extra tests
* Improved Docs
* Spelling bloopers
* Improved error messages
* User http client version 1.0.7
2020-04-08 16:55:18 +02:00
Konrad Pabjan and Josh Gross
f0d57d7098
Updates to @actions/artifact package ( #367 )
...
* GZip implementation
* Optimizations and cleanup
* Update tests
* More test updates
* Update packages/artifact/src/internal-utils.ts
Co-Authored-By: Josh Gross <joshmgross@github.com >
* Clarification around Upload Paths
* Refactor to make http clients classes
* GZip fixes
* Documentation around compression
* More detailed status information during large uploads
* Pretty format
* Percentage updates without rounding
* Fix edge cases with formatting numbers
* Update packages/artifact/src/internal-utils.ts
Co-Authored-By: Josh Gross <joshmgross@github.com >
* Cleanup
* Small reorg with status reporter
* PR Feedback
* Cleanup + Simplification
* Test Cleanup
* Mock updates
* More cleanup
* Format fixes
* Overhaul to the http-manager
* Fix tests
* Promisify stats
* Documentation around implementation
* Improvements to documentation
* PR Feedback
* Remove Downloading multiple artifacts concurrently
Co-authored-by: Josh Gross <joshmgross@github.com >
2020-03-12 14:50:27 +01:00
Konrad Pabjan
fd1d377126
@actions/artifact download artifacts ( #340 )
...
* Download Artifacts using @actions/artifact
2020-02-13 18:24:11 -05:00