Skip to content

fix: rename default ipc socket#233

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/rename-ipc-socket
Jun 21, 2026
Merged

fix: rename default ipc socket#233
chenjiahan merged 3 commits into
mainfrom
chenjiahan/rename-ipc-socket

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Jun 21, 2026

Copy link
Copy Markdown
Member

Summary

This PR renames the default IPC socket generated by ipc: true from webpack-dev-server.sock to rspack-dev-server.sock.

@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The default IPC socket filename is renamed from webpack-dev-server.sock to rspack-dev-server.sock in src/server.ts. This change applies only when options.ipc is set to true (boolean); all other IPC path-handling logic is unchanged. Two corresponding assertions in tests/e2e/ipc.test.js are updated to expect the new rspack-dev-server.${process.pid}-N.sock filename pattern.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix: rename default ipc socket' directly and clearly summarizes the main change - renaming the default IPC socket filename from webpack-dev-server.sock to rspack-dev-server.sock.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The pull request description clearly describes the changeset: renaming the default IPC socket from 'webpack-dev-server.sock' to 'rspack-dev-server.sock', which matches the file-level changes in src/server.ts and tests/e2e/ipc.test.js.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chenjiahan/rename-ipc-socket

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chenjiahan chenjiahan merged commit 98f3b40 into main Jun 21, 2026
3 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/rename-ipc-socket branch June 21, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant