[PR #612] [MERGED] chore: upgrade vitest to v4 and enable agent reporter #711

Closed
opened 2026-05-06 13:09:44 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/612
Author: @southpolesteve
Created: 3/20/2026
Status: Merged
Merged: 3/20/2026
Merged by: @southpolesteve

Base: mainHead: chore/upgrade-vitest-v4


📝 Commits (5)

  • eb98c75 chore: bump pnpm to 10.32.1 and enable vitest agent reporter
  • 2cb1114 chore: upgrade GitHub Actions to Node 24 compatible versions
  • 1dfbcf4 perf: re-land unit/integration split and add CI sharding
  • a18a810 chore: remove unused deploy-preview slash command workflow
  • 9f8de8b ci: add sentinel job for stable branch protection rule

📊 Changes

13 files changed (+144 additions, -216 deletions)

View changed files

📝 .github/workflows/benchmarks.yml (+2 -2)
📝 .github/workflows/bigbonk.yml (+1 -1)
📝 .github/workflows/bonk.yml (+1 -1)
📝 .github/workflows/ci.yml (+62 -10)
📝 .github/workflows/deploy-examples.yml (+3 -4)
.github/workflows/deploy-preview-command.yml (+0 -181)
📝 .github/workflows/ecosystem-run.yml (+1 -1)
📝 .github/workflows/ecosystem.yml (+1 -1)
📝 .github/workflows/preview-release.yml (+1 -1)
📝 .github/workflows/publish.yml (+1 -1)
📝 .github/workflows/tip.yml (+2 -2)
📝 package.json (+1 -1)
📝 vite.config.ts (+68 -10)

📄 Description

Summary

  • Bumps vitest from ^3.2.1 to ^4.1.0
  • Adds the new agent reporter to the local dev reporter config

The agent reporter (new in vitest 4) suppresses passing test output and console logs from passing tests, reducing token noise when running tests inside an AI coding agent. Since the reporters array is explicitly configured, auto-detection doesn't apply -- adding it explicitly alongside default enables it for local/agent runs while leaving CI unchanged (which uses github-actions).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/612 **Author:** [@southpolesteve](https://github.com/southpolesteve) **Created:** 3/20/2026 **Status:** ✅ Merged **Merged:** 3/20/2026 **Merged by:** [@southpolesteve](https://github.com/southpolesteve) **Base:** `main` ← **Head:** `chore/upgrade-vitest-v4` --- ### 📝 Commits (5) - [`eb98c75`](https://github.com/cloudflare/vinext/commit/eb98c75c48444154a86a5fb2b4977f3d866508b9) chore: bump pnpm to 10.32.1 and enable vitest agent reporter - [`2cb1114`](https://github.com/cloudflare/vinext/commit/2cb1114f3ab52f5cc303499bdce79b818c1ca766) chore: upgrade GitHub Actions to Node 24 compatible versions - [`1dfbcf4`](https://github.com/cloudflare/vinext/commit/1dfbcf4052416ddf559720ece06dc1e07a512ec9) perf: re-land unit/integration split and add CI sharding - [`a18a810`](https://github.com/cloudflare/vinext/commit/a18a810a491d361347eadb82289686ef9682df24) chore: remove unused deploy-preview slash command workflow - [`9f8de8b`](https://github.com/cloudflare/vinext/commit/9f8de8bbec0e6231646ac43ac7818c680f9cc923) ci: add sentinel job for stable branch protection rule ### 📊 Changes **13 files changed** (+144 additions, -216 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/benchmarks.yml` (+2 -2) 📝 `.github/workflows/bigbonk.yml` (+1 -1) 📝 `.github/workflows/bonk.yml` (+1 -1) 📝 `.github/workflows/ci.yml` (+62 -10) 📝 `.github/workflows/deploy-examples.yml` (+3 -4) ➖ `.github/workflows/deploy-preview-command.yml` (+0 -181) 📝 `.github/workflows/ecosystem-run.yml` (+1 -1) 📝 `.github/workflows/ecosystem.yml` (+1 -1) 📝 `.github/workflows/preview-release.yml` (+1 -1) 📝 `.github/workflows/publish.yml` (+1 -1) 📝 `.github/workflows/tip.yml` (+2 -2) 📝 `package.json` (+1 -1) 📝 `vite.config.ts` (+68 -10) </details> ### 📄 Description ## Summary - Bumps `vitest` from `^3.2.1` to `^4.1.0` - Adds the new `agent` reporter to the local dev reporter config The `agent` reporter (new in vitest 4) suppresses passing test output and console logs from passing tests, reducing token noise when running tests inside an AI coding agent. Since the `reporters` array is explicitly configured, auto-detection doesn't apply -- adding it explicitly alongside `default` enables it for local/agent runs while leaving CI unchanged (which uses `github-actions`). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:09:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#711
No description provided.