Skip to content

Conversation

@fi3ework
Copy link
Member

@fi3ework fi3ework commented Jan 6, 2026

Summary

close wss to prevent forever hang is playwright is not installed.

image

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings January 6, 2026 12:45
@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 3667df2
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/695d03eeada2580008f42ae5
😎 Deploy Preview https://deploy-preview-836--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

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 fixes a forever hang issue when Playwright is not installed by ensuring the WebSocket server (wss) is properly closed before error propagation.

  • Adds wss.close() calls in error handlers after the WebSocket server is created
  • Ensures proper resource cleanup when Playwright import fails or browser launch fails

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

@fi3ework fi3ework merged commit b5ac920 into main Jan 6, 2026
38 of 42 checks passed
@fi3ework fi3ework deleted the hang branch January 6, 2026 14:09
@9aoy 9aoy mentioned this pull request Jan 9, 2026
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