Tighten retry comments

This commit is contained in:
danielhanchen 2026-07-10 11:42:24 +00:00
commit 33da775312
3 changed files with 12 additions and 30 deletions

View file

@ -466,11 +466,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try:
@ -976,11 +973,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try:

View file

@ -452,11 +452,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try:
@ -868,11 +865,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try:

View file

@ -658,11 +658,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try:
@ -1102,11 +1099,8 @@ jobs:
"Content-Type": "application/json",
},
)
# Shared CI runners stall sporadically, so retry transport-level
# failures only; HTTP status errors surface immediately. Bounded
# to fit the job's timeout-minutes: short probes get 3 full
# attempts, long probes one retry capped at 300s (a healthy
# server answers a retry quickly; a stalled one never does).
# Retry transport failures only (HTTP errors raise immediately);
# short probes get 3 attempts, long probes 1 retry capped at 300s.
attempts = 3 if timeout <= 300 else 2
for attempt in range(attempts):
try: