Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fail fast on unreachable hosts in install-time metadata lookups

オープン
#7,970 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

Start by reading the existing lookup timeout implementation from #7965, then inspect the metadata lookups in src/cli/tools/golang.ts, src/cli/tools/java/utils.ts, and src/cli/tools/git/index.ts, plus the Android resolver's http.download call. Apply the lookup timeouts to these metadata requests while preserving tool file download timeouts; done when each listed metadata lookup fails promptly for an unreachable host.

索引モデルが issue の本文から書いたものです。

説明

What would you like containerbase to do?

Fail fast on unreachable hosts in the metadata lookups installers make during an install, like the version lookups in #7965.

  • The resolvers and tool-versions lookups get per-phase timeouts in #7965.
  • Installers still look up small metadata files without a timeout, so a host which accepts the connection but never answers hangs the install, three times over.

Required changes

  • use the lookup timeouts for the install-time metadata lookups, eg. the go.dev/dl list (src/cli/tools/golang.ts), resolveJavaDownloadUrl (src/cli/tools/java/utils.ts) and the git key fetch (src/cli/tools/git/index.ts)
  • the android repository xml read through http.download in its resolver
  • tool file downloads keep their current timeouts

Part of #7961.

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

主要言語
TypeScript
スター
58
フォーク
65
平均マージ
10時間 37分
マージ済み PR(30日)
462

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

containerbase/base のほかの issue

containerbase/base の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。