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

Capture startup failures before the frontend recorder attaches

Aperta
#103 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli, testing-qa

Direzione di ricerca

Start with the startup path around ServerConnection.resolve, Tui.run, and Drive.create(), then reproduce the failure using the isolated CLI/server processes and timing gate described in the issue. Compare the baseline and repaired PTY recordings. Done means an early exit before the frontend recorder attaches still retains an exportable stdout/stderr or PTY recording.

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

Descrizione

Could Drive retain a terminal recording when OpenCode exits before its frontend control endpoint starts?

While verifying managed-service bootstrap against OpenCode V2 68b28bdb98, the CLI successfully resolves server A, then A exits before Tui.run makes its first request. The current code fails with ClientError: Transport before reaching Drive.create(). A repaired build renders successfully, but the baseline has no frontend recorder to capture its failure. Drive 2.1.3's scripted --server path also bypasses the managed resolution boundary this test needs.

The reproduction uses isolated real CLI/server processes and a timing gate after actual ServerConnection.resolve: stop owned A, start B at another address, then release the TUI. We captured matched before/after PTY recordings with Terminal Control. A pre-attachment stdout/stderr or PTY capture, retained and exportable on early exit, would let Drive cover this startup failure without waiting for a renderer that never starts.

Lingua principale
TypeScript
Stelle
35
Fork
6
Merge medio
3h 4m
PR unite (30g)
16

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 anomalyco/opencode-drive

Tutte le issue di anomalyco/opencode-drive

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.