Skip to content

internal: (studio) add indication in the console in local development that watch mode has detected a change #31824

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

Conversation

ryanthemanuel
Copy link
Collaborator

Additional details

Add indication in the console in local development that watch mode has detected a change

Steps to test

How has the user experience changed?

PR Tasks

@ryanthemanuel ryanthemanuel self-assigned this Jun 4, 2025
@ryanthemanuel ryanthemanuel requested review from mschile and Copilot June 4, 2025 12:28
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.

Pull Request Overview

Adds a console notification when the studio manager finishes reloading in watch mode to improve local development feedback.

  • Awaits studioManagerPromise before proceeding in the reload handler
  • Logs "Studio manager reloaded" to the console
  • Disables the ESLint no-console rule inline for this log
Comments suppressed due to low confidence (1)

packages/server/lib/cloud/studio/StudioLifecycleManager.ts:286

  • There’s no test covering the new reload notification; consider adding a unit or integration test to assert that the console message is emitted when changes are detected.
// eslint-disable-next-line no-console

Copy link

cypress bot commented Jun 4, 2025

cypress    Run #62904

Run Properties:  status check passed Passed #62904  •  git commit b940c75909: PR comments
Project cypress
Branch Review ryanm/internal/add-indication-that-watching-has-detected-a-change
Run status status check passed Passed #62904
Run duration 10m 03s
Commit git commit b940c75909: PR comments
Committer Ryan Manuel
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 ↗︎

@ryanthemanuel ryanthemanuel merged commit 430465a into develop Jun 7, 2025
90 of 91 checks passed
@ryanthemanuel ryanthemanuel deleted the ryanm/internal/add-indication-that-watching-has-detected-a-change branch June 7, 2025 14:00
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