Skip to content

Dogfood run unable to download artifact #12154

Description

@philderbeast

Describe the bug

CI is hitting this issue actions/download-artifact#486.

Unable to download artifact(s): Failed to GetSignedArtifactURL: Received non-retryable error: Failed request
-- https://github.com/haskell/cabal/actions/runs/30026457823

One suggested fix is to match the versions of upload-artifact and download-artifact. The latest upload is v7 so this change would be ...

$ git diff
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 6b06b0a32..84e15d10f 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -421,7 +421,7 @@ jobs:
           cabal-version: latest # default, we are not using it in this job
 
       - name: Download cabal executable from workflow artifacts
-        uses: actions/download-artifact@v8
+        uses: actions/download-artifact@v7
         with:
           name: cabal-${{ runner.os }}-${{ env.CABAL_ARCH }}
           path: cabal-head
@@ -445,7 +445,7 @@ jobs:
     needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
 
     steps:
-      - uses: actions/download-artifact@v8
+      - uses: actions/download-artifact@v7
         with:
           pattern: cabal-*
           path: binaries
@@ -473,7 +473,7 @@ jobs:
     needs: [validate, validate-old-ghcs, build-alpine, dogfooding]
 
     steps:
-    - uses: actions/download-artifact@v8
+    - uses: actions/download-artifact@v7
       with:
         pattern: cabal-*
         path: binaries

Another suggested fix would be to match the run-id explicitly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions