Skip to content

build(frontend): vue-router 5.1 + vite 8.0 against dev; dependabot target-branch fix (supersedes #1015)#1133

Open
vybe wants to merge 2 commits into
devfrom
feature/1063-vue-router5-vite8
Open

build(frontend): vue-router 5.1 + vite 8.0 against dev; dependabot target-branch fix (supersedes #1015)#1133
vybe wants to merge 2 commits into
devfrom
feature/1063-vue-router5-vite8

Conversation

@vybe

@vybe vybe commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Rebuilds dependabot PR #1015 (vue-router 4.6.3 → 5.1.0, plus the Vite 6.4 → 8.0.16 fold-in of #1063) against dev. The original targeted main, but dev's router/index.js was restructured by #1109 (Operations consolidation) and still carried 11 next()-callback guard sites — merging #1015 to main would have guaranteed a conflict (or a wrong-side resolution) at the next release cut.

Changes

  • src/frontend/src/router/index.js — migrate the global beforeEach and the AgentWorkspace beforeEnter from the deprecated next() callback to Vue Router 5 return-style guards (true = proceed, location = redirect). All 11 sites converted on dev's refactor(ui): unify Health + Ops + Executions into a single Operations nav area #1109-restructured file; redirect logic byte-for-byte equivalent.
  • src/frontend/package.jsonvue-router ^5.1.0, vite ^8.0.16 (only these two lines; dev's other pins untouched).
  • src/frontend/package-lock.json — regenerated in a clean node:20-alpine container.
  • .github/dependabot.ymltarget-branch: dev on all five ecosystems. Dependabot's default (repo default branch = main) was creating main-side drift: bumps landed on main while features landed on dev (e.g. axios ^1.17.0 on main vs ^1.16.1 on dev). All dep PRs now flow through the normal dev → main release path.

Verification

  • npm run build (Vite 8 / rolldown) green in node:20-alpine — same base as both docker/frontend Dockerfiles; Node 20.20 satisfies Vite 8's ≥20.19 floor. Full app builds in ~2s.
  • Lockfile resolves vite 8.0.16 / vue-router 5.1.0 / vue 3.5.35 / @vitejs/plugin-vue 6.0.7.
  • grep -n 'next(' router/index.js → zero remaining callback-style sites.
  • ui label applied so frontend-e2e runs on this PR (it was SKIPPED on chore(deps): bump vue-router from 4.6.3 to 5.1.0 in /src/frontend #1015 — a router-major shipped with no browser-level verification).

Supersedes #1015. Related: #1063, #1109.

🤖 Generated with Claude Code

Eugene Vyborov and others added 2 commits June 10, 2026 15:58
…return-style

Rebuilds dependabot PR #1015 (+ dolho's vite-8 fold-in of #1063) against
dev — the original targeted main, but dev's router/index.js was
restructured by #1109 (Operations consolidation) and still carried 11
next()-callback guard sites, guaranteeing a conflict at the next
release cut.

- vue-router ^5.1.0: migrate beforeEach + AgentWorkspace beforeEnter
  from the deprecated next() callback to return-style (true = proceed,
  location = redirect). All 11 sites converted; behavior preserved.
- vite ^8.0.16 (rolldown): production build verified in node:20-alpine
  (matches docker/frontend images, Node 20.20 ≥ vite 8's 20.19 floor).
- package-lock.json regenerated in a clean container.

Supersedes #1015.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Dependabot was opening PRs against the default branch (main) while all
feature work merges to dev, so merged bumps accumulated on main only
(e.g. axios ^1.17.0 on main vs ^1.16.1 on dev) and conflicted with dev
at every release cut. target-branch: dev on all five ecosystems routes
bumps through the normal dev → main release path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

⚠️ Nightly unit-suite check skipped — merge conflict against dev.

Resolve by running git merge dev locally and pushing the result. The next nightly run will re-test once the conflict is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency frontend Frontend/UI changes ui PR touches the frontend UI — triggers Playwright e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant