Open
Description
Problem description
I am using the checkout action on an enterprise server. Sometimes the overall network load leads to connection problems. This is a known problem and there are solutions for that, e.g. this one from chromium: https://chromium.googlesource.com/chromium/tools/depot_tools/+/refs/heads/main/git_retry.py
Feature request
Could you add an option to enable a retry-mechanism?
Possible Impementation
API:
# Number of retries on transient network errors per checkout
# Transient network errors can occur if the network traffic exceeds the capabilities of the target server.
# Default: 0 (no retries)
transient-error-retries: 0
Backend:
take the GIT_TRANSIENT_ERRORS list from https://chromium.googlesource.com/chromium/tools/depot_tools/+/refs/heads/main/git_common.py and check stderror against it.
Metadata
Metadata
Assignees
Labels
No labels