Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Updated and expanded the list of recognized built-in modules: added missing modules like diagnostics_channel, http2, inspector, perf_hooks, trace_events, v8, wasi, and worker_threads.

Checklist

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

Copilot AI review requested due to automatic review settings December 15, 2025 13:23
@netlify
Copy link

netlify bot commented Dec 15, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 4df3f5f
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/69400bbf64052800080541d1
😎 Deploy Preview https://deploy-preview-6783--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68 (🟢 up 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Copy link
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 updates the Node.js built-in modules detection in the error hint system to improve module resolution error messages. The changes enhance both the completeness of recognized modules and the lookup performance.

Key changes:

  • Added 8 missing Node.js built-in modules (diagnostics_channel, http2, inspector, perf_hooks, trace_events, v8, wasi, worker_threads)
  • Improved lookup performance by converting from Array with .includes() to Set with .has()
  • Reorganized internal stream aliases with clarifying comments and better code structure

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

@chenjiahan chenjiahan merged commit dd5b510 into main Dec 16, 2025
18 checks passed
@chenjiahan chenjiahan deleted the update_node_builtin_1215 branch December 16, 2025 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants