Skip to content

[CIFuzz] Raise when a GitHub Actions artifact upload fails - #16191

Open
LucaCappelletti94 wants to merge 1 commit into
google:masterfrom
LucaCappelletti94:upstream/cifuzz-github-artifact-upload-raises
Open

LucaCappelletti94 wants to merge 1 commit into
google:masterfrom
LucaCappelletti94:upstream/cifuzz-github-artifact-upload-raises

Conversation

@LucaCappelletti94

Copy link
Copy Markdown

The GitHub Actions filestore ignores the exit status of upload.js, so failed artifact uploads go unreported. That status is also wrong today. Since #13086 the v2 client returns {id, size, digest}, so the leftover failedItems check throws and the script exits 1 even on success.

This drops the v1 check and option from upload.js and raises on a non-zero exit, as the git and gsutil filestores already do.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant