GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — test: let the OS choose the vitest browser fixture's server port by wan9chi · Pull Request #838 · voidzero-dev/vite-task Conversation
|
fspy benchmarklinuxmacoswindows |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Vitest browser mode listens on the fixed port 63315 by default. On Windows runners that port can fall inside an excluded port range, where listening fails with EACCES and Vitest does not fall back to another port. Co-Authored-By: Claude Opus 5.5 <[email protected]>
410f406 to
0db9d70
Compare
There was an error while loading. Please reload this page.
The browser snapshots use Vitest's fixed API port, which Windows can reserve. This causes intermittent `EACCES` failures. Set `test.api.port` to `0` in a post-configuration hook, after Vitest resolves its defaults. The OS selects an available port when the server binds. This follows [vite-task#838](voidzero-dev/vite-task#838) and preserves the snapshot assertions.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.