You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use retry loop with backoff for apt-get update in Dockerfiles
Replace single-retry apt-get update with a 3-attempt retry loop using
exponential backoff (10s, 20s, 30s). The single retry was insufficient
when Ubuntu mirrors are in prolonged sync states (observed in CI where
mirror hash mismatches persisted across multiple minutes).
The apt_update_retry function clears the apt cache before each attempt,
ensuring a clean state. Applied to all apt-get update calls in both
agent and squid Dockerfiles, including the install-retry fallback paths.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments