Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Runner unit tests flake under CI load

Aperta
#7,167 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
testing

Direzione di ricerca

Start with the two failing tests named in the issue: services/runner/tests/unit/session-keepalive-engine.test.ts and services/runner/tests/unit/sandbox-tools.test.ts. Read their timer and timeout setup, then run the '12 - check unit tests' workflow or the runner unit tests locally to reproduce the failures. Done means these tests use deterministic timing without wall-clock waits and pass reliably under CI load.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

🤖 The AI agent says: run-runner-tests failed twice on #7154, a frontend-only PR, before it passed on the third try. Each failure was in a different test: a 5s timeout in services/runner/tests/unit/session-keepalive-engine.test.ts, then an assertion in services/runner/tests/unit/sandbox-tools.test.ts. The '12 - check unit tests' workflow shows failures like these on other branches too. The tests likely depend on timing, so they fail when the CI runner is busy. Make them deterministic, with fake timers and no wall-clock waits.

Lingua principale
TypeScript
Stelle
4.8k
Fork
690
Merge medio
21h 42m
PR unite (30g)
459

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agenta-AI/agenta

Tutte le issue di Agenta-AI/agenta

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.