Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

Performance History

Latest Results

chore(ci): add timeout for benchmark action (#13146) feat: add timeout for benchmark action
main
11 minutes ago
feat: add timeout for benchmark action
chore/set_timeout_benchmark
1 hour ago
fix: skip SRI for external URLs not under publicPath (#13134) * fix: skip SRI for external URLs not under publicPath Fixes #12910 This commit fixes an issue where the SubresourceIntegrityPlugin would attempt to compute SRI hashes for external CDN URLs (like jsdelivr.net) that are injected via html.tags option, causing build failures. The fix ensures that absolute URLs (http/https or protocol-relative) that don't start with the configured publicPath are skipped for SRI processing, as they are external resources not served from the build output. Changes: - Updated process_tag in Rust SRI plugin (html.rs) to skip external URLs - Updated processTag in TypeScript SRI plugin (SubresourceIntegrityPlugin.ts) to skip external URLs - Added clearer comments explaining the logic This behavior matches webpack-subresource-integrity's handling of external URLs. * test: add test cases and fix formatting for SRI external URL fix - Add test case for skipping SRI on external CDN URLs - Add test case for applying SRI to URLs under publicPath - Fix formatting issues (remove trailing whitespace) * test: fix SRI test configurations for target and crossOriginLoading Add target: 'web' and crossOriginLoading: 'anonymous' to SRI test configurations to avoid warnings and errors during test execution. * test: fix SRI test cases to properly test external URL skipping - Use __non_webpack_require__ to load fs and path in target: 'web' environment - Use HtmlRspackPlugin hooks to add external CDN scripts for testing - Add proper assertions to verify external URLs are not processed by SRI plugin - Fix file naming to use bundle0.js instead of main.js - Add node.__dirname config to suppress warnings * fix: treat local publicPath (/, ./) as requiring external URL skipping in SRI When publicPath is "/" or "./" (indicating local deployment), all absolute HTTP/HTTPS URLs should be treated as external resources and skip SRI processing. Previously, the code only checked for empty publicPath, but rsbuild defaults to publicPath: "/", causing external URLs to be incorrectly processed. Fixes the issue where external CDN URLs were being treated as local assets. * test: add test case for publicPath='/' with external URLs Adds a test case to verify that when publicPath is '/' (a common default), external CDN URLs are correctly skipped and not processed by the SRI plugin. This test case covers the specific scenario that rsbuild uses by default. * style: format SubresourceIntegrityPlugin.ts * style: format Rust code with cargo fmt
main
2 hours ago
chore: try remove add
yj/perf-add-files
3 hours ago
chore: fix
codex/overlaymap-paritermut
4 hours ago

Active Branches

chore: try remove add
last run
3 hours ago
#13145
CodSpeed Performance Gauge
0%
#12983
CodSpeed Performance Gauge
0%
#13107
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs