Skip to content

feat(client): improve log messages for overlay and socket#5849

Merged
chenjiahan merged 2 commits intomainfrom
client_logs_0815
Aug 15, 2025
Merged

feat(client): improve log messages for overlay and socket#5849
chenjiahan merged 2 commits intomainfrom
client_logs_0815

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Standardize log message format with [rsbuild] prefix
  • Make log messages more descriptive and actionable

Checklist

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

Copilot AI review requested due to automatic review settings August 15, 2025 05:17
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 15, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit d03f7f6
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/689ec34226be910008988ed8
😎 Deploy Preview https://deploy-preview-5849--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: 77 (🟢 up 4 from production)
Accessibility: 97 (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.

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 standardizes log message format and improves their clarity by adding consistent [rsbuild] prefixes and making messages more descriptive and actionable.

  • Standardized all log messages to use lowercase [rsbuild] prefix instead of mixed case variations
  • Enhanced message clarity with more descriptive text and actionable guidance
  • Added a new connection attempt log message for better debugging visibility

Reviewed Changes

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

File Description
packages/core/src/client/overlay.ts Updated error overlay log messages with consistent formatting and clearer descriptions
packages/core/src/client/hmr.ts Standardized HMR and WebSocket log messages with improved clarity and added connection attempt logging

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chenjiahan chenjiahan merged commit 26e818a into main Aug 15, 2025
11 checks passed
@chenjiahan chenjiahan deleted the client_logs_0815 branch August 15, 2025 05:26
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