Skip to content

fix(desktop): repair clean UI build - #1571

Draft
alloutflo wants to merge 1 commit into
ruvnet:mainfrom
alloutflo:codex/issue-1518-desktop-build
Draft

fix(desktop): repair clean UI build#1571
alloutflo wants to merge 1 commit into
ruvnet:mainfrom
alloutflo:codex/issue-1518-desktop-build

Conversation

@alloutflo

@alloutflo alloutflo commented Aug 10, 2026

Copy link
Copy Markdown

Summary

  • align React, React DOM, and both type packages on React 19
  • add Vite client declarations so TypeScript accepts CSS side-effect imports
  • express Tauri frontend hooks with the supported { script, cwd: "ui" } form
  • add a regression test for dependency majors, hook working directories, and Vite declarations
  • make the PR UI job discover all .test.mjs files so this and future UI regressions stay gated

Validation

  • npm --prefix v2/crates/wifi-densepose-desktop/ui ci
  • npm --prefix v2/crates/wifi-densepose-desktop/ui test — 3/3 passed
  • npm --prefix v2/crates/wifi-densepose-desktop/ui run build
  • PR UI command — 29/29 passed
  • git diff --check upstream/main...HEAD

The clean frontend install and production build were exercised locally. A full Tauri bundle and Windows runtime were not claimed.

Closes #1518

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.

Desktop UI does not build from a clean checkout (npm ci ERESOLVE, react/react-dom major mismatch, missing vite-env.d.ts, broken beforeBuildCommand)

1 participant