Skip to content

internal: (studio) add socket listeners #31470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 15, 2025

Conversation

mschile
Copy link
Contributor

@mschile mschile commented Apr 8, 2025

Additional details

Updated socket-base to call addSocketListeners on the studio manager to allow studio to add any necessary socket listeners.

Steps to test

n/a

How has the user experience changed?

n/a

PR Tasks

Copy link

cypress bot commented Apr 8, 2025

cypress    Run #61625

Run Properties:  status check passed Passed #61625  •  git commit d24d85c392: Merge branch 'develop' into mschile/studio/add_socket_listener
Project cypress
Branch Review mschile/studio/add_socket_listener
Run status status check passed Passed #61625
Run duration 14m 16s
Commit git commit d24d85c392: Merge branch 'develop' into mschile/studio/add_socket_listener
Committer Matt Schile
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 585
View all changes introduced in this branch ↗︎
UI Coverage  0%
  Untested elements 4  
  Tested elements 0  
Accessibility  97.09%
  Failed rules  0 critical   1 serious   0 moderate   0 minor
  Failed elements 6  

@mschile mschile requested a review from Copilot April 9, 2025 23:54
Copy link
Contributor

@Copilot 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.

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • packages/server/package.json: Language not supported
  • packages/types/package.json: Language not supported
Comments suppressed due to low confidence (1)

packages/server/lib/socket-base.ts:410

  • [nitpick] Consider adding a test case to verify the behavior when coreData.studio is undefined to ensure addSocketListeners is not called unexpectedly.
getCtx().coreData.studio?.addSocketListeners(socket)

@mschile mschile requested a review from ryanthemanuel April 14, 2025 17:27
@mschile mschile merged commit f62a65f into develop Apr 15, 2025
90 of 91 checks passed
@mschile mschile deleted the mschile/studio/add_socket_listener branch April 15, 2025 17:24
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.

2 participants