CLI reports its auto-launch timeout as INTERNAL while MCP reports the same failure as DAEMON_STARTUP_FAILED
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 20
- フォーク
- 2
- 平均マージ
- 7時間 21分
- マージ済み PR(30日)
- 247
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/simlock のほかの issue
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
callstackincubator/simlock#673 ·
メンテナーはふだん 1 日以内に返信
-
bug:needs-info
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
callstackincubator/simlock#657 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
callstackincubator/simlock#639 ·
メンテナーはふだん 1 日以内に返信
-
Flaky console lane: CLI auto-launch's fixed 5 s deadline expires while a daemon starts on a loaded runner (ENOENT daemon.sock)対応中かも @V3RON が今日担当しました。 オープンbug:ready flaky-test
callstackincubator/simlock#663 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Make code review incremental, risk-routed and measurable対応中かも @V3RON が 1 日前に担当しました。 オープンtask:ready
callstackincubator/simlock#654 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/simlock の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
chrisparsons83/flexspotff#215 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vitest-dev/vitest#11633 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信