Content Source Diagnostic
Shows which data source the admin app is reading from. No secret values are displayed on this page.
Active Modelive_supabase
| QA_CONTENT_SOURCE | live_supabase |
| Description | Live Supabase (server-side, read-only) |
Server-side live Supabase read. No browser Supabase client is used. SUPABASE_SERVICE_ROLE_KEY never leaves the server.
Mode Availability
| local | Available |
| supabase_export | Available |
| live_supabase | Env configuredactive |
Live Supabase EnvironmentConfigured
| SUPABASE_URL | Present |
| SUPABASE_SERVICE_ROLE_KEY | Present |
Live Supabase env configured. Visit /system/supabase-live to test the live connection.
Supabase Export FilesAll present
| active_package_from_supabase_v1.json | Present |
| student_resource_payload_from_supabase_v1.json | Present |
| teacher_resource_payload_from_supabase_v1.json | Present |
Active Package (live_supabase)Loaded
| content_key | physics_0625 |
| package_id | cambridge_igcse_physics_0625_resource_package_v2 |
| version | 2 |
| status | active |
| resource_count | 27 |
| student_payload_count | 23 |
| teacher_payload_count | 27 |
| teacher_only_count | 4 |
How to switch modes
In apps/admin/.env.local:# Local JSON (default — no Supabase required):
QA_CONTENT_SOURCE=local
# Supabase snapshot (run Gate 53F export script first):
QA_CONTENT_SOURCE=supabase_export
# Live Supabase read (requires SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY):
QA_CONTENT_SOURCE=live_supabase
Restart the dev server after changing this value.