Skip to content

Comments

fix(dev/watch): build connection between file in this.addWatchFile and currently transformed module during transform hook#6048

Merged
shulaoda merged 1 commit intomainfrom
09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook
Sep 8, 2025
Merged

fix(dev/watch): build connection between file in this.addWatchFile and currently transformed module during transform hook#6048
shulaoda merged 1 commit intomainfrom
09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook

Conversation

@hyf0
Copy link
Member

@hyf0 hyf0 commented Sep 8, 2025

This fix doesn't cover the watch() API. Ref: #5220

Copy link
Member Author

hyf0 commented Sep 8, 2025


How to use the Graphite Merge Queue

Add the label graphite: merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

@socket-security
Copy link

socket-security bot commented Sep 8, 2025

@hyf0 hyf0 marked this pull request as ready for review September 8, 2025 04:02
@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 9b8fad7
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68be551c36b6b900086a86c7
😎 Deploy Preview https://deploy-preview-6048--rolldown-rs.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.

@hyf0 hyf0 force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch from e858c28 to 776a4ea Compare September 8, 2025 04:03
@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit e858c28
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68be553dc8d81500087f4f1d
😎 Deploy Preview https://deploy-preview-6048--rolldown-rs.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.

@hyf0 hyf0 force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch from 776a4ea to ffb5262 Compare September 8, 2025 04:04
@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 776a4ea
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68be557b6f7f0c00087ce2ab
😎 Deploy Preview https://deploy-preview-6048--rolldown-rs.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.

@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit f2c90e1
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68bebeabe67e0800076eb498
😎 Deploy Preview https://deploy-preview-6048--rolldown-rs.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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2025

Benchmarks Rust

  • target: main(139191d)
  • pr: 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook(f2c90e1)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.04     87.8±2.54ms        ? ?/sec    1.00     84.8±2.70ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.06     99.2±2.78ms        ? ?/sec    1.00     93.8±2.23ms        ? ?/sec
bundle/bundle@rome_ts                                        1.01    122.5±3.87ms        ? ?/sec    1.00    121.8±1.80ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.03    146.5±2.99ms        ? ?/sec    1.00    142.6±2.43ms        ? ?/sec
bundle/bundle@threejs                                        1.01     47.2±2.64ms        ? ?/sec    1.00     46.9±1.45ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.03     56.3±1.19ms        ? ?/sec    1.00     54.9±1.10ms        ? ?/sec
bundle/bundle@threejs10x                                     1.02    484.5±8.41ms        ? ?/sec    1.00    476.9±5.89ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.02    565.9±8.51ms        ? ?/sec    1.00    557.4±4.49ms        ? ?/sec
scan/scan@rome_ts                                            1.00     98.6±2.04ms        ? ?/sec    1.01     99.1±1.63ms        ? ?/sec
scan/scan@threejs                                            1.00     35.3±2.00ms        ? ?/sec    1.01     35.6±2.11ms        ? ?/sec
scan/scan@threejs10x                                         1.00    364.1±4.62ms        ? ?/sec    1.00    364.5±8.76ms        ? ?/sec

@hyf0 hyf0 force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch 2 times, most recently from 7fcd75e to 808d096 Compare September 8, 2025 04:58
@sapphi-red sapphi-red added this pull request to the merge queue Sep 8, 2025
github-merge-queue bot pushed a commit that referenced this pull request Sep 8, 2025
…and currently transformed module during transform hook (#6048)

This fix doesn't cover the `watch()` API
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 8, 2025
@sapphi-red sapphi-red added this pull request to the merge queue Sep 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 8, 2025
@sapphi-red sapphi-red added this pull request to the merge queue Sep 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Sep 8, 2025
@sapphi-red sapphi-red force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch from 808d096 to 5acb6fc Compare September 8, 2025 10:04
Copy link
Member

sapphi-red commented Sep 8, 2025

Merge activity

  • Sep 8, 10:33 AM UTC: The merge label 'graphite: merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Sep 8, 11:11 AM UTC: sapphi-red added this pull request to the Graphite merge queue.

@hyf0 hyf0 force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch from 5acb6fc to 2603a35 Compare September 8, 2025 10:36
…and currently transformed module during transform hook (#6048)

This fix doesn't cover the `watch()` API
@graphite-app graphite-app bot force-pushed the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch from 2603a35 to f2c90e1 Compare September 8, 2025 11:31
@shulaoda shulaoda merged commit 377130a into main Sep 8, 2025
26 checks passed
@shulaoda shulaoda deleted the 09-08-fix_dev_watch_build_connection_between_file_in_this.addwatchfile_and_currently_transformed_module_during_transform_hook branch September 8, 2025 11:43
@github-actions github-actions bot mentioned this pull request Sep 8, 2025
shulaoda added a commit that referenced this pull request Sep 8, 2025
## [1.0.0-beta.36] - 2025-09-08
> [!warning]
> ### 💥 BREAKING CHANGES
> 
> - drop CJS format, increase minimum required node (#6025) by @sxzz


### 🚀 Features

- rolldown_plugin_reporter: statically imported dynamic import warning (#6065) by @shulaoda
- rolldown_plugin_reporter: warn large chunks (#6063) by @shulaoda
- rolldown: oxc v0.87.0 (#5975) by @Boshen

### 🐛 Bug Fixes

- allow keeping whitespace while enabling minify (#5893) by @sapphi-red
- dev/watch: build connection between file in `this.addWatchFile` and currently transformed module during transform hook (#6048) by @hyf0
- validator of `output.minify` (#6062) by @IWANABETHATGUY
- codspeed rust benchmark ci (#6052) by @IWANABETHATGUY
- just command in ci (#6045) by @IWANABETHATGUY
- watch: only consider files read from disk are able to watch (#6037) by @hyf0

### 🚜 Refactor

- dev: introduce `DevWatchOptions` for enhanced file watching configuration (#6057) by @hyf0
- unify to use `is_in_node_modules` from `rolldown_plugin_utils` (#6066) by @shulaoda

### 🧪 Testing

- rust: ensure unused pure function call got treeshaked (#4524) by @hyf0
- hmr: tweak improper test (#6034) by @hyf0
- hmr: add test of editing multiple files in the same timeframe (#6029) by @hyf0
- hmr: support to edit multiple files in the same timeframe (#6014) by @hyf0

### ⚙️ Miscellaneous Tasks

- deps: lock file maintenance rust crates (#6003) by @renovate[bot]
- deps: lock file maintenance npm packages (#5995) by @renovate[bot]
- add auto-assign PR workflow for organization members (#6058) by @IWANABETHATGUY
- fix benchmark-node workflow (#6060) by @IWANABETHATGUY
- adding `test-node-rolldown-only` just command (#6055) by @IWANABETHATGUY
- just commands in ci (#6056) by @IWANABETHATGUY
- run test ci when `justfile` is changed (#6049) by @IWANABETHATGUY
- remove unused warning for conditional compiled`SimplifyMinifyOptions` (#6047) by @IWANABETHATGUY
- remove auto approval ci (#6051) by @IWANABETHATGUY
- adding rustfmt components for `repo-validation` (#6053) by @IWANABETHATGUY
- repo: check format/style in `just lint-rust` (#6050) by @hyf0
- repo/ai: refine `justfile` (#6038) by @hyf0
- repo/ai: add `AGENTS.md` and `CLAUDE.md` (#6039) by @hyf0
- deps: update github-actions (major) (#6041) by @renovate[bot]
- deps: update github-actions (#6040) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.16.1 (#6035) by @renovate[bot]

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.

3 participants