From 90b43397cbec5dcff84fb2555c9e069f2cf67241 Mon Sep 17 00:00:00 2001 From: Joseph Joseph Date: Mon, 18 May 2026 16:10:04 -0400 Subject: [PATCH] fix(artifact): downgrade zero-byte upload warning to debug When uploading a zero-byte file with skipArchive:true, a spurious warning is emitted even though the upload completes successfully. Zero-byte files are a valid use case (e.g. marker files, lock files) and the upload is finalized correctly with size 0. Downgrade from core.warning() to core.debug() so the message is still available for troubleshooting but doesn't pollute workflow output. Fixes #2333 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- packages/artifact/src/internal/upload/blob-upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/artifact/src/internal/upload/blob-upload.ts b/packages/artifact/src/internal/upload/blob-upload.ts index be6fcef59b..667c7d650a 100644 --- a/packages/artifact/src/internal/upload/blob-upload.ts +++ b/packages/artifact/src/internal/upload/blob-upload.ts @@ -102,7 +102,7 @@ export async function uploadToBlobStorage( core.info(`SHA256 digest of uploaded artifact is ${sha256Hash}`) if (uploadByteCount === 0) { - core.warning( + core.debug( `No data was uploaded to blob storage. Reported upload byte count is 0.` ) }