百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#5361·mocha

️ Repo: CI 运行失败 (测试失败)

作者: mark-wiemer创建于 2025年5月12日更新于 2026年9月17日
标签status: accepting prsarea: repository tooling

2026-00-16: Merged #6349 after a batch of 10 passing runs. CI is very stable right now, we're working on shoring it up and making it easier to fix in the future :) 2026-06-16: Merged #6058 to resolve #6037, which should address most of the run failures. We'll keep chipping away at child issues, which are now the best source of truth for up-to-date info :) 2026-03-29: "--timeout should allow numeric value" failed once on main: Run 5193 2026-03-23: "reruns test when file under --watch-files changes" fails rarely in #5409: Run 4859 2026-02-16: Codecov has been pretty stable recently, and #5409 fixes some reliability issues with --watch tests (see also #5714). 2 out of 20 runs (4875 to 4894) failed, with 3 jobs failing and 3 total tests failing:

  • 4880 - reporters:
    • XUnit reporter when 'reporterOptions.output' is provided when fileStream cannot be created when given an invalid pathname
      • "before each" hook for "should throw system error": Timeout of 1000ms exceeded
        • new failure, likely a rare timeout issue, we can double timeout here and monitor
        • possibly new because Mocha previously didn't report hook failures? https://ZZTERM15ZZ.com/mochajs/mocha/issues/1955
      • "after each" hook for "should throw system error": TypeError: cleanup is not a function
        • new failure, likely connected to the before each hook failing
  • 4880 - Codecov: no test failures
  • 4894 - watch: "--watch when enabled reruns test when file matching --watch-files is removed"
    • Should be fixed by #5409 or its followup work
    • This failure is common as can be seen by the many links to this issue from affected PRs. We are prioritizing reviewing that PR to resolve this and other issues promptly :)
Older 2025-11-21: Yes, some checks are now failing due to Codecov. I'll reach out to Codecov support when I have some time. 2025-10-02: 4 of 20 runs (IDs 4283-4302) …

内容来源: mochajs/mocha

查看 GitHub 原文在 GitHub 查看讨论