1
0
Fork 0

check if upload and zipload streams are writable

pull/1700/head
Vallie Joseph 2024-03-28 18:51:00 +00:00
parent d597cf234f
commit 6ac9cbfda9
1 changed files with 4 additions and 5 deletions

View File

@ -52,12 +52,11 @@ export async function uploadZipToBlobStorage(
zipUploadStream.pipe(hashStream).setEncoding('hex') // This stream is used to compute a hash of the zip content that gets used. Integrity check 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('Beginning upload of artifact content to blob storage')
const isItReadable = zipUploadStream.readable core.info(`Is the zipUploadStream readable? ${zipUploadStream.readable}`) // it is readable, that's good
core.info(`Is the zipUploadStream readable? ${isItReadable}`) // it is readable, that's good core.info(`Is the zipUploadStream closed? ${zipUploadStream.closed}`) // it is not closed, that's good
const isItClosed = zipUploadStream.closed
core.info(`Is the zipUploadStream closed? ${isItClosed}`) // 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 buffer size appropriate? ${bufferSize}`) // it is not closed, that's good
core.info(`is the upload stream open? ${uploadStream.closed}`) core.info(`is the upload stream closed? ${uploadStream.closed}`)
core.info(`is the upload stream readable? ${uploadStream.readable}`)
try { try {
core.info( core.info(
'1 Even more beginning upload of artifact content to blob storage' '1 Even more beginning upload of artifact content to blob storage'