Commit Graph

2 Commits

Author SHA1 Message Date
Ryan Manuel 9837082fa4 internal: (studio) do not retry on cert failures (#32631)
* fix: ensure that all calls to api.cypress.io and cloud.cypress.io properly set rejectUnauthorized

* fix: ensure that all calls to api.cypress.io and cloud.cypress.io properly set rejectUnauthorized

* Fix SSL certificate verification for cloud requests

Fixed SSL certificate verification for Cypress cloud requests.

* fix: ensure that all calls to api.cypress.io and cloud.cypress.io properly set rejectUnauthorized

* internal: (studio) do not retry on cert failures

* Update packages/server/test/unit/cloud/api/studio/post_studio_session_spec.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* Update packages/server/test/unit/cloud/api/studio/post_studio_session_spec.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* fix types

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2025-10-02 17:58:01 -05:00
Cacie Prins 1d845323d4 feat: Improve UX when Test Replay upload fails due to slow upload (#30235)
* new error message for stream stall upload failures

* new unknown error msg, extract printProtocolUploadError for testing, consolidatd args for stream stall msg

* rename env more appropriately, add sampling interval param to putProtocolArtifact

* default to 5000, override with app capture protocol value, override that with env var

* update snapshots

* fix math in upload stall error msg

* changelog

* update gql schema w/ new error msg, fix protocol tscheck

* update test to use fn for app capture supplied interval

* increase default stream stall interval to 10 seconds

* typos

* snapshots

* rename env var

* do not use user-supplied interval if it parses to NaN

* use the more standard makeErr for unknown/uncategorized upload error in visual snapshots

* rearrange upload stall error message

* fix typo

* changelog

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-09-25 11:39:28 -05:00