Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a maximum re-try times. Don't re-try forever. #36

Open
SadPencil opened this issue Dec 22, 2020 · 1 comment
Open

Set a maximum re-try times. Don't re-try forever. #36

SadPencil opened this issue Dec 22, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@SadPencil
Copy link

Otherwise, the script will keep running until the timeout-minutes is reached.

In addition, an improvement can be done, that if the error is because of quota exhausted, the scripts end without more re-tries.

Run c-hive/gha-remove-artifacts@v1
Maximum artifact age: 1 second ( created before 2020-12-22T03:06:20+00:00 )
Skipping recent artifact (id: 32210712, name: main.pdf).
Skipping recent artifact (id: 32209832, name: main.pdf).
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369426095/artifacts?per_page=100, number of total global retries: 0
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369385267/artifacts?per_page=100, number of total global retries: 1
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369384675/artifacts?per_page=100, number of total global retries: 2
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369384676/artifacts?per_page=100, number of total global retries: 3
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369385262/artifacts?per_page=100, number of total global retries: 4
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367763523/artifacts?per_page=100, number of total global retries: 5
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367763521/artifacts?per_page=100, number of total global retries: 6
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367228857/artifacts?per_page=100, number of total global retries: 7
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367228856/artifacts?per_page=100, number of total global retries: 8
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367219273/artifacts?per_page=100, number of total global retries: 9
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358928910/artifacts?per_page=100, number of total global retries: 10
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367219272/artifacts?per_page=100, number of total global retries: 11
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/281637202/artifacts?per_page=100, number of total global retries: 12
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358928909/artifacts?per_page=100, number of total global retries: 13
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358920131/artifacts?per_page=100, number of total global retries: 14
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358920130/artifacts?per_page=100, number of total global retries: 15
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/281637203/artifacts?per_page=100, number of total global retries: 16
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279989747/artifacts?per_page=100, number of total global retries: 17
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279989748/artifacts?per_page=100, number of total global retries: 18
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279979882/artifacts?per_page=100, number of total global retries: 19
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279753471/artifacts?per_page=100, number of total global retries: 20
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279753470/artifacts?per_page=100, number of total global retries: 21
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279979881/artifacts?per_page=100, number of total global retries: 22
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259416276/artifacts?per_page=100, number of total global retries: 23
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259416271/artifacts?per_page=100, number of total global retries: 24
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259144589/artifacts?per_page=100, number of total global retries: 25
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259144590/artifacts?per_page=100, number of total global retries: 26
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257299798/artifacts?per_page=100, number of total global retries: 27
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257299799/artifacts?per_page=100, number of total global retries: 28
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257263229/artifacts?per_page=100, number of total global retries: 29
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257263228/artifacts?per_page=100, number of total global retries: 30
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/249299537/artifacts?per_page=100, number of total global retries: 31
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/245602670/artifacts?per_page=100, number of total global retries: 32
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215573331/artifacts?per_page=100, number of total global retries: 33
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/245602669/artifacts?per_page=100, number of total global retries: 34
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215573330/artifacts?per_page=100, number of total global retries: 35
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/214789373/artifacts?per_page=100, number of total global retries: 36
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/214789372/artifacts?per_page=100, number of total global retries: 37
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/249299536/artifacts?per_page=100, number of total global retries: 38
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215547805/artifacts?per_page=100, number of total global retries: 39
Retrying after 2233 seconds!
Request quota exhausted for request DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}, number of total global retries: 40
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215547806/artifacts?per_page=100, number of total global retries: 41
Retrying after 2232 seconds!
Error: The operation was canceled.
@thisismydesign thisismydesign added the enhancement New feature or request label Jan 3, 2021
@ghost
Copy link

ghost commented Apr 20, 2022

Same error, exists limits of requests in a github?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants