Auto-retry mechanism for download failures
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by tracing the download path used by pkgx install when PKGX_DIST_URL points to an internal mirror; the issue names no files or tests. Done means transient download failures retry automatically without retrying unrelated command failures, with behavior that covers the reported mirror/cache case.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I got to admit: https://dist.pkgx.dev has been running rock-solid, and I don't even remember a situation where it caused my CI/CD pipelines to fail.
However, I want to setup my own internal mirror/cache so that I don't need to download so frequently from https://dist.pkgx.dev, using PKGX_DIST_URL.
The problem is: my own internal mirror/cache is not as strong as https://dist.pkgx.dev and often hiccups like break downloads in the middle.
It would be awesome if pkgx implemented some kind of auto retrying mechanism to improve resiliency of pipelines.
Right now, my solution for it is using retry:
$ retry --tries=5 --sleep=15s -- pkgx install openjdk@21
$ retry --tries=5 --sleep=15s -- java --version
But it's bad because:
- It retries for failures beyond download failures
- I have to have this extra tool installed
- Commands are a lot more verbose
- Lingua principale
- Rust
- Stelle
- 9.9k
- Fork
- 1.4k
- Merge medio
- 1g 17h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pkgxdev/pkgx
-
`--query` flag gone Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
`pkgx --update` Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di pkgxdev/pkgx
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
web-infra-dev/rspack#15847 ·