Skip to content

test(snapshot): allow disable hiding runtime module output - #1333

Merged
hyfdev merged 1 commit into
mainfrom
06-04-test_snapshot_allow_disable_hiding_runtime_module_output
Jun 3, 2024
Merged

hyfdev merged 1 commit into
mainfrom
06-04-test_snapshot_allow_disable_hiding_runtime_module_output

Conversation

@hyfdev

@hyfdev hyfdev commented Jun 3, 2024 •

Copy link
Copy Markdown
Member

Description

This makes easier for understanding why some tests are failed.

@hyfdev
hyfdev marked this pull request as ready for review June 3, 2024 18:16
@@ -13,7 +13,34 @@ input_file: crates/rolldown/tests/esbuild/default/import_fs_node_common_js
const fs = __toESM(require("fs"));

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reference to __toESM un-initialized var.

@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from ca64d5a to 4b3c8c4 Compare June 3, 2024 18:20
@codecov

codecov Bot commented Jun 3, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 95.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 86.65%. Comparing base (85650b3) to head (4b3c8c4).
Report is 5 commits behind head on main.

❗ Current head 4b3c8c4 differs from pull request most recent head 18d97b3

Please upload reports for the commit 18d97b3 to get more accurate results.

Files Patch % Lines
crates/rolldown/src/utils/render_normal_module.rs 92.30% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1333      +/-   ##
==========================================
- Coverage   86.76%   86.65%   -0.12%     
==========================================
  Files         137      137              
  Lines        7051     7029      -22     
==========================================
- Hits         6118     6091      -27     
- Misses        933      938       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from 14527e3 to 0e27462 Compare June 3, 2024 18:23
@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from 4b3c8c4 to 2109e28 Compare June 3, 2024 18:23
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from 0e27462 to d9c6c86 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from 2109e28 to 4688be7 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from d9c6c86 to b81bba6 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from 4688be7 to 8939978 Compare June 3, 2024 18:24
@hyfdev
hyfdev force-pushed the 06-04-refactor_test_remove_special_test-only_logic branch from b81bba6 to 4c8c1c4 Compare June 3, 2024 18:25
@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from 8939978 to 18d97b3 Compare June 3, 2024 18:25
Base automatically changed from 06-04-refactor_test_remove_special_test-only_logic to main June 3, 2024 18:26
@hyfdev
hyfdev force-pushed the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch from 18d97b3 to c843bff Compare June 3, 2024 18:26
@hyfdev
hyfdev merged commit 8697c4b into main Jun 3, 2024
@hyfdev
hyfdev deleted the 06-04-test_snapshot_allow_disable_hiding_runtime_module_output branch June 3, 2024 18:26
@netlify

netlify Bot commented Jun 3, 2024

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit c843bff
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/665e0acb51c6990008356a56

@github-actions

github-actions Bot commented Jun 3, 2024

Copy link
Copy Markdown
Contributor

Benchmarks Rust

  • target: main(14b7bfc)
  • pr: 06-04-test_snapshot_allow_disable_hiding_runtime_module_output(c843bff)
group                                      pr                                     target
-----                                      --                                     ------
rolldown benchmark/threejs-bundle          1.00     31.3±0.45ms        ? ?/sec    1.00     31.4±0.37ms        ? ?/sec
rolldown benchmark/threejs-scan            1.00     21.6±0.50ms        ? ?/sec    1.01     21.9±0.36ms        ? ?/sec
rolldown benchmark/threejs-sourcemap       1.00     41.6±0.84ms        ? ?/sec    1.00     41.4±0.49ms        ? ?/sec
rolldown benchmark/threejs10x-bundle       1.00    337.2±2.85ms        ? ?/sec    1.01    339.5±3.20ms        ? ?/sec
rolldown benchmark/threejs10x-scan         1.00    210.5±2.77ms        ? ?/sec    1.01    211.6±1.58ms        ? ?/sec
rolldown benchmark/threejs10x-sourcemap    1.00   460.0±10.52ms        ? ?/sec    1.01   462.6±11.97ms        ? ?/sec

@codspeed

codspeed Bot commented Jun 3, 2024

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #1333 will create unknown performance changes

Comparing 06-04-test_snapshot_allow_disable_hiding_runtime_module_output (c843bff) with main (8697c4b)

Summary

🆕 6 new benchmarks

Benchmarks breakdown

Benchmark main 06-04-test_snapshot_allow_disable_hiding_runtime_module_output Change
🆕 threejs-bundle N/A 169.9 ms N/A
🆕 threejs-scan N/A 124.9 ms N/A
🆕 threejs-sourcemap N/A 231.4 ms N/A
🆕 threejs10x-bundle N/A 1.8 s N/A
🆕 threejs10x-scan N/A 1.2 s N/A
🆕 threejs10x-sourcemap N/A 2.5 s N/A

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