Skip to content

fix: fix html reporter binary file extension#9277

Closed
hi-ogawa wants to merge 2 commits intovitest-dev:mainfrom
hi-ogawa:12-17-fix_fix_html_reporter_binary_file_extension
Closed

fix: fix html reporter binary file extension#9277
hi-ogawa wants to merge 2 commits intovitest-dev:mainfrom
hi-ogawa:12-17-fix_fix_html_reporter_binary_file_extension

Conversation

@hi-ogawa
Copy link
Copy Markdown
Collaborator

@hi-ogawa hi-ogawa commented Dec 17, 2025

Description

Resolves #9276

This PR changes the html reporter binary output file name from html.meta.json.gz to html.meta.bin. This is to address unexpected static server response header when serving .json.gz, which can break reporter client code. This includes vite's preview server sirv lukeed/sirv#158.

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:.

@hi-ogawa hi-ogawa deleted the 12-17-fix_fix_html_reporter_binary_file_extension branch December 18, 2025 00:57
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.

html reporter not working when metadata served with content-encoding of 'gzip'

1 participant