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 | import test from 'node:test'; |
| 2 | import assert from 'node:assert/strict'; |
| 3 | import { readFile } from 'node:fs/promises'; |
| 4 | const read = path => readFile(new URL(path, import.meta.url), 'utf8'); |
| 5 | |
| 6 | test('LifeGuide GitHub Pages QA build reuses checked Flutter bundle without credentials', async () => { |
| 7 | const script = await read('../../scripts/build-github-pages-qa.sh'); |
| 8 | assert.match(script, /bash scripts\/build-cloudflare-pages-qa\.sh/); |
| 9 | assert.match(script, /touch "\$out\/\.nojekyll"/); |
| 10 | assert.match(script, /config\.apiBaseUrl !== '\/api'/); |
| 11 | assert.match(script, /config\.apiFallbackUrls\.length !== 0/); |
| 12 | assert.match(script, /<base href="\/">/); |
| 13 | assert.match(script, /site-check\.txt/); |
| 14 | assert.doesNotMatch(script,/KAVENEGAR_API_KEY|DATABASE_URL|SUPABASE_SERVICE_ROLE_KEY|\.up\.railway\.app/); |
| 15 | }); |
| 16 | |
| 17 | test('GitHub Pages workflow deploys only after configured Pages action approval', async () => { |
| 18 | const workflow = await read('../../.github/workflows/lifeguide-github-pages-qa.yml'); |
| 19 | assert.match(workflow,/infra\/lifeguide-github-pages-qa/); |
| 20 | assert.match(workflow,/scripts\/build-github-pages-qa\.sh/); |
| 21 | assert.match(workflow,/actions\/configure-pages@v5/); |
| 22 | assert.match(workflow,/actions\/upload-pages-artifact@v4/); |
| 23 | assert.match(workflow,/actions\/deploy-pages@v4/); |
| 24 | assert.match(workflow,/pages: write/); |
| 25 | assert.match(workflow,/id-token: write/); |
| 26 | assert.match(workflow,/github-pages/); |
| 27 | assert.doesNotMatch(workflow,/main\]|deployment-static|KAVENEGAR_API_KEY|DATABASE_URL|SUPABASE_SERVICE_ROLE_KEY/); |
| 28 | }); |