Does the Codecov CLI timeout prevent VCS status updates?
24.5K reputation · 08 Oct 2024, 14:42 UTC
When integrating Codecov into a CI/CD pipeline, the CLI uploader is used to transmit coverage reports to the platform. To prevent pipeline hangs, the uploader implements a timeout mechanism for these network requests.
There is uncertainty regarding the behavior of the Version Control System (VCS) status check when a timeout occurs during the upload phase. Specifically, if the CLI terminates the process due to a timeout before the report is fully transmitted, it is unclear if the platform treats this as a failed upload or if the VCS status check remains in a pending state indefinitely.
Verification Requirements
- Verify the default timeout duration for the Codecov CLI.
- Determine if the platform sends a "failure" status to the VCS provider when a report upload is interrupted by a client-side timeout.
What is the expected state of the Pull Request status check when the CLI uploader hits its timeout limit? Does the platform provide a mechanism to distinguish between a network timeout and a missing report?