ci: extend mise fetch-remote-versions timeout to 120s#204
Open
oyoshot wants to merge 1 commit into
Open
Conversation
CI has been failing because `mise install` resolves `cargo:foo = "latest"` entries by hitting crates.io's `/api/v1/crates/<name>/versions` endpoint, and the default 20s timeout is exceeded under GitHub Actions network conditions. Three internal retries all time out, so the whole `cargo:` batch fails — even though no `cargo:` entry was touched. Bump to 120s via `MISE_FETCH_REMOTE_VERSIONS_TIMEOUT` (the same env var mise's own error message points to). Pass it through arch's `sudo -Hu builder env` so the builder process sees it too. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mise install中にcargo:foo = \"latest\"のバージョン解決で crates.io API がデフォルト 20s でタイムアウトし、3回リトライ全失敗 → ビルド全体が落ちる状態だった (feat(go): manage Go dev tools via mise #203 の CI で再現、main の cron も5週連続 fail)。MISE_FETCH_REMOTE_VERSIONS_TIMEOUT=120sをApply chezmoiステップに渡してタイムアウトを伸ばす。エラーメッセージ自身が示している正規のノブ。sudo -Hu builder env ...を介して chezmoi を起動しているので、env を明示的に伝播させた。Test plan
🤖 Generated with Claude Code