Console lane deletes a failed daemon's home, so a start failure names no cause
维护者通常 1 天内回复
@V3RON 已经在做这个了。
开始于 2026年10月18日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- node.js, typescript
调研方向
从 e2e/console/fixtures.ts 中的 startDaemon 和 dispose(第 112–116 行和第 167–171 行)开始,然后检查 console lane 如何报告启动失败。重现 issue 中描述的启动失败情况,并检查 daemon.log 是否仍然可用,或其末尾内容是否出现在错误输出中。当错误保留了足够的日志信息以区分启动原因时,即为完成。
由索引模型根据 Issue 内容生成。
描述
When startDaemon's simlock daemon start fails, its catch calls dispose, which runs rm(home, { force: true, recursive: true }) (e2e/console/fixtures.ts:112-116, 167-171). That deletes daemon.log — the only record of why the daemon did not come up.
The lane's failure line is then the CLI's own give-up message, which is the same for every cause: a daemon still booting, a daemon that died binding its HTTP port (the EADDRINUSE family, #553), or a daemon that failed driver discovery. Verified: a driver module that fails to import produces Timed out starting simlock daemon: connect ENOENT <home>/daemon.sock, exit 1, byte-identical to a slow boot.
A failed start should keep the log (or print its tail into the failure) so the next occurrence names its cause instead of being guessed at.
Found while triaging #663.
Written by an agent.
- 主要语言
- TypeScript
- 星标
- 20
- 派生
- 2
- 平均合并
- 7 小时 26 分钟
- 30 天内合并 PR
- 253
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/simlock 的其他 Issue
-
bug:needs-info
难度 2/5 1-3 小时 新手友好度 76/100
callstackincubator/simlock#657 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
callstackincubator/simlock#639 ·
维护者通常 1 天内回复
-
bug:new
难度 4/5 3-5 天 新手友好度 45/100
callstackincubator/simlock#684 ·
维护者通常 1 天内回复
-
A preview system image installed makes the newest runtime its codename, not the highest API level可能已有人在做 @V3RON 于 1 天前认领。 未关闭bug:ready
callstackincubator/simlock#678 · 已指派 1 人 ·
维护者通常 1 天内回复
-
`worker.rejected` carries `count: 1` on an isolated refusal, which the catalogs say it must never do可能已有人在做 @V3RON 于 1 天前认领。 未关闭bug:ready
callstackincubator/simlock#677 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 callstackincubator/simlock 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
OpenPetsHQ/openpets#273 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
fritzprix/libr-agent#2161 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
blackboardsh/electrobun#581 ·
-
backlog-skill effort:xs frontend infra ready-for-agent
难度 2/5 1-3 小时 新手友好度 74/100
LucasSantana-Dev/Lucky#2862 ·
维护者通常 1 天内回复