️ Repo: CI 运行失败 (测试失败)
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
- "before each" hook for "should throw system error":
- XUnit reporter when 'reporterOptions.output' is provided when fileStream cannot be created when given an invalid pathname
- 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 :)
内容来源: mochajs/mocha