web-infra-dev
rspack
BlogDocsChangelog

feature/async startup runtime promise

#11899
Comparing
feature/async-startup-runtime-promise
(
c24eeae
) with
main
(
ca1a20f
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

Passed

js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
66.8 µs66.6 µs
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
92.9 ms92.8 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
284.9 µs284.8 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
101.9 ms101.8 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
766.5 ms766.4 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
2 ms2 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
88.1 µs88.2 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
216.5 µs216.8 µs
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
1.6 s1.6 s
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
721.6 ms723 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.1 s2.1 s
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
83.1 µs83.3 µs
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
370.1 ms371.3 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
25.5 ms25.6 ms
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-1%
568.6 ms573.3 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-2%
570.5 µs584.2 µs

Commits

Click on a commit to change the comparison range
Base
main
ca1a20f
+0.03%
chore(binding): sync wasi generated exports
2ef62db
1 month ago
by ScriptedAlchemy
-0.68%
fix(runtime): adjust async startup promise flow
36cd349
1 month ago
by ScriptedAlchemy
+0.61%
chore: merge origin main
a8ce32c
1 month ago
by ScriptedAlchemy
+0.02%
fix(runtime): ensure async loaders await dependencies
463e19b
1 month ago
by ScriptedAlchemy
-0.03%
refactor(runtime): tidy async startup hash update
d1c8a51
1 month ago
by ScriptedAlchemy
-0.01%
fix(runtime): gate mf async startup behind experiment
4cc4f4e
1 month ago
by ScriptedAlchemy
-0.2%
fix: honor explicit mfAsyncStartup for containers Allow async startup when mfAsyncStartup is explicitly true, even for chunks with container entries. Only disable async startup for containers when it's implicitly enabled through chunk handlers.
30b5d94
1 month ago
by ScriptedAlchemy
+0.13%
fix(mf): include runtime handlers in enhanced mode Previously, enhanced mode would only set fallback error functions for __webpack_require__.f.consumes, __webpack_require__.f.remotes, and __webpack_require__.I instead of including the actual handler implementations. This caused runtime errors when async startup was enabled. Now enhanced mode includes the actual handler code: - ConsumeSharedRuntimeModule includes consumesCommon.js, consumesInitial.js, and consumesLoading.js - RemoteRuntimeModule includes remotesLoading.js - ShareRuntimeModule includes initializeSharing.js Also adds container entry detection to prevent async startup for container.js files while allowing it for host files (main.js) that consume remotes. Test results improved from 14 failures to 5 failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
a70265d
1 month ago
by ScriptedAlchemy
+0.17%
fix(binding): add mf async startup bindings
1e50a14
1 month ago
by ScriptedAlchemy
+0.08%
chore: update Cargo.lock after removing ustr dependency
0623ed8
1 month ago
by ScriptedAlchemy
-0.29%
fix: gate all MF async startup logic on experiment flag Only apply async startup runtime modules when mf_async_startup experiment is explicitly enabled. This prevents adding extra runtime modules to non-MF builds. Fixes test failures where stats snapshots showed 12 runtime modules instead of 3 for regular (non-MF) builds.
8994f30
1 month ago
by ScriptedAlchemy
+0.02%
fix: properly gate MF async startup to preserve main branch behavior - Separate main branch logic from MF async startup logic - Only apply container entry check to MF async builds, not all builds - Non-MF builds now match main branch (3 runtime modules instead of 12) - Update snapshots for commons-chunk-min-size-Infinity and named-chunks-plugin tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28eba04
1 month ago
by ScriptedAlchemy
+0.02%
fix: suppress false positive 'this' unused warning in BuildInfo The TypeScript ESLint rule incorrectly flags 'this' as unused even though it's used via the spread operator (...this) and property accesses. Added eslint-disable comment to suppress this false positive. This unblocks CI which has 2283 warnings vs the 2282 limit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
b3b3c5d
1 month ago
by ScriptedAlchemy
+0.25%
fix(rspack): make build info inspect serializable
52fb979
1 month ago
by ScriptedAlchemy
0%
fix(incremental): avoid repeat full-hash warnings
31da1bb
1 month ago
by ScriptedAlchemy
+0.06%
test(container): align async startup expectations
3ba4253
1 month ago
by ScriptedAlchemy
-0.1%
test(container): handle remote share versions
fbd55b0
1 month ago
by ScriptedAlchemy
-0.03%
test(container): normalize async startup expectations
b5c3d9c
1 month ago
by ScriptedAlchemy
0%
fix(mf): guard embed runtime plugin behind async startup
420b7f6
1 month ago
by ScriptedAlchemy
-0.08%
fix(mf): ensure backwards compatibility for async startup feature Ensures default behavior matches main branch exactly when mfAsyncStartup flag is disabled. Changes: - Remove inverted guard logic preventing embed runtime plugin from running - Make runtime code generation conditional on async_startup flag - Restore chunk cleanup logic with proper conditional guards - Add missing async_startup field to ModuleFederationRuntimePluginOptions - Restore test files that were deleted from main branch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3ebd6f3
1 month ago
by ScriptedAlchemy
0%
fix(ir): minimal async startup gating
deca562
29 days ago
by ScriptedAlchemy
+0.02%
fix(runtime): restore sync startup when mf async disabled
5b238ab
27 days ago
by ScriptedAlchemy
-0.08%
test(stats): restore snapshot baselines
df01379
27 days ago
by ScriptedAlchemy
+0.04%
fix(runtime): restore startup plugin wiring for async
7c7e021
27 days ago
by ScriptedAlchemy
-0.07%
fix(resolver): avoid sharing alias caches across compilers
e8a04f9
27 days ago
by ScriptedAlchemy
+0.08%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
9094974
27 days ago
by ScriptedAlchemy
+0.01%
chore: sync runtime cargo manifest
b452da3
26 days ago
by ScriptedAlchemy
+0.43%
chore: snapshot current work
0f2d5f4
26 days ago
by ScriptedAlchemy
+0.18%
test: update default options snapshot
c7f5d5c
26 days ago
by ScriptedAlchemy
-0.29%
Merge branch 'main' into feature/async-startup-runtime-promise
762e0ef
26 days ago
by ScriptedAlchemy
-0.29%
fix: correct container entry chunk handling for non-async startup - Make container entry chunk skip conditional on mf_async_startup experiment - Ensure container entries get proper runtime requirements when async startup is disabled - Fix Promise.all wrapping for federation runtime initialization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
8016dd8
25 days ago
by ScriptedAlchemy
-0.02%
feat: implement ESM async startup with Promise.resolve().then() pattern - Modified embed_federation_runtime_plugin.rs to wrap ESM execution in Promise - Extract import statements to keep them at top level (cannot be inside functions) - Use async/await syntax for ESM instead of callback functions - Match expected test pattern: const __webpack_exports__Promise = Promise.resolve().then(async () => - Tests: 1635/1636 passing (99.94%) - One runtime error remaining in ComponentB loading 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
b1f5b57
25 days ago
by ScriptedAlchemy
-19.84%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
d30b7d9
25 days ago
by ScriptedAlchemy
+19.94%
fix: avoid string conversion on source value
776c5a5
24 days ago
by ScriptedAlchemy
-0.08%
chore: restore esm snapshot baselines
1190bd9
24 days ago
by ScriptedAlchemy
+0.11%
fix: gate mf async bootstrap and preserve imports
8aadb28
23 days ago
by ScriptedAlchemy
-0.19%
fix: restore accidentally removed exports from WASI binding files The WASI binding files had their exports accidentally removed in the PR, causing CI build failures on all platforms (Linux, Mac ARM64, Windows, WASM). This commit restores the necessary exports from the main branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
0be6e50
22 days ago
by ScriptedAlchemy
+0.07%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
9914305
22 days ago
by ScriptedAlchemy
-0.14%
test: update stats exports snapshot
2c08ac8
21 days ago
by ScriptedAlchemy
0%
test: update stats exports snapshot for macOS build Updated the exports snapshot to match the local macOS build output. Hash values differ between build environments but functionality is identical. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
553915a
21 days ago
by ScriptedAlchemy
+0.2%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
ba6e99b
21 days ago
by ScriptedAlchemy
+0.26%
chore: format examples/basic config
5037973
18 days ago
by ScriptedAlchemy
-0.42%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
5641d9c
13 days ago
by ScriptedAlchemy
+0.14%
chore: format code to satisfy Prettier CI checks
66991e1
13 days ago
by ScriptedAlchemy
+0.16%
test(wasm): relax chunk id expectation in mini-css-extract-plugin case to accept dynamic suffixes across runtimes
8d53ac1
13 days ago
by ScriptedAlchemy
-0.19%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
9a1a65c
13 days ago
by ScriptedAlchemy
-0.02%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
4e6be08
12 days ago
by ScriptedAlchemy
+0.13%
fix: update runtime module export name
c9d8a4f
11 days ago
by ScriptedAlchemy
-0.24%
Merge branch 'main' into feature/async-startup-runtime-promise
a7bfd9a
11 days ago
by ScriptedAlchemy
+0.16%
Merge branch 'main' into feature/async-startup-runtime-promise
4e82ca7
10 days ago
by ScriptedAlchemy
-0.05%
Merge branch 'main' into feature/async-startup-runtime-promise
c695be6
10 days ago
by ScriptedAlchemy
+11.2%
chore: align markdown-to-jsx version
1b7c2b8
8 days ago
by ScriptedAlchemy
+0.09%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
b51162b
7 days ago
by ScriptedAlchemy
+0.6%
Merge remote-tracking branch 'origin/main' into feature/async-startup-runtime-promise
75265bb
6 days ago
by ScriptedAlchemy
-11.97%
chore: fix workspace dependency targets
0a16f5f
4 days ago
by ScriptedAlchemy
+0.09%
fix(runtime): guard startup entrypoint fallback
5b12bd2
4 days ago
by ScriptedAlchemy
-0.31%
fix: align async mf startup globals
ee39816
2 days ago
by ScriptedAlchemy
+0.28%
fix: use async startup entrypoint for delegated mf chunks
ea55acc
2 days ago
by ScriptedAlchemy
-0.05%
fix: restore startup for mf entry chunks
09cd387
2 days ago
by ScriptedAlchemy
-0.11%
chore: revert esm library change
e3388bf
2 days ago
by ScriptedAlchemy
+0.16%
fix(binding): regenerate WASI named exports
8fb9e27
1 day ago
by ScriptedAlchemy
-0.18%
fix(mf): keep consumes runtime state in async startup
40c3572
5 hours ago
by ScriptedAlchemy
+0.02%
chore: lock mf bundler runtime to 0.21.6
4d7a5ff
3 hours ago
by ScriptedAlchemy
-0.07%
fix(mf): declare exports in async ESM bootstrap
c24eeae
1 hour ago
by ScriptedAlchemy
© 2025 CodSpeed Technology
Home Terms Privacy Docs