Skip to content

internal: create cloud studio session ID to group telemetry and errors #31833

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

astone123
Copy link
Contributor

@astone123 astone123 commented Jun 5, 2025

Additional details

This PR adds logic to generate a UUID when a user enters studio. This ID is then passed to the studio panel which will pass it to telemetry and error handlers in order for us to be able to group logs by studio session.

Related Cloud PR: https://github.com/cypress-io/cypress-services/pull/10927

Steps to test

Set Studio up to run with the local cloud bundle from the related cloud PR, open studio and verify that the generate call is provided with a UUID for the session. The UUID should be different each time you enter and exit studio.

How has the user experience changed?

No interface changes - this is purely for telemetry

PR Tasks

@astone123 astone123 self-assigned this Jun 5, 2025
Copy link

cypress bot commented Jun 5, 2025

cypress    Run #62902

Run Properties:  status check passed Passed #62902  •  git commit 2eff142123: safely call updateSessionId
Project cypress
Branch Review studio-session-id
Run status status check passed Passed #62902
Run duration 18m 46s
Commit git commit 2eff142123: safely call updateSessionId
Committer astone123
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 8
Tests that did not run due to a developer annotating a test with .skip  Pending 1232
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 32182
View all changes introduced in this branch ↗︎
UI Coverage  45.83%
  Untested elements 190  
  Tested elements 165  
Accessibility  92.74%
  Failed rules  3 critical   9 serious   2 moderate   2 minor
  Failed elements 695  

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.

1 participant