CLI reports its auto-launch timeout as INTERNAL while MCP reports the same failure as DAEMON_STARTUP_FAILED
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
- 70/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- cli
Direzione di ricerca
Start by reading src/cli/index.ts around line 246, then compare its launch timeout handling with src/mcp/connect.ts and the error contract in src/contract/errors.ts. Check the CLI tests for auto-launch timeout behavior and the expected error code; done when the CLI reports the same DAEMON_STARTUP_FAILED code as MCP for that timeout while keeping the documented exit code.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Two frontends run the same launch-then-retry policy with the same 5 s deadline hard-coded in each, and disagree on what the failure is called.
src/cli/index.ts:246throws a plainError, sorunClimaps it toINTERNAL(exit 1).src/mcp/connect.ts:51,62throwsSimlockError("DAEMON_STARTUP_FAILED")for the same event; that code exists in the contract's table withcliExitCode: 1(src/contract/errors.ts:214).
docs/CLI.md:22 says INTERNAL is for "anything unexpected", so the CLI labels an anticipated timeout — the one failure mode its own auto-launch exists to wait through — as an unexpected internal error. An agent scripting the CLI cannot tell "the daemon is slow, retry later" from a crash.
The deadline being written twice is architecture rule 10 (a constant known to one module, asked of it through its surface); the divergent code is what that duplication already produced.
Found while triaging #663.
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di callstackincubator/simlock
-
Console lane deletes a failed daemon's home, so a start failure names no causeForse già presa @V3RON l’ha presa oggi. Apertabug:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
callstackincubator/simlock#673 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
bug:needs-info
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
callstackincubator/simlock#657 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
callstackincubator/simlock#639 ·
I maintainer di solito rispondono entro 1 giorno
-
bug:new
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
callstackincubator/simlock#684 ·
I maintainer di solito rispondono entro 1 giorno
-
A preview system image installed makes the newest runtime its codename, not the highest API levelForse già presa @V3RON l’ha presa 1 giorno fa. Apertabug:ready
callstackincubator/simlock#678 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di callstackincubator/simlock
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
components-web-app/docs#260 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
521xueweihan/HelloGitHub#4025 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ctrf-io/playwright-ctrf-json-reporter#117 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
voidzero-dev/void#478 ·
I maintainer di solito rispondono entro 1 giorno