Repository navigation
fix(dev): map dev rename events like build watch - #10758
Merged
Merged
Conversation
✅ Deploy Preview for rolldown-rs canceled.
|
shulaoda
force-pushed
the
fbm-rename-mapping
branch
from
August 24, 2026 08:08
73f694f to
73a7da0
Compare
shulaoda
marked this pull request as ready for review
August 24, 2026 08:53
shulaoda
requested review from
IWANABETHATGUY,
h-a-n-a and
hyfdev
as code owners
August 24, 2026 08:53
shulaoda
force-pushed
the
fbm-rename-mapping
branch
from
August 24, 2026 08:54
73a7da0 to
707674c
Compare
hyfdev
approved these changes
Aug 24, 2026
Merging this PR will not alter performance
Comparing Footnotes
|
h-a-n-a
approved these changes
Aug 24, 2026
shulaoda
added a commit
that referenced
this pull request
Aug 24, 2026
### Description Stacked on #10758. Update the FBM and watch-mode internal docs to match the shared `rolldown_fs_watcher::map_notify_event` helper. - `dev-engine/implementation.md`: FBM rename table now includes `Name(To)` / `Name(Both)`, and notes that a `Name(Both)` split is mapping, not debounce consolidation. - `watch-mode/implementation.md`: the mapping is the shared helper; do not re-implement it in `rolldown_dev` or `rolldown_watcher`.
Merged
shulaoda
added a commit
that referenced
this pull request
Aug 26, 2026
## [1.2.6] - 2026-08-26 ### 🚀 Features - minify: support property name mangling (#10374) by @Dunqing - add `tsconfig: string` option to `transform` (#10727) by @sapphi-red - rolldown_plugin_vite_transform: add `tsconfig` option (#10725) by @sapphi-red - rolldown_plugin_vite_resolve: add top-level `tsconfig` option (#10724) by @sapphi-red - dev: expose module graph queries on the dev engine handle (#10716) by @h-a-n-a ### 🐛 Bug Fixes - dev: assign import bindings before initializing dependencies (#10783) by @h-a-n-a - dev: copy star re-exports before initializing dependencies (#10761) by @h-a-n-a - dev: register an empty exports object for a module without exports (#10772) by @h-a-n-a - name the module when a `codeSplitting` group callback returns a wrong type (#10753) by @IWANABETHATGUY - dev: map dev rename events like build watch (#10758) by @shulaoda - clear resolution cache when `TsconfigCache::clear` is called (#10726) by @sapphi-red - dev: resolve in-flight `ensureLatestBuildOutput` when the engine closes (#10730) by @h-a-n-a - binding: replace undeclared BindingErrorsOr with BindingResult in hook types (#10717) by @h-a-n-a ### 🚜 Refactor - rolldown_fs_watcher: collapse fs-watcher backends behind a single FsWatcher (#10735) by @shulaoda - hoist invariants out of the `codeSplitting` group loop (#10744) by @IWANABETHATGUY ### 📚 Documentation - document shared notify rename mapping (#10759) by @shulaoda - update watch-mode internals for unified FsWatcher (#10736) by @shulaoda ### ⚡ Performance - batch `codeSplitting` group `test` / `name` calls (#10745) by @IWANABETHATGUY - deduplicate used symbol ref readers (#10742) by @Boshen - reduce release debug formatting (#10728) by @Boshen - enable compiler cache via `module.enableCompileCache()` (#10678) by @btea - deduplicate regress codegen (#10732) by @Boshen ### 🧪 Testing - define: add expected failure for default parameter scope (#10780) by @hyfdev - use an absolute filename for transform tsconfig path (#10782) by @shulaoda ### ⚙️ Miscellaneous Tasks - deps: upgrade oxc to 0.147.0 (#10767) by @camc314 - deps: update resolver dependencies (#10766) by @Boshen - deps: update rollup submodule for tests to v4.62.5 (#10770) by @rolldown-guard[bot] - deps: update dependency vite-plus to ^0.3.0 (#10757) by @renovate[bot] - deps: update npm packages (#10750) by @renovate[bot] - deps: update rust crates (#10748) by @renovate[bot] - deps: update rust crate napi to v3.12.2 (#10738) by @renovate[bot] - deps: update dependency rust to v1.98.0 (#10733) by @renovate[bot] - wasi: cap each Node Test attempt with timeout to survive hangs (#10709) by @hyfdev Co-authored-by: shulaoda <[email protected]>
12 of 15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bundled dev mapped rename events (
Name(To)andName(Both)) toUpdate. Build watch already maps them to Create / Delete+Create. Moving or renaming a file therefore sent the wrong change kind into HMR.This PR moves the mapping into
rolldown_fs_watcher::map_notify_eventand uses it from bothrolldown_devandrolldown_watcher, so the two sides cannot drift again.Name(From)— move outName(To)— move inName(Both)— rename in place