Auto-retry mechanism for download failures
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 9.9k
- フォーク
- 1.4k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pkgxdev/pkgx のほかの issue
-
`--query` flag goneオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
`pkgx --update`オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 5 日以内に返信
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
ktuner keeps a stale ledger path and can never restore that entry対応中かも @Frun1na が今日担当しました。 オープンcomponent:ktuner
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
agentic-os-org/ANOLISA#6483 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Resource]: snapbackオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
hesreallyhim/awesome-claude-code#3095 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信