Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

LocalAI QA: Make tests go fast

Abierto
#11,048 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 3 días

@richiejp ya está trabajando en esto.

Desde el 22/7/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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
Lenguaje dominante
Go
Estrellas
49.2k
Forks
4.5k
Merge medio
19 h 42 min
PR fusionados (30 d)
299

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mudler/LocalAI

Todos los issues de mudler/LocalAI

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.