fix: no longer use capture script url as default upload url for test replay recordings #29512
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional details
When Cloud responds to the instance results POST with an empty protocol upload url, the artifact upload logic was defaulting to using the URL of the capture protocol script. This URL does not accept uploads, and was causing HTTP errors similar to
Failed to upload after 1 attempts. Errors: Request Entity Too Large
. Instead of attempting to upload to this URL, Cypress will now report to stdout that the upload URL for Test Replay was missing or invalid, and it cannot upload the recording. Further investigation is necessary into why Cypress Cloud is returning an undefined upload url for runs that have Test Replay enabled.Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?