Skip to content

feat(client): add periodic ping to WebSocket connection#5724

Merged
chenjiahan merged 2 commits intomainfrom
hmr_ping_0731
Jul 31, 2025
Merged

feat(client): add periodic ping to WebSocket connection#5724
chenjiahan merged 2 commits intomainfrom
hmr_ping_0731

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This pull request introduces a mechanism to maintain WebSocket connections for HMR by implementing periodic ping messages.

Related Links

Checklist

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 31, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 549d610
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/688b8020da747c0008926c4f
😎 Deploy Preview https://deploy-preview-5724--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: 79 (no change 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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 31, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 20fda37
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/688b803ef84c5600089dccdc
😎 Deploy Preview https://deploy-preview-5724--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: 55 (🔴 down 24 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.

@chenjiahan chenjiahan merged commit 3658f0b into main Jul 31, 2025
11 checks passed
@chenjiahan chenjiahan deleted the hmr_ping_0731 branch July 31, 2025 14:49
@chenjiahan chenjiahan mentioned this pull request Aug 3, 2025
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.

[Bug]: ws RangeError: Invalid Websocket Frame 1006 WS_ERR_INVALID_CLOSE_CODE

1 participant