Skip to content

fix(mcp): pair @vitejs/plugin-vue 6 with vite 8 - #310

Merged
jmagar merged 2 commits into
mainfrom
fix/mcp-web-plugin-vue
Jul 30, 2026
Merged

fix(mcp): pair @vitejs/plugin-vue 6 with vite 8#310
jmagar merged 2 commits into
mainfrom
fix/mcp-web-plugin-vue

Conversation

@jmagar

@jmagar jmagar commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

main is red. mcp-ci has failed on every push since 6c6f39b (#240, vite 6.4.3 → 8.1.5 in plugins/mcp/web). npm ci cannot resolve the tree at all:

npm error Found: vite@8.1.5
npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.4

plugin-vue 5.x caps at vite 6; 6.0.8 widens the peer range to ^5 || ^6 || ^7 || ^8. The two have to move together.

How it got in

I pushed exactly this pairing to #240's branch before it merged. Later I ran @dependabot recreate on #240 to clear a merge conflict — that rebuilt the branch from the bump alone and silently dropped the pairing commit, so #240 landed with vite 8 and plugin-vue 5. My mistake: recreate discards any commits pushed onto a dependabot branch.

Verification

On this branch, both of the exact commands mcp-ci runs:

  • npm ci --no-audit --no-fund --prefix web → succeeds (fails on main)
  • npm run build --prefix web → passes

The incus web app took the same pairing separately in #238, which is why only plugins/mcp/web is affected.

Also unblocks #267, whose mcp check is failing purely on this inherited breakage.

jmagar and others added 2 commits July 29, 2026 23:27
main is currently red: mcp-ci fails on every push since 6c6f39b (#240, vite
6.4.3 -> 8.1.5 in plugins/mcp/web). `npm ci` cannot resolve the tree at all:

  npm error Found: vite@8.1.5
  npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.4

plugin-vue 5.x caps at vite 6; 6.0.8 widens the peer range to
`^5 || ^6 || ^7 || ^8`. The two must move together.

This pairing was pushed to #240's branch before it merged, but a later
`@dependabot recreate` on that PR rebuilt the branch from the bump alone and
dropped it, so #240 landed with vite 8 and plugin-vue 5.

Verified on this branch: `npm ci` succeeds (the exact CI command) and
`npm run build` passes.

The incus web app took the same pairing separately via #238.
@jmagar
jmagar merged commit 83b5214 into main Jul 30, 2026
36 checks passed
@jmagar
jmagar deleted the fix/mcp-web-plugin-vue branch August 1, 2026 02:31
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