checkout icon indicating copy to clipboard operation
checkout copied to clipboard

Implement retry mechanism when the checkout fails

Open diegorusso opened this issue 11 months ago • 1 comments

We had a few occasions where the checkout action failed with no apparent reason:

  • https://github.com/python/cpython/actions/runs/12934438169/job/36075486419?pr=129232
  • https://github.com/python/cpython/actions/runs/12918705578/job/36027797316?pr=129203
  • https://github.com/python/cpython/actions/runs/12916370948/job/36020416334?pr=129197

When raising a support ticket a tip has been generated.

Image

I couldn't see any retry in the checkout action documentation. In fact, it is not implemented at all:

https://github.com/diegorusso/cpython/actions/runs/12948283932/job/36116629838#step:4:157

Can you actually implement a retry in the checkout action?

diegorusso avatar Jan 24 '25 11:01 diegorusso

There is automatic retry

Image

gladykov avatar Sep 09 '25 16:09 gladykov