Upgrade dawidd6/action-download-artifact to v20 and filter by name#47
Merged
Conversation
6f2eeaf to
31fd514
Compare
Automattic/jetpack#47415 upgraded to actions/upload-artifact@v7, which introduced archive: false for build cache artifacts. dawidd6 v11 could not handle the mix of zipped and non-zipped artifacts when downloading all artifacts from a run. Upgrade to v20 (which uses @actions/artifact@6.2.1) and add a name filter (test-output-*) to only download the test output artifacts the report generation needs. Also fix workflow_dispatch payload handling so the workflow can be triggered manually for testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31fd514 to
7948812
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dawidd6/action-download-artifactfrom v11 to v20 (pinned by SHA)name: test-output-*filter to skip build cache artifactsworkflow_dispatchpayload handling so the workflow can be tested manually. Previously onlyrepository_dispatchpayloads were parsed;workflow_dispatchinputs were ignored.Context
The Report workflow has been failing at artifact download since ~April 3, which caused the Cleanup workflow to progressively delete all CTRF files from S3 (2-day retention), breaking the downstream Airflow ETL (
qualityops.e2e_test_results).Root cause: Automattic/jetpack#47415 (merged March 8) upgraded to
actions/upload-artifact@v7, which introducedarchive: falsefor build cache artifacts (.tar.xzfiles).dawidd6@v11could not handle the mix of zipped and non-zipped artifacts, causing the download step to fail.Fix: Upgrade to
dawidd6@v20(uses@actions/artifact@6.2.1) and add a name filter so only test output artifacts are downloaded, skipping the build cache.Test plan
workflow_dispatchon this branch with Jetpack e2e run24003101758(successful run)🤖 Generated with Claude Code