Skip to content

Comments

test: setup infra for hmr tests#4886

Merged
sapphi-red merged 1 commit intomainfrom
06-10-test_setup_infra_for_hmr_tests
Jun 10, 2025
Merged

test: setup infra for hmr tests#4886
sapphi-red merged 1 commit intomainfrom
06-10-test_setup_infra_for_hmr_tests

Conversation

@sapphi-red
Copy link
Member

@sapphi-red sapphi-red commented Jun 10, 2025

This PR adds a way to write HMR tests.
See the content of #4888 for the description.

Copy link
Member Author

sapphi-red commented Jun 10, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@netlify
Copy link

netlify bot commented Jun 10, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 2b528a4
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6847baa0a4bfb60008466b13

@sapphi-red sapphi-red marked this pull request as ready for review June 10, 2025 04:45
@sapphi-red sapphi-red marked this pull request as draft June 10, 2025 04:49
@sapphi-red sapphi-red force-pushed the 06-10-test_setup_infra_for_hmr_tests branch from 1d8144e to 2b528a4 Compare June 10, 2025 04:54
@sapphi-red sapphi-red marked this pull request as ready for review June 10, 2025 04:55
@github-actions
Copy link
Contributor

Benchmarks Rust

  • target: main(7e2b0be)
  • pr: 06-10-test_setup_infra_for_hmr_tests(2b528a4)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.04     76.9±2.04ms        ? ?/sec    1.00     74.0±2.40ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.03     88.7±2.75ms        ? ?/sec    1.00     86.2±3.76ms        ? ?/sec
bundle/bundle@rome_ts                                        1.01    115.6±2.63ms        ? ?/sec    1.00    114.1±1.98ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.03    131.0±2.43ms        ? ?/sec    1.00    127.2±2.06ms        ? ?/sec
bundle/bundle@threejs                                        1.03     41.6±2.78ms        ? ?/sec    1.00     40.4±1.46ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.03     48.2±2.08ms        ? ?/sec    1.00     47.0±0.84ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    439.1±5.02ms        ? ?/sec    1.00    438.3±7.46ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.02    511.4±4.15ms        ? ?/sec    1.00    503.8±3.77ms        ? ?/sec
scan/scan@rome_ts                                            1.00     88.4±2.30ms        ? ?/sec    1.01     89.5±1.76ms        ? ?/sec
scan/scan@threejs                                            1.01     31.2±1.96ms        ? ?/sec    1.00     30.8±1.47ms        ? ?/sec
scan/scan@threejs10x                                         1.00    319.8±4.29ms        ? ?/sec    1.00    320.8±6.06ms        ? ?/sec

@sapphi-red sapphi-red added this pull request to the merge queue Jun 10, 2025
Merged via the queue into main with commit 843fb91 Jun 10, 2025
24 checks passed
@sapphi-red sapphi-red deleted the 06-10-test_setup_infra_for_hmr_tests branch June 10, 2025 07:00
github-merge-queue bot pushed a commit that referenced this pull request Jun 10, 2025
Boshen pushed a commit that referenced this pull request Jun 10, 2025
## [1.0.0-beta.14] - 2025-06-10

### 💥 BREAKING CHANGES

- refactor!: move preserveEntrySignatures from output to input options
by @IWANABETHATGUY in
[#4871](#4871)

### 🚀 Features

- feat(strictExecutionOrder): no need to generate plain chunk imports
for addressing side effects by @hyf0 in
[#4890](#4890)
- feat: make wasm fallback plugin callable in node by @shulaoda in
[#4885](#4885)
- feat(rolldown_plugin_module_preload_polyfill): align with
`rolldown-vite` by @shulaoda in
[#4884](#4884)
- feat(attachDebugInfo): improve format and distinguish dynamic entries
by @hyf0 in [#4861](#4861)

### 🐛 Bug Fixes

- fix(binding): preserveModules infinity loop by @Brooooooklyn in
[#4879](#4879)
- fix: dynamic import does not return exports when
preserveEntrySignatures: false is set and the importee is an entry by
@IWANABETHATGUY in
[#4891](#4891)
- fix: preserveEntrySignatures panics with an edge case by
@IWANABETHATGUY in
[#4877](#4877)
- fix: directives are missing with `preserveModules` by @IWANABETHATGUY
in [#4876](#4876)
- fix: exports from dynamically imported chunks are removed by
@IWANABETHATGUY in
[#4875](#4875)

### 🚜 Refactor

- refactor: clearify Chunk entry kind by @IWANABETHATGUY in
[#4892](#4892)
- refactor(rolldown_plugin_build_import_analysis): align the logic with
`rolldown-vite` by @shulaoda in
[#4856](#4856)

### 📚 Documentation

- docs(contrib-guide): add HMR testing section by @sapphi-red in
[#4888](#4888)
- docs(guide): update release channels - remove nightly, add pkg.pr.new
by @Boshen in [#4881](#4881)

### 🧪 Testing

- test: rename `rolldown/topics/hmr/mutiply-entires` to snake case by
@sapphi-red in [#4889](#4889)
- test: add test for #4849 by @sapphi-red in
[#4887](#4887)
- test: setup infra for hmr tests by @sapphi-red in
[#4886](#4886)

### ⚙️ Miscellaneous Tasks

- ci: disable publish to nightly by @Boshen in
[#4874](#4874)
- ci: extend Vite tests timeout by @sapphi-red in
[#4870](#4870)
- fix publish-to-npm.yml by @Boshen

### ◀️ Revert

- revert: "refactor(rolldown_plugin_load_fallback): align with
rolldown-vite" by @shulaoda in
[#4868](#4868)

Co-authored-by: shulaoda <[email protected]>
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.

2 participants