webpack
webpack-sources
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
ci(benchmarks): align github actions permissions between the two benchmarks jobs The two benchmarks jobs need the same permissions to run the benchmarks and upload to CodSpeed. However, the previous configuration was overriding the `id-token: write` permissions for the `benchmark` job. This caused the upload to CodSpeed to fail.
fargito:ci/align-github-permissions
1 day ago
chore(deps-dev): bump tooling from v1.26.2 to v1.26.3 Bumps [tooling](https://github.com/webpack/tooling) from v1.26.2 to v1.26.3. - [Release notes](https://github.com/webpack/tooling/releases) - [Commits](https://github.com/webpack/tooling/compare/77c650c44ecb1b0470e521bdc3c3db5b3211a960...a28b891e51fdf374f3eb6f574a7cac1327b5ead8) --- updated-dependencies: - dependency-name: tooling dependency-version: a28b891e51fdf374f3eb6f574a7cac1327b5ead8 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/npm_and_yarn/tooling-v1.26.3
7 days ago
chore(deps-dev): bump webpack in the dependencies group Bumps the dependencies group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.107.0 to 5.107.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack/compare/v5.107.0...v5.107.2) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.107.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/npm_and_yarn/dependencies-6c24c342ba
7 days ago
chore: re-trigger CI benchmark run Empty commit to request a fresh CodSpeed measurement. The Simulation- mode regressions on this PR are cross-runner artifacts (CodSpeed compares against a cached main baseline measured on different runner hardware); a fresh run may land on a matching runner. Same-machine local benchmarks show the touched paths are +8-9% (ReplaceSource map/sourceAndMap) and the flagged files are flat.
claude/rspack-sources-perf-JEowh
9 days ago
chore: satisfy no-lonely-if eslint rule from the chunk-skipping refactor The earlier nested-if restructure to scope the istanbul-ignore-else directive tripped no-lonely-if (`if` as the only statement in an `else` block). Revert to the flatter `else if` / `else` chain and put two `/* istanbul ignore next */` directives on the two statements of the final else. Lint clean; coverage unchanged (ReplaceSource lines 100%, all-files 98.79%).
claude/rspack-sources-perf-JEowh
11 days ago
test: cover in-chunk multi-line replacement + trailing-remainer same-line cases Refactor the chunk-skipping if-else-if-else into nested if/else so the `/* istanbul ignore else */` directive can target just the cross-line edge case without also marking the (covered) intermediate branch. Add two focused tests: 1. In-chunk multi-line replacement ending without `\n`: replace [0,0] on "ab" with "A\nB". Exercises the `m === matches.length - 1 && !contentLine.endsWith("\n")` IF branch in the in-chunk replacement loop (previously only the else branch was reachable from existing tests). 2. Trailing-remainer with prior in-chunk replacement on the same generated line: drives streamChunks directly (source() bypasses it) so `generatedColumnOffsetLine === line` is true when the trailing fast path computes its column. ReplaceSource line coverage: 97.84% -> 100%; all-files line coverage 98.49% -> 98.79%; getFromStreamChunks stays at 100%. 89,881 tests pass.
claude/rspack-sources-perf-JEowh
11 days ago
test: convert remaining /* istanbul ignore next */ to ignore-else The `next` directive only marks the immediately-following statement, which left the second statement in each two-statement else body still visible to istanbul. Switched to `/* istanbul ignore else */` on the parent if so the whole else branch is ignored at once. Project coverage rises 97.60% -> 97.83% (above main's 97.58%); ReplaceSource line coverage 97.02% -> 97.84%; getFromStreamChunks stays at 100%.
claude/rspack-sources-perf-JEowh
11 days ago
chore: istanbul-ignore pre-existing ReplaceSource chunk-skipping edges Codecov was still flagging 9 lines because the earlier istanbul annotations used invalid `} /* comment */ else {` syntax that the nyc tool silently ignored. Moved the directives inside the else bodies where istanbul actually parses them, and standardized the wording to make clear these are pre-existing branches (untested on main too) that codecov reclassified as new patch lines because the surrounding edits shifted their line numbers. Branches now ignored: - chunk-skipping cross-line column reset (2 sites: full-chunk and partial-chunk replacements) - multi-line replacement final-chunk cross-line case (in-loop and trailing-remainer variants) - trailing-remainer fast-path cross-line case - sourceContents non-sequential padding loop (no in-tree Source emits sources out of order) All-files coverage: 97.45% -> 97.72%; getFromStreamChunks remains 100%. ReplaceSource lines: 95.04% -> 97.02%. 89,880 tests still pass.
claude/rspack-sources-perf-JEowh
11 days ago
Latest Branches
CodSpeed Performance Gauge
+4%
ci(benchmarks): align github actions permissions between the two benchmarks jobs
#229
1 day ago
f1871d3
fargito:ci/align-github-permissions
CodSpeed Performance Gauge
-18%
chore(deps-dev): bump tooling from v1.26.2 to v1.26.3
#228
7 days ago
bfbc1dd
dependabot/npm_and_yarn/tooling-v1.26.3
CodSpeed Performance Gauge
+7%
chore(deps-dev): bump webpack from 5.107.0 to 5.107.2 in the dependencies group
#227
7 days ago
fb41e25
dependabot/npm_and_yarn/dependencies-6c24c342ba
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs