Add WXT to Vite Ecosystem tests
https://github.com/vitejs/vite-ecosystem-ci?tab=readme-ov-file
Hi! I'd like to work on this issue. Is it still relevant, and would a PR adding WXT tests to vitejs/vite-ecosystem-ci be welcome?
It is, and yes, I'd appreciate help with this, thanks!
The main thing we need to make sure doesn't break is dev mode, I'm not sure the ecosystem repo has infrastructure setup for playwrite, but I've never looked into it beyond knowing it's necessary.
Looked into this — WXT's e2e/dev.test.ts already tests dev mode through Vitest, so no Playwright needed there.
One thing I noticed: WXT uses Bun for its workspace, and I don't see Bun set up on the ecosystem-ci runners (e.g. tests/one.ts is disabled with a "until we figured out how to support bun" note).
Should I have the suite install Bun manually as part of setup, or is there a preferred way around this?
Didn't want to block on a reply, so I dug in further — confirmed tests/one.ts is disabled specifically because Bun isn't installed on the ecosystem-ci runners, so this is an infra gap rather than anything WXT-specific. My plan: add a conditional oven-sh/setup-bun@v2 step scoped to just the wxt suite, and register wxt in both ecosystem-ci.yml and ecosystem-ci-selected.yml. Starting that on my fork now — flag it if you'd prefer a different approach, otherwise I'll have a PR ready soon.
I haven't looked into what this should look like, so this approach sounds good to me. It'll depend on what their maintainers say.
Sounds good, thanks for confirming! I'll keep an eye on feedback from the vite-ecosystem-ci maintainers on the PR and adjust as needed.
I just updated the project and tests to run against vite 8, not sure if that was causing problems.