Comments (8)
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.
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.
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
If our solution is feasible, we will create a pr to this repo. Curious to hear your thoughts @bradennapier
from eslint-plus-action.
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.
@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.
@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.
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.
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)
- Annotation limit is failing PRs HOT 3
- annotateWarnings doesn't work HOT 4
- workflow is attempting to lint deleted files HOT 14
- Workflow fails for forked PRs HOT 3
- The automated release is failing 🚨
- Action using deprecated CLIEngine HOT 2
- Question: prettier support HOT 1
- Workflow appears twice HOT 2
- Failed to Run on Artifact: object is not iterable HOT 1
- Error: Cannot find module 'eslint' HOT 3
- no such file or directory, open '/github/workspace/package.json'
- All builds started failing with 'Failed to generate URL to download artifact' error HOT 2
- Action failing without error code
- A better approach for PRs from forks (workflow commands via stdout) HOT 1
- Remote PR Currently Fails HOT 10
- `TypeError: eslint_1.CLIEngine is not a constructor` in Node 16.11.1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plus-action.