Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭
#663 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@V3RON 已经在做这个了。

开始于 2026年10月17日。

  • #674 来自 @V3RON —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

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.

主要语言
TypeScript
星标
20
派生
2
平均合并
7 小时 26 分钟
30 天内合并 PR
253

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstackincubator/simlock 的其他 Issue

查看 callstackincubator/simlock 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。