Giter Site home page Giter Site logo

Comments (8)

luisherranz avatar luisherranz commented on August 12, 2024

It's working again without any change on our side: https://github.com/frontity/frontity/pull/541/checks?check_run_id=1011211977

So I guess it was a GitHub problem after all 🙂

from eslint-plus-action.

bradennapier avatar bradennapier commented on August 12, 2024

Yeah, they have had some issues with actions from time to time. Good - i was just about to look into this :-P glad I didn't have time last night hah.

from eslint-plus-action.

mmv08 avatar mmv08 commented on August 12, 2024

In our case, the reason for the error was an expired artifact the action was trying to download. Got it fixed by filtering out artifacts with expired: true: gnosis@d23f68e

Still, a mystery to me why no other repo was affected 🤷‍♂️ Maybe a better solution could be applied because as I understood from reading the source code it should delete artifacts when the PR is closed.

If our solution is feasible, we will create a pr to this repo. Curious to hear your thoughts @bradennapier

from eslint-plus-action.

juergba avatar juergba commented on August 12, 2024

We have the same Failed to generate URL to download artifact error today.

The ESLint action has been working for months on our repo (Mocha), for direct and also for forked PR's.
We have never added any scheduled job.
I hope the error will be gone by tomorrow. I don't really understand what artifact we are talking about and why we are needing one. It can't be a missing read/write token for forked PR's problem, since the action has been working for month without any scheduled job.

from eslint-plus-action.

mmv08 avatar mmv08 commented on August 12, 2024

@juergba The problem is that if one of the artifacts is expired, it will fail to download it and throw this error. You can send a GET request to https://api.github.com/repos/{owner}/{repo}/actions/artifacts to check if there are any. In my comment above there's a solution for that which filters expired artifacts. You may also try deleting the artifact: https://github.com/octokit/plugin-rest-endpoint-methods.js/blob/86e3e0e160d87eb016ede46ace087fd60e87121e/docs/actions/deleteArtifact.md

from eslint-plus-action.

juergba avatar juergba commented on August 12, 2024

@mikheevm thank you
What artifact are we talking about? What is the purpose of this thing?
We have eg. issueSummary: false and we aren't using the --fix option.
Why should I have to delete artifacts manually?

Edit: your GET request logs a list of 20 eslint-cache-key-lint-results-Tests* artifacts, all of them expired.

from eslint-plus-action.

juergba avatar juergba commented on August 12, 2024

Anyway why do expired artifacts not get deleted by GH? Below example has expired aprox. one month ago.

{
      "id": 20335434,
      "node_id": "MDg6QXJ0aWZhY3QyMDMzNTQzNA==",
      "name": "eslint-cache-key-state-Tests-4459",
      "size_in_bytes": 43,
      "url": "https://api.github.com/repos/mochajs/mocha/actions/artifacts/20335434",
      "archive_download_url": "https://api.github.com/repos/mochajs/mocha/actions/artifacts/20335434/zip",
      "expired": true,
      "created_at": "2020-10-06T18:40:10Z",
      "updated_at": "2020-10-06T18:40:16Z",
      "expires_at": "2021-01-04T18:35:29Z"
}

from eslint-plus-action.

juergba avatar juergba commented on August 12, 2024

I added a scheduled GH action which I can trigger manually as well. It deletes all expired artifacts.
Failed to generate URL to download artifact is fixed now.

from eslint-plus-action.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.