From 300a2d538078607cc8548b0d2ebd1b22a7f54dab Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sun, 19 Jul 2026 22:26:36 -0700 Subject: [PATCH] ci: use dot reporter for vitest to quiet CI logs Plain vitest run with the default reporter reprints a full "RUN vX.Y.Z" + per-file pass/fail block for every test file when there's no TTY to redraw against (GitHub Actions runners), on top of the final aggregate summary - for a 17-file suite that's most of the Build & Test job's output. The dot reporter collapses per-test progress to single characters and still prints the same final "Test Files X passed" / "Tests Y passed" summary. --- .configs/vitest.config.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.configs/vitest.config.mjs b/.configs/vitest.config.mjs index 74e0c46..86f6afe 100644 --- a/.configs/vitest.config.mjs +++ b/.configs/vitest.config.mjs @@ -14,6 +14,14 @@ export default defineConfig({ environment: "node", testTimeout: 30000, server: { deps: { inline: [/@cldmv\/slothlet/] } }, + // "dot" keeps CI logs to one character per test file instead of a full + // "RUN vX.Y.Z" + per-file pass/fail block for every file — vitest's + // non-interactive fallback (no TTY to redraw) otherwise reprints that + // whole block per file on top of the final aggregate summary, which + // dominates the log on a suite this size. The final "Test Files X + // passed" / "Tests Y passed" summary is unaffected — every built-in + // reporter prints it regardless of per-test verbosity. + reporters: ["dot"], coverage: { provider: "v8", include: ["src/**"],