Skip to content

test(e2e): add cloudflare/vinext to ecosystem-ci#1050

Open
fengmk2 wants to merge 9 commits intomainfrom
e2e-vinext
Open

test(e2e): add cloudflare/vinext to ecosystem-ci#1050
fengmk2 wants to merge 9 commits intomainfrom
e2e-vinext

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 19, 2026

  • Add vinext to repo.json with forceFreshMigration (already uses vite-plus)
  • Add e2e matrix entry: build, check, test on node 24, ubuntu-only
  • Update add-ecosystem-ci skill to handle projects already using vite-plus

- Add vinext to repo.json with forceFreshMigration (already uses vite-plus)
- Add e2e matrix entry: build, check, test on node 24, ubuntu-only
- Update add-ecosystem-ci skill to handle projects already using vite-plus
Copy link
Member Author

fengmk2 commented Mar 19, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 self-assigned this Mar 19, 2026
@fengmk2 fengmk2 marked this pull request as ready for review March 19, 2026 14:31
Base automatically changed from fix-tool-sync to main March 19, 2026 14:39
…n projects

Projects using pnpm catalogs (vinext, viteplus-ws-repro) have
`overrides: { vite: "catalog:" }` which takes precedence over the tgz
paths that vp migrate injects. This causes install failures because
vite-plus@0.0.0 depends on @voidzero-dev/vite-plus-test@0.0.0 which
doesn't exist on npm.

Fix: for forceFreshMigration projects, use the yaml package to update
pnpm-workspace.yaml overrides to point directly to tgz files for all
vite-plus packages. pnpm overrides take precedence over catalog entries.
@netlify
Copy link

netlify bot commented Mar 19, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 0c4c9f1
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69bc2eafe675110008d8a94c

Remove yaml dependency (not available in CI e2e-test job) and use
line-by-line parsing to replace the overrides section in
pnpm-workspace.yaml. This correctly handles projects using pnpm catalogs
by only modifying the overrides section without touching catalog entries.
fengmk2 added 5 commits March 19, 2026 23:35
…tion

pnpm ignores pnpm-workspace.yaml overrides when pnpm.overrides exists
in package.json. vp migrate also overwrites overrides set before it
runs. Fix: add tgz overrides to pnpm.overrides AFTER migration so
@voidzero-dev/vite-plus-core@0.0.0 and @voidzero-dev/vite-plus-test@0.0.0
resolve to the locally built tgz files.
When VITE_PLUS_FORCE_MIGRATE=1 is set, vp migrate forces full
dependency rewriting even for projects already using vite-plus.
This replaces the fragile hack logic in patch-project.ts that
manually removed/re-added vite-plus and patched pnpm overrides.

Now patch-project.ts simply sets the env var for projects with
forceFreshMigration configured, and vp migrate handles everything
correctly including pnpm.overrides in package.json.
Migration changes pnpm-workspace.yaml formatting (quote styles),
so run vp check --fix first to normalize formatting before the
project's own check command validates it.
Add verify-install.ts that checks vite, vitest, and vite-plus are all
installed at version 0.0.0 (the local tgz version). This catches
override failures early before running project commands.
vite and vitest are not direct dependencies in all ecosystem projects,
only vite-plus is guaranteed to be present.
@fengmk2 fengmk2 requested a review from cpojer March 19, 2026 17:09
vite-plus itself was missing from pnpm.overrides, so projects using
pnpm catalogs (e.g. vibe-dashboard) resolved vite-plus via catalog
to an old version instead of the local tgz.

Also update vibe-dashboard hash and add forceFreshMigration for
vibe-dashboard and vp-config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant