opencode/packages/app/e2e/utils
Filip Hejmowski 2e873bc40b test(app): serve the built e2e app with a Bun static server
vite preview checks the case of every requested file on case-insensitive
file systems (Windows, macOS) with a synchronous readdir of its parent
directory. The fixture build has about 3100 files in dist/_assets, so each
of the roughly 150 asset requests per page load blocks the one server
that every worker shares. That matches the CI traces, where Windows asset
waits and first navigations grow with the number of tests running.

e2e/utils/serve.ts serves dist with Bun instead and keeps vite preview's
routing rules: files resolve only inside dist, a malformed escape is a
404, and index.html is the fallback only for GET or HEAD requests whose
Accept is missing, empty, text/html or */*, never for /favicon.ico. A
missing script fetched as JavaScript or an API request asking for JSON
still gets a 404. Bun fails on a busy port like --strictPort did, and
reuseExistingServer and the dev-mode command are unchanged.

The performance configs keep vite preview so their baselines stay
comparable.
2026-10-15 22:11:30 +02:00
..
visual-stability chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
app-direction.fixture.tsx refactor(app): remove configurable default server (#53731) 2026-10-07 20:46:51 +08:00
app-direction.html feat(gui-extensions): add typed composition and lifetime primitives (#52868) 2026-10-04 13:16:37 +10:00
app.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
command-palette.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
direction.ts feat(gui-extensions): add typed composition and lifetime primitives (#52868) 2026-10-04 13:16:37 +10:00
errors.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
markdown-sessions.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
mock-api.ts feat(desktop): manage provider accounts and restore Console connect intro (#54101) 2026-10-13 23:49:06 +00:00
mock-server.ts fix(app): keep project settings open when the project folder is missing (#55553) 2026-10-15 09:40:43 +10:00
prompt-motion.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
serve.ts test(app): serve the built e2e app with a Bun static server 2026-10-15 22:11:30 +02:00
session-fixture.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
settings-wsl.fixture.tsx refactor(app): remove configurable default server (#53731) 2026-10-07 20:46:51 +08:00
settings-wsl.html fix(gui-extensions): fix stale details, browser cleanup, update checks and panel state (#53075) 2026-10-04 17:21:04 +10:00
sse-transport.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
timeline.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
visual-stability.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
waits.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00
windows-menu.fixture.tsx refactor(app): remove configurable default server (#53731) 2026-10-07 20:46:51 +08:00
windows-menu.html refactor(app): move GUI features into built-in extensions (#52369) 2026-10-01 15:17:55 +10:00
workspace.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00