Skip to content

chore: build the visual reporter with Vite 6 - #1291

Closed
plum117 wants to merge 0 commit into
webdriverio:mainfrom
plum117:chore/reporter-vite-6
Closed

plum117 wants to merge 0 commit into
webdriverio:mainfrom
plum117:chore/reporter-vite-6

Conversation

@plum117

@plum117 plum117 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Summary

First step of the visual reporter upgrade: build the reporter with Vite 6 (5.4 → 6.4).

Remix 2 accepts Vite ^5.1.0 || ^6.0.0, so Vite 6 is possible before the move to React Router. Replaces Dependabot #1267, which changed only package.json and not pnpm-lock.yaml (a frozen install would fail).

Vite is a development dependency of the reporter: it builds the static report UI (build/client), which the CLI copies and serves. Users do not install Vite.

Planned next steps (one PR each)

Remix 2 accepts only React 18, so the order is:

  1. Vite 6 (this PR)
  2. Remix 2 → React Router 7 (accepts React 18/19, Vite 5–8, TypeScript 5/6; also removes the TypeScript 6 peer warning)
  3. React 19 (replaces chore(deps-dev): bump react and @types/react #1264)
  4. Vite 8 and vite-tsconfig-paths 6 (replaces chore(deps-dev): bump vite from 5.4.21 to 8.3.3 #1263)

Test

  • The built UI is pixel-identical: the demo report (pnpm build + pnpm script:prepare.report, served with sirv) opened in headless Chrome with WebdriverIO, screenshots of the home view and of the comparison overlay (click on the first snapshot): 0 different pixels between the Vite 5 and the Vite 6 build.
  • GitHub Pages build (GITHUB_PAGES=/visual-testing/): the asset paths keep the base path.
  • Reporter typecheck, pnpm test (lint, types, 1077 unit tests): pass.
  • The build messages are the same as before (the Remix "future flags" notes and a sourcemap note for SelectHeader.tsx, both already there with Vite 5).

No changeset: development dependency only, and the built UI does not change.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1eee45b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable issues were found.

Summary

Upgrades the visual reporter’s development dependency from Vite 5.4.21 to 6.4.4.

  • The visual reporter builds with Vite 6.4.4.

Reviews (1) · Last reviewed commit: "chore: build the visual reporter with Vi..." · Reviewed by Greptile

@plum117 plum117 closed this Oct 9, 2026
@plum117
plum117 force-pushed the chore/reporter-vite-6 branch from b0fb820 to 1eee45b Compare October 9, 2026 01:52
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