-
Notifications
You must be signed in to change notification settings - Fork 3.3k
internal: (studio) add telemetry around time it takes to download the bundle and initialize studio fully #31834
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
internal: (studio) add telemetry around time it takes to download the bundle and initialize studio fully #31834
Conversation
… bundle and initialize studio fully
There was a problem hiding this 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 introduces telemetry instrumentation to measure the performance of the studio bundle download and initialization process. Key changes include:
- Adding telemetry marks and measures across studio initialization and bundle lifecycle events.
- Integrating telemetry reporting with Honeycomb via TelemetryReporter.
- Expanding test coverage for telemetry components and ensuring proper behavior during error handling.
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
packages/server/test/unit/project_spec.js | Added tests for telemetry marks in studio initialization flows. |
packages/server/test/unit/cloud/studio/telemetry/TelemetryReporter_spec.ts | Implemented unit tests for TelemetryReporter functionality and error handling. |
packages/server/test/unit/cloud/studio/telemetry/TelemetryManager_spec.ts | Added tests verifying marking, measuring, and clearing telemetry data. |
packages/server/test/unit/cloud/studio/StudioLifecycleManager_spec.ts | Extended telemetry-related assertions in studio lifecycle management tests. |
packages/server/lib/project-base.ts | Integrated telemetry marking and reporting in the onStudioInit callback. |
packages/server/lib/cloud/studio/telemetry/* | New telemetry constants, reporters, and a telemetry manager implementation. |
packages/server/lib/cloud/studio/StudioLifecycleManager.ts | Instrumented studio lifecycle events with telemetry marks and telemetry reporting. |
cypress
|
Project |
cypress
|
Branch Review |
ryanm/internal/add-telemetry-for-studio-download
|
Run status |
|
Run duration | 19m 23s |
Commit |
|
Committer | Ryan Manuel |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
10
|
|
1232
|
|
0
|
|
32182
|
View all changes introduced in this branch ↗︎ |
UI Coverage
45.56%
|
|
---|---|
|
191
|
|
164
|
Accessibility
92.73%
|
|
---|---|
|
3 critical
9 serious
2 moderate
2 minor
|
|
696
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
We need to be able to track on how long it takes to download the studio bundle and initialize it fully. This PR will send those results to honeycomb.
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?