Obsidian_vault/50 - Resources/Software Engineering/Deployment Checklist.md
2026-06-07 14:00:01 +00:00

23 lines
986 B
Markdown

---
type: checklist
status: verified
tags: [devops, deployment, tia]
---
# ✅ Deployment Checklist
> Pre-push ritual before production (primarily [[Tia]] on [[Self-Hosting|Dokploy]]).
## Every push
1. Run `pnpm build` **locally** before committing
2. Verify build succeeds with **no errors**
3. Test login works via API call
4. Push to git
5. **Wait for deployment** before confirming success
## Prod DB must use a pgvector image (learned 2026-05-30)
- Dokploy Postgres image **MUST** be `pgvector/pgvector:pg18` (not plain `postgres:18`)
- Schema needs it: `memories.vision_embedding vector(1536)` + ivfflat index
- **Symptom of wrong image:** `CREATE EXTENSION ... vector` says "already exists" but queries fail with `could not access file "vector"` — any query touching `memories` breaks
- **Fix:** swap image + redeploy DB (same PG18 base → data volume compatible, no dump/restore)
## Related
[[Tia - Architecture]] · [[Self-Hosting]] · [[Decision Log#TD-003]] · [[Git]]