LifeMate — Personal, Family & Learning Companion
fix/lifeguide-bootstrap-naming-ci
chore/phase1-repository-cleanup
deploy/stable-web-apk
deployment-static
design/mobile-accessibility-v2
design/mobile-navigation-review
docs/child-education-access-decision
docs/offline-data-rescue-options
docs/owner-guide-and-delivery-plan
docs/phase1-policy-options
docs/public-review-live-2026-10-15
feat/aparat-learning-library
feat/child-device-safety
feat/child-identity-schema
feat/flutter-mobile-navigation
feat/learning-content-operations
feat/local-signing-preflight
feat/online-family-stage0
feat/personal-encrypted-recovery
feat/private-planner-series-api
feat/public-review-page
feat/standalone-weekly-planner
feat/weekly-planner-android
final-feature-1/iran-family-school
fix/auth-abuse-expiry-safety
fix/auth-expiry-after-lock
fix/backend-request-safety
fix/lifeguide-bootstrap-naming-ci
fix/lifeguide-pages-qa-base-preflight
fix/lifeguide-qa-pages-env-deployment
fix/local-task-persistence
fix/managed-child-session-boundary
fix/personal-jalali-dates
fix/personal-notification-controls
fix/personal-upgrade-delivery-guard
fix/sms-approval-gates
fix/study-duration-display
infra/cloudflare-neon-migration
infra/lifeguide-cloudflare-qa
infra/lifeguide-github-pages-qa
infra/lifeguide-supabase-qa
main
phase-1/foundation-completion
phase-2/product-foundation-identity
phase-3/planner-school-family-core
phase-4/ai-learning-wellbeing
phase-5/hardening-observability-release
test/android-reminder-acceptance
test/personal-notification-settings
test/personal-recovery-acceptance
test/role-entry-apk
| 1 | #!/usr/bin/env bash |
| 2 | # LifeGuide QA: STATIC PWA ONLY, built for GitHub Pages with a custom-domain root. |
| 3 | # Do not use this as proof of user login / API readiness. |
| 4 | set -Eeuo pipefail |
| 5 | cd "$(dirname "$0")/.." |
| 6 | |
| 7 | # Reuse the already-tested, pinned Flutter 3.47.6 build and local asset bundling. |
| 8 | bash scripts/build-cloudflare-pages-qa.sh |
| 9 | out="apps/lifemate/build/web" |
| 10 | |
| 11 | # _headers is a Cloudflare Pages directive; it does not protect GitHub Pages. |
| 12 | rm -f "$out/_headers" |
| 13 | touch "$out/.nojekyll" |
| 14 | |
| 15 | node --input-type=module <<'NODE' |
| 16 | import { readFileSync, writeFileSync } from 'node:fs'; |
| 17 | const path = 'apps/lifemate/build/web/'; |
| 18 | const config = JSON.parse(readFileSync(path + 'config.json','utf8')); |
| 19 | if (config.apiBaseUrl !== '/api' || |
| 20 | !Array.isArray(config.apiFallbackUrls) || |
| 21 | config.apiFallbackUrls.length !== 0) { |
| 22 | throw new Error('QA app must not silently fall back to Railway or an unverified backend'); |
| 23 | } |
| 24 | const index = readFileSync(path + 'index.html','utf8'); |
| 25 | if (!index.includes('<base href="/">') || !index.includes('LifeGuide')) { |
| 26 | throw new Error('GitHub Pages custom-domain root assets not configured'); |
| 27 | } |
| 28 | const version = process.env.GITHUB_SHA?.slice(0,12) || 'local'; |
| 29 | writeFileSync(path + 'site-check.txt', 'LifeGuide GitHub Pages QA STATIC_ONLY ' + version + '\n'); |
| 30 | NODE |
| 31 | |
| 32 | test -s "$out/main.dart.js" |
| 33 | test -s "$out/site-check.txt" |
| 34 | echo "GitHub Pages QA static artifact prepared. API registration remains unavailable." |