Skip to content

internal: updating studio-server initialization with renderer APIs #32204

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 11 commits into from
Aug 15, 2025

Conversation

tbiethman
Copy link
Contributor

@tbiethman tbiethman commented Aug 12, 2025

  • Closes

Additional details

  • Adds the StudioElectron interface, for managing an Electron BrowserWindow instance (for studio-related renderings)
  • Provides an instance of the StudioElectron interface to the studio server
  • Hooks into studio server lifecycle for cleanup
  • Updates studio types for dependent changes; looks like things were a little out of date app-side, will verify unrelated type changes here.

Open to suggestions on the electron dependency - I didn't think it was worth it to plumb the BrowserWindow class through the DataContext somehow but I think we could do that.

Also taking a look at any integration-level testing we have around this.

Steps to test

Test in conjunction with equivalent services branch - reach out for more details.

How has the user experience changed?

No user-facing changes here

PR Tasks

@tbiethman tbiethman marked this pull request as ready for review August 12, 2025 19:07
Copy link

cypress bot commented Aug 12, 2025

cypress    Run #64641

Run Properties:  status check passed Passed #64641  •  git commit 633dca50b4: Merge branch 'develop' of https://github.com/cypress-io/cypress into tbiethman/s...
Project cypress
Branch Review tbiethman/studio-ai-visibility
Run status status check passed Passed #64641
Run duration 09m 35s
Commit git commit 633dca50b4: Merge branch 'develop' of https://github.com/cypress-io/cypress into tbiethman/s...
Committer Tyler Biethman
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 694
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 130
View all changes introduced in this branch ↗︎

this._studioElectron = new StudioElectron()
}

await this.invokeAsync('initializeStudioAI', { isEssential: true }, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I like how this is tied to AI initialization now.

@ryanthemanuel ryanthemanuel merged commit 5260488 into develop Aug 15, 2025
85 of 90 checks passed
@ryanthemanuel ryanthemanuel deleted the tbiethman/studio-ai-visibility branch August 15, 2025 19:54
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