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

Flaky console lane: CLI auto-launch's fixed 5 s deadline expires while a daemon starts on a loaded runner (ENOENT daemon.sock)

Chiusa
#663 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@V3RON ci sta già lavorando.

Dal 17/10/2026.

  • #674 di @V3RON — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug:ready flaky-test

What happens

Console lane, once in 198 recent Console job runs (run 38955614485, main at 93ffed8f, webkit):

Error: {"error":{"code":"INTERNAL","message":"Timed out starting simlock daemon: connect ENOENT /tmp/simlock-console-GGA6zr/daemon.sock"}}
    expect(received).toBe(expected)
    Expected: 0
    Received: 1
    > 110 |     expect(started.code, started.stderr).toBe(0);
        at start (e2e/console/fixtures.ts:110:42)

A rerun of the same job passed.

What is known

  • The message is thrown by the CLI's auto-launch, not the fixture: src/cli/index.ts:234-246
    launches the daemon and polls the unix socket for a fixed 5 s. A daemon that needs longer to
    create its socket on a loaded runner makes daemon start exit 1 while the daemon keeps booting.
  • The console lane's startDaemon (e2e/console/fixtures.ts:108-111) has no retry; the vitest
    lane's withHttpDaemon (e2e/helpers/http-daemon.ts) retries exactly this error family (#553),
    so the same class is already known in the other lane.
  • Distinct from #642: that one is a route.fetch refused after teardown disposes a live gateway;
    this one is startup slowness before any test code runs.

Found while triaging #642.

Written by an agent.

Lingua principale
TypeScript
Stelle
20
Fork
2
Merge medio
7h 26m
PR unite (30g)
253

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.