From 5288db39533c812d40aa43ce7c5eda34c00a5162 Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Thu, 28 Mar 2024 19:57:01 +0000 Subject: [PATCH] removing debugging statements --- .../src/internal/upload/blob-upload.ts | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/packages/artifact/src/internal/upload/blob-upload.ts b/packages/artifact/src/internal/upload/blob-upload.ts index c9f03a57..1e60770d 100644 --- a/packages/artifact/src/internal/upload/blob-upload.ts +++ b/packages/artifact/src/internal/upload/blob-upload.ts @@ -51,36 +51,13 @@ export async function uploadZipToBlobStorage( zipUploadStream.pipe(uploadStream) // This stream is used for the upload zipUploadStream.pipe(hashStream).setEncoding('hex') // This stream is used to compute a hash of the zip content that gets used. Integrity check - core.info('Beginning upload of artifact content to blob storage') - core.info(`Is the zipUploadStream readable? ${zipUploadStream.readable}`) // it is readable, that's good - core.info(`Is the zipUploadStream writable now? ${zipUploadStream.writable}`) // it is readable, that's good - core.info(`Is the zipUploadStream closed? ${zipUploadStream.closed}`) // it is not closed, that's good - core.info(`Is the buffer size appropriate? ${bufferSize}`) // it is not closed, that's good - core.info(`is the upload stream closed? ${uploadStream.closed}`) - core.info(`is the upload stream readable? ${uploadStream.readable}`) - core.info(`is the upload stream writable? ${uploadStream.writable}`) - core.info(`are we exceeding the max concurrency? ${maxConcurrency}`) - - zipUploadStream.on('error', error => { - core.info(`Error in zipUploadStream: ${error}`) - }) - - uploadStream.on('error', error => { - core.info(`Error in uploadStream:', ${error}`) - }) try { - core.info( - '1 Even more beginning upload of artifact content to blob storage' - ) await blockBlobClient.uploadStream( uploadStream, bufferSize, maxConcurrency, options ) - core.info( - '2 Even more beginning upload of artifact content to blob storage' - ) } catch (error) { if (NetworkError.isNetworkErrorCode(error?.code)) { throw new NetworkError(error?.code)