diff --git a/.github/workflows/app-discovery-qa.yml b/.github/workflows/app-discovery-qa.yml index d115a7d2..6a707f8d 100644 --- a/.github/workflows/app-discovery-qa.yml +++ b/.github/workflows/app-discovery-qa.yml @@ -12,6 +12,8 @@ on: - support/idea-market/index.html - support/blur/index.html - tests/blur-support-growth.test.mjs + - support/instant-judge/index.html + - tests/instant-judge-support-growth.test.mjs - tests/idea-market-support-growth.test.mjs - tests/debate-me-support-growth.test.mjs - tests/dotchi-support-growth.test.mjs @@ -40,6 +42,8 @@ on: - support/idea-market/index.html - support/blur/index.html - tests/blur-support-growth.test.mjs + - support/instant-judge/index.html + - tests/instant-judge-support-growth.test.mjs - tests/idea-market-support-growth.test.mjs - tests/debate-me-support-growth.test.mjs - tests/dotchi-support-growth.test.mjs @@ -75,4 +79,4 @@ jobs: - name: Verify non-destructive release scripts have valid shell syntax run: bash -n scripts/publish_app_discovery.sh scripts/check_app_discovery_live.sh - name: Verify search, referral links and guide listings - run: node --test tests/catalog-growth.test.mjs tests/search-landing-growth.test.mjs tests/dotchi-support-growth.test.mjs tests/debate-me-support-growth.test.mjs tests/idea-market-support-growth.test.mjs tests/blur-support-growth.test.mjs + run: node --test tests/catalog-growth.test.mjs tests/search-landing-growth.test.mjs tests/dotchi-support-growth.test.mjs tests/debate-me-support-growth.test.mjs tests/idea-market-support-growth.test.mjs tests/blur-support-growth.test.mjs tests/instant-judge-support-growth.test.mjs diff --git a/scripts/check_app_discovery_live.sh b/scripts/check_app_discovery_live.sh index 4e3fa16f..59d3d8c2 100644 --- a/scripts/check_app_discovery_live.sh +++ b/scripts/check_app_discovery_live.sh @@ -68,6 +68,15 @@ grep -Fq 'support_blur_hero' "$tmp/blur.html" || { echo 'FAIL Blur Play campaign if grep -Eq 'Multiplayer mode|Multiple difficulty levels|Timed challenges' "$tmp/blur.html"; then echo 'FAIL Blur advertises unverified game modes' >&2; exit 1 fi +# Instant Judge must accurately describe voting and time-gated result reveal. +fetch '/support/instant-judge/' 'instant-judge.html' +grep -Fq 'Vote on everyday dilemmas, create your own post' "$tmp/instant-judge.html" || { echo 'FAIL Instant Judge hero is stale' >&2; exit 1; } +grep -Fq 'data-position="hero"' "$tmp/instant-judge.html" || { echo 'FAIL Instant Judge first-screen Play CTA missing' >&2; exit 1; } +grep -Fq 'support_instant_judge_hero' "$tmp/instant-judge.html" || { echo 'FAIL Instant Judge campaign tagging missing' >&2; exit 1; } +grep -Fq 'Results appear at their reveal time' "$tmp/instant-judge.html" || { echo 'FAIL Instant Judge reveal copy missing' >&2; exit 1; } +if grep -Eiq 'Thousands of scenarios|Real-time results|Many features work offline' "$tmp/instant-judge.html"; then + echo 'FAIL Instant Judge advertises unsupported immediate results or scale' >&2; exit 1 +fi fetch '/robots.txt' 'robots.txt' grep -Fq 'Allow: /icons/apps/' "$tmp/robots.txt" || { echo 'FAIL Google image crawl allow not live' >&2; exit 1; } echo 'PASS: catalog, guides, priority search landings, store CTAs, icon crawl policy and sitemap current (HTTP 200)' diff --git a/scripts/publish_app_discovery.sh b/scripts/publish_app_discovery.sh index 6184eefe..66be7702 100644 --- a/scripts/publish_app_discovery.sh +++ b/scripts/publish_app_discovery.sh @@ -15,7 +15,7 @@ root="${APP_SITE_DEPLOY_ROOT:-/var/www/html}" if [[ ! "$host" =~ ^[a-zA-Z0-9_.@-]+$ || ! "$root" =~ ^/var/www/[a-zA-Z0-9_./-]+$ ]]; then echo 'Invalid APP_SITE_DEPLOY_HOST or APP_SITE_DEPLOY_ROOT' >&2; exit 2 fi -files=(index.html apps.html sitemap.xml robots.txt guides/quick-games/index.html guides/daily-habits/index.html guides/decision-helpers/index.html guides/ai-tools/index.html support/brain-burst/index.html support/snaplingo/index.html support/face-reaction-battle/index.html support/twotaku/index.html support/debate-me/index.html support/idea-market/index.html support/blur/index.html) +files=(index.html apps.html sitemap.xml robots.txt guides/quick-games/index.html guides/daily-habits/index.html guides/decision-helpers/index.html guides/ai-tools/index.html support/brain-burst/index.html support/snaplingo/index.html support/face-reaction-battle/index.html support/twotaku/index.html support/debate-me/index.html support/idea-market/index.html support/blur/index.html support/instant-judge/index.html) for file in "${files[@]}"; do [[ -s "$file" ]] || { echo "Missing source file: $file" >&2; exit 2; } done diff --git a/support/instant-judge/index.html b/support/instant-judge/index.html index b4949cda..6bf8f424 100644 --- a/support/instant-judge/index.html +++ b/support/instant-judge/index.html @@ -4,8 +4,8 @@ - Instant Judge – Vote on Photos in 3 Seconds | SK APPS - + Instant Judge – Vote on Dilemmas & Community Results | SK APPS +