#9832 vitest-pool-workers does not run Wrangler custom builds
Re-categorized as docs issue. Maintainer says underlying need (unenv polyfills) becoming obsolete with native workerd modules. Intentionally in low-priority backlog.
No action - tracked backlog item awaiting native module support completion
Analysis Report
Issue Review: cloudflare/workers-sdk#9832
Summary
vitest-pool-workers does not run Wrangler custom builds - reclassified as documentation issue, low priority due to native module work.
Findings
- Created: 2025-07-02
- Updated: 2025-10-20
- Version: @cloudflare/vitest-pool-workers 0.8.48 → 0.12.6
- Component: vitest-pool-workers
- Labels: bug, documentation, vitest
- Comments: 4
Key Evidence
- Expected behavior (not a bug): @jamesopstad explained that supporting custom builds is unlikely since "Vitest builds dynamically watches test files to determine which files to rebuild"
- Re-categorized as documentation: @dario-piotrowicz changed this to a docs issue, suggesting to document that
buildfield is not applicable for vitest - Low priority / will become obsolete: @petebacondarwin noted the original motivation (pre-compiling for unenv polyfills) is "going to go away quite soon" as workerd adds native module support
- Related issue still open: Reporter was working around #7324 (Node module compatibility discrepancy), which remains open
- Significant native module progress: Recent PRs have added native support for
node:dgram,node:inspector,node:wasi,node:trace_events,node:console,node:processv2, etc.
Recommendation
Status: KEEP OPEN
Reasoning: This issue has been intentionally left open by maintainers (@petebacondarwin) with low priority to revisit once native workerd module support makes the underlying need obsolete. The team is actively making progress on this (multiple PRs in late 2025 and early 2026 adding native Node.js modules). The issue also serves as a documentation tracking item.
Action: No action needed. This is a tracked backlog item that maintainers plan to revisit once the prerequisite work (native module support) is more complete. The issue may eventually be closed as "no longer needed" rather than "fixed."
Notes & Feedback (0)
No notes yet.