From c9e825e84193bbbc0cfbfd0eeb35a897c4fa662d Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Thu, 28 Mar 2024 19:06:47 +0000 Subject: [PATCH] add blob client property check --- packages/artifact/src/internal/upload/blob-upload.ts | 2 ++ packages/artifact/src/internal/upload/upload-artifact.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/artifact/src/internal/upload/blob-upload.ts b/packages/artifact/src/internal/upload/blob-upload.ts index 4b003fbd..04232594 100644 --- a/packages/artifact/src/internal/upload/blob-upload.ts +++ b/packages/artifact/src/internal/upload/blob-upload.ts @@ -60,6 +60,8 @@ export async function uploadZipToBlobStorage( 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}`) + // is the blob client ready? + core.info(`blob client props: ${blockBlobClient.url}`) try { core.info( '1 Even more beginning upload of artifact content to blob storage' diff --git a/packages/artifact/src/internal/upload/upload-artifact.ts b/packages/artifact/src/internal/upload/upload-artifact.ts index ce0b5698..30b6978c 100644 --- a/packages/artifact/src/internal/upload/upload-artifact.ts +++ b/packages/artifact/src/internal/upload/upload-artifact.ts @@ -70,6 +70,8 @@ export async function uploadArtifact( return createZipUploadStream(zipSpecification, options?.compressionLevel) .then(async zipUploadStream => { + core.info(`starting upload to blob here`) + core.info(`zipuploadstream looks like this: ${zipUploadStream}`) return uploadZipToBlobStorage( createArtifactResp.signedUploadUrl, zipUploadStream