Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

firstrun-smoke asks a component URL again twice, 30 s apart, when it answers 5xx or nothing. GitHub's release host answered 504 for a few minutes on 2026-11-05 for files that were there (audiobuf-20261008, wine10-dep-20261003, the Sikarugir Wine), and two gate runs failed on it. A 404 still fails at once. (#655)

Gauthier Piarretteb429ac7fdd17
diff --git a/Scripts/firstrun-smoke.sh b/Scripts/firstrun-smoke.sh
index ac14084..a48f661 100755
--- a/Scripts/firstrun-smoke.sh
+++ b/Scripts/firstrun-smoke.sh
@@ -26,7 +26,13 @@ d=json.load(open(sys.argv[1]))
for k,v in d["components"].items():
if v.get("url"): print(k, v["url"])
PY
- code=$(curl -sIL -o /dev/null -w '%{http_code}' --max-time 30 "$u")
+ # A 5xx or no answer is asked again twice, 30 s apart: GitHub's release host answered 504 for minutes at a
+ # time on 2026-11-05 while every file was there, and two gate runs failed on it. A 404 stays a
+ # failure at once.
+ for try in 1 2 3; do
+ code=$(curl -sIL -o /dev/null -w '%{http_code}' --max-time 30 "$u")
+ case "$code" in 5??|000) [ $try -lt 3 ] && { echo " $k: HTTP $code, asking again"; sleep 30; } ;; *) break ;; esac
+ done
[ "$code" = "200" ] || { echo " $k: HTTP $code ($u)"; touch "$H/.urlfail"; }
echo " $k: HTTP $code"
done