Deployment Checklist
Use this checklist before every production deployment to ensure nothing is missed.Pre-deployment
1
Environment variables configured
Verify all required environment variables are set in production:
All variables set and verified
2
Database schema up to date
Confirm all tables exist in the Supabase Required tables:
public schema:users, ai_models, threads, thread_messages, comparisons, model_votes, providers, provider_api_keys, system_settingsAll 9 tables present
3
Active models configured
Ensure at least 2 active models exist for arena mode:
At least 2 active models available
4
Provider API keys valid
Verify API keys are set and not expired:
Each provider has at least 1 active API key
5
Backend builds successfully
Build completes with no errors
6
Tests pass
All tests green
Deployment
1
Deploy backend to Azure
- CI/CD (Recommended)
- Manual
Push to Monitor the deployment in GitHub Actions.
main branch — GitHub Actions handles the rest:Backend deployed successfully
2
Deploy frontend to Cloudflare Workers
Frontend deployed to Cloudflare
3
Deploy admin panel
Admin panel deployed
Post-deployment verification
1
Health check passes
{"status":"healthy"}API is responding
2
Authentication works
Returns model list (not 401)
3
Arena mode functional
Send a test message in arena mode and verify two model responses are returned.
Dual responses received
4
Streaming works
Test the SSE streaming endpoint:
Tokens stream in real-time
5
Frontend loads correctly
Visit
https://arena.dualmindlab.tech and verify:- Page loads without console errors
- Login flow works
- Chat interface renders
- Dark mode toggles correctly
Frontend fully functional
6
Admin panel accessible
Log in to the admin panel and verify dashboard data loads.
Admin panel operational
7
Public sharing works
Share a thread and verify the public URL is accessible without authentication.
Shared threads are publicly viewable
Rollback plan
- Backend Rollback
- Frontend Rollback
Redeploy the previous version from Azure App Service → Deployment Center → select previous deployment.Or revert the Git commit:
Always keep the previous deployment artifacts available for at least 48 hours after a new deployment.