codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

v4 keeps reporting HTTP Error 504 upstream request timeout very often

Open ssbarnea opened this issue 2 months ago • 1 comments

First, please do not close this ticket because the problem is real and is far from being a one-off occasional network glitch. Apparently since v4 was released it was proved to be a huge source of problems even for people that started using tokens as recommended.

One last example at https://github.com/ansible/ansible-lint/actions/runs/8941534730/job/24562101600?pr=4131 - where 3/8 uploading jobs failed with 504, while 5 succeeded.

That is a 38% failure rate, at a time where both https://www.githubstatus.com/ and https://status.codecov.com/ report everything working perfectly.

Can we please do something to make codecov uploading more reliable?

debug - 2024-05-03 15:55:18,720 -- Upload result --- {"result": "RequestResult(error=RequestError(code='HTTP Error 504', params={}, description='upstream request timeout'), warnings=[], status_code=504, text='upstream request timeout')"}
[103](https://github.com/ansible/ansible-lint/actions/runs/8941534730/job/24562101600?pr=4131#step:13:104)
error - 2024-05-03 15:55:18,720 -- Upload failed: upstream request timeout

I am aware that others asked about https://github.com/codecov/codecov-action/issues/926 but we did not see any work being done to address it, neither to improve the reliability of the server side.

ssbarnea avatar May 03 '24 16:05 ssbarnea