diff --git a/release.sh b/release.sh index 4e3e622..6c70cfe 100755 --- a/release.sh +++ b/release.sh @@ -142,6 +142,19 @@ cmd_verify() { http_body "https://chat.inference.coop/" | grep -qE 'x-coop-build' && ok "x-coop-build marker present" \ || bad "no x-coop-build marker (stale service-worker clients will not self-heal)" + # Firefox for Android ignores ; it colours its installed-site + # chrome from manifest theme_color (toolbar/status) plus a white/black nav bar + # derived from background_color. A theme_color here re-creates the light bands + # around the dark app, so its absence is a real assertion, not cosmetics. + local mf; mf=$(http_body "https://chat.inference.coop/manifest.webmanifest") + if grep -qE '"theme_color"' <<<"$mf"; then + bad "manifest carries theme_color — Firefox PWA chrome will again show static light bands" + else + ok "manifest has no theme_color (Firefox chrome follows the browser theme)" + fi + grep -qE '"background_color": *"#faf8f5"' <<<"$mf" && ok "manifest background_color cream" \ + || bad "manifest background_color is not #faf8f5" + # The scheduler task must point at a file that exists in the RUNNING image. # Catches a manifest repoint deployed before its image landed (2026-10-25). local sched_cmd