Skip to content

fix: system library name#12215

Merged
LingyuCoder merged 1 commit intomainfrom
fix/system-library-name
Nov 17, 2025
Merged

fix: system library name#12215
LingyuCoder merged 1 commit intomainfrom
fix/system-library-name

Conversation

@LingyuCoder
Copy link
Copy Markdown
Contributor

Summary

  • remove noplan test cases
  • fix a little bug of system library name

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 17, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit e3c575a
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/691adabe16a32c00088f2374

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: bug fix release: bug related release(mr only) labels Nov 17, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes noplan test cases and fixes a bug in the system library name handling. The changes remove test cases that were previously marked as unsupported ("NOPLAN") or are now ready for testing. Additionally, it fixes the system library plugin to properly handle template placeholders (like [name], [id], [chunkhash]) in the library name configuration.

Key Changes

  • Removed numerous test cases marked with "NOPLAN" (tests not planned for support or already passing but skipped)
  • Updated system library plugin to resolve template strings in library names using Filename and PathData
  • Changed several test filters from "NOPLAN" to "TODO" or "FIXME" to indicate planned support

Reviewed Changes

Copilot reviewed 282 out of 419 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
crates/rspack_plugin_library/src/system_library_plugin.rs Fixed system library name to support template placeholders by using Filename and PathData
tests/rspack-test/configCases/target/system-named-assets-path/test.filter.js Enabled test by removing NOPLAN filter
tests/rspack-test/serialCases/css/css-modules-broken-keyframes/test.filter.js Changed filter from NOPLAN to TODO
tests/rspack-test/exampleCases/cjs-tree-shaking/test.filter.js Changed filter from NOPLAN to TODO
Various test files in statsOutputCases, serialCases, normalCases, exampleCases, configCases Removed entire test directories marked as NOPLAN

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LingyuCoder LingyuCoder enabled auto-merge (squash) November 17, 2025 08:29
@github-actions
Copy link
Copy Markdown
Contributor

📦 Binary Size-limit

Comparing e3c575a to fix: should handle loader error with empty stack trace (#12213) by Cong-Cong Pan

❌ Size increased by 1.50KB from 47.46MB to 47.46MB (⬆️0.00%)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Nov 17, 2025

CodSpeed Performance Report

Merging #12215 will not alter performance

Comparing fix/system-library-name (e3c575a) with main (09a4d48)

Summary

✅ 17 untouched

@LingyuCoder LingyuCoder merged commit 0788ae1 into main Nov 17, 2025
50 checks passed
@LingyuCoder LingyuCoder deleted the fix/system-library-name branch November 17, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants