Skip to content

fix(reporter/html): optimize module graph data by storing per environment#9953

Draft
hi-ogawa wants to merge 1 commit intovitest-dev:mainfrom
hi-ogawa:hi-ogawa/optimize-html-reporter-module-graph
Draft

fix(reporter/html): optimize module graph data by storing per environment#9953
hi-ogawa wants to merge 1 commit intovitest-dev:mainfrom
hi-ogawa:hi-ogawa/optimize-html-reporter-module-graph

Conversation

@hi-ogawa
Copy link
Copy Markdown
Collaborator

Description

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Store the full environment module graph per project instead of
duplicating subgraphs per test file. Shared dependencies are now
stored once, and per-file views are derived on-demand in the client.

Extract shared serialization utilities from blob reporter into
`packages/vitest/src/utils/module-graph-serialization.ts`.

Closes vitest-dev#9763

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hi-ogawa hi-ogawa changed the title fix(html): optimize module graph data by storing per environment fix(reporter/html): optimize module graph data by storing per environment Mar 23, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 23, 2026

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f90519e
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/69c105f84b993100080b2abb
😎 Deploy Preview https://deploy-preview-9953--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Optimize html reporter module graph data

1 participant