Updates to logging for artifact uploads (#949)

* More details logs during artifact upload

* extra logging

* Updates to artifact logging + clarifications around upload size

* Fix linting errors

* Update packages/artifact/src/internal/artifact-client.ts

Co-authored-by: campersau <[email protected]>

Co-authored-by: campersau <[email protected]>
This commit is contained in:
Konrad Pabjan
2021-11-30 12:53:24 -05:00
committed by GitHub
co-authored by campersau
parent e19e4261da
commit 4df5abb3ee
5 changed files with 73 additions and 8 deletions
@@ -29,8 +29,20 @@ export interface PatchArtifactSizeSuccessResponse {
}
export interface UploadResults {
/**
* The size in bytes of data that was transferred during the upload process to the actions backend service. This takes into account possible
* gzip compression to reduce the amount of data that needs to be transferred
*/
uploadSize: number
/**
* The raw size of the files that were specified for upload
*/
totalSize: number
/**
* An array of files that failed to upload
*/
failedItems: string[]
}