-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Description
Current behavior
When creating a Cypress Cloud run, if the network response is slow and times out, the client retry logic fails because the run was already successfully created on the server side.
Desired behavior
The retry should either succeed or gracefully handle the case where the run was already created.
Test code to reproduce
- Client makes request to create Cypress Cloud run with
--groupand--ci-build-id - Cloud successfully creates the run
- Response times out before reaching client (
ESOCKETTIMEDOUT) - Client retries with same
--groupand--ci-build-id - Cloud rejects the retry with "group name already used" error
Cypress Version
14.4.0
Debug Logs
We encountered an unexpected error communicating with our servers.
RequestError: Error: ESOCKETTIMEDOUT
We will retry 3 more times in 30 seconds...
You passed the --group flag, but this group name has already been used for this run.
The existing run is: https://cloud.cypress.io/projects/******/runs
The --group flag you passed was: *****
The --ciBuildId flag you passed was: *****
If you are trying to parallelize this run, then also pass the --parallel flag, else pass a different group name.Other
No response
Metadata
Metadata
Assignees
Labels
No labels