mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #283] [MERGED] docs: add targeted test running guidance for agents #442
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/283
Author: @southpolesteve
Created: 3/6/2026
Status: ✅ Merged
Merged: 3/6/2026
Merged by: @southpolesteve
Base:
main← Head:improve/agent-targeted-tests📝 Commits (1)
85a723edocs: add targeted test running guidance for agents📊 Changes
1 file changed (+40 additions, -2 deletions)
View changed files
📝
AGENTS.md(+40 -2)📄 Description
Summary
Motivation
The full Vitest suite runs serially (~2 min) because test files race on Vite's deps optimizer cache when run in parallel. During development, agents almost never need the full suite. They typically touch one area (a shim, a routing file, a server handler) and only need to verify 1-3 test files.
With 3-4 agents working on the repo simultaneously, each running
pnpm test(2 min serial) creates unnecessary CPU contention. Running targeted tests instead takes seconds.Changes
The new section includes:
/bigbonk review this
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.