mirror of
https://github.com/cypress-io/cypress.git
synced 2025-12-30 19:19:53 -06:00
* feat: (studio) Capture telemetry for studio initialization * fixes * revert type changes * add studio lifecycle manager * fix studio router * finish lifecycle manager, add test coverage * fix types * fix types for real * fix types actually * fix lint * fix routes spec * fix lint, add try/catch * remove work to capture telemetry * didn't mean to remove this part * fix types * remove test for other branch * feedback * fix test * encapsulate more logic into studio lifecycle manager * feedback * fix tests * blank * feedback * Update packages/app/src/runner/event-manager.ts Co-authored-by: Matt Schile <mschile@cypress.io> * fix lint * fix hiding runner ui * update test * re-work lifecycle manager implementation to not use EventEmitter * fix listener registration logic * ensure that studio still loads even when cloud bundle doesn't * feedback * feedback * use getter for isProtocolEnabled, report studio manager initialization errors, remove references for isStudioProtocolEnabled * clean up listeners when initialization errors * Update packages/server/lib/StudioLifecycleManager.ts Co-authored-by: Matt Schile <mschile@cypress.io> * Update packages/server/lib/StudioLifecycleManager.ts Co-authored-by: Matt Schile <mschile@cypress.io> * Update packages/server/lib/StudioLifecycleManager.ts Co-authored-by: Matt Schile <mschile@cypress.io> * feedback * fix: rework studio handshake to allow better caching * merge conflict * slight refactor * update types * Update packages/server/lib/cloud/api/studio/post_studio_session.ts * Apply suggestions from code review * fix test * PR comment --------- Co-authored-by: astone123 <adams@cypress.io> Co-authored-by: Matt Schile <mschile@cypress.io>