Staging Deployment
Sprint 24 Manual Test Runbook
Use this when: verifying actual staging deployment and staging QA.
verifying actual staging deployment and staging QA.
Use this when: verifying actual staging deployment and staging QA.
Local Preflight
- Confirm branch
sprint-24-actual-staging-deployment-and-qa. - Run
pnpm env:check. - Run
pnpm env:check:staging. - Run
pnpm db:generate. - Run
pnpm db:seed. - Run
pnpm db:seedagain. - Run
pnpm db:migrate:status. - Run
pnpm typecheck. - Run
pnpm lint. - Run
pnpm test. - Run
pnpm test:smoke. - Run
pnpm build. - Run
pnpm devand check web/docs locally. - Run
pnpm dev:lanand check the login page.
Staging Deployment Checks
- Confirm
.env.stagingexists only on the staging host or secret manager. - Confirm
APP_URLandBETTER_AUTH_URLarehttps://staging-app.submicrons.net. - Confirm all external integration flags are
false. - Run deploy-mode migrations against the staging database.
- Run staging seed once, then again.
- Confirm safe demo users exist or can be created through the documented seed flag.
- Start web and docs containers.
- Confirm logs are accessible.
- Confirm no
.env, local imports, private imports, or production exports are deployed.
Staging Smoke
Run:
pnpm test:smoke:stagingExpected checks:
- login page loads
- failed login shows a visible error
- successful login reaches dashboard
- logout works
- protected pages redirect unauthenticated users
- Command Center, CRM, deals, quote, proposal summaries, finance, projects, support, inventory, imports, data quality, tasks, approvals, notifications, settings, manager rehearsal, agents, agent drafts, communication outbox, and docs load
/api/healthand/api/readypass without exposing secrets
Staging UX Package
After staging is live and demo credentials are available, run:
UX_REVIEW_BASE_URL=https://staging-app.submicrons.net UX_REVIEW_DOCS_BASE_URL=https://docs.submicrons.net pnpm ux:reviewThe package must include metadata with the staging URL and must not include secrets, private imports, or real customer data.
Not Allowed
- production deployment
- production secrets
- real customer data
- external message sending
- live Gmail, WhatsApp, Google Drive, WooCommerce, social, or payment sync
- autonomous AI actions
- destructive database reset behavior
Developer Details
- Source
- apps/docs/content/staging-deployment/sprint-24-manual-test-runbook.md
- Owner
- Platform / Operations
- Status
- Archived
- Module
- Staging Deployment
- Related route
- /api/health