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

LocalAI QA: Make tests go fast

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

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

@richiejp がすでに取り組んでいます。

2026年7月22日 から。

評価

この issue はまだ評価されていません。

説明

area/test enhancement

Bring out the nuclear options for speeding up our pathetically slow tests that 90% of the time are doing absolutely nothing on CPU. Most time is spent in SLEEP or network I/O. Then of course people and agents simply skip running the tests.

  • Fail tests if they take more than a few seconds each (this will need tuning on slow machines, alternative is actually looking at CPU and I/O utilization to see if the test is doing real compute or just sleeping on the job)
  • Refuse to download anything during tests. Force tests to declare what they need and cache everything in a CAS. Use a MITM HTTPS proxy. Has added benefit that we verify everything we download against as SHA256 and can store all of the downloads on GitHub's OCI registry in a casset.
  • For tests that literally test timers we can speed up time by injecting our own clock
  • Other tests are doing a varied assortment of buggy things that are slow, so we'll just take them one-by-one
主要言語
Go
スター
49.5k
フォーク
4.5k
平均マージ
20時間 52分
マージ済み PR(30日)
367

環境構築

Codespaces で開く

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

はじめの一歩

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

mudler/LocalAI のほかの issue

mudler/LocalAI の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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