docfast session 101: billing + convert route tests (234 total)
This commit is contained in:
parent
a77f500763
commit
7577369f65
3 changed files with 16 additions and 3 deletions
|
|
@ -1,5 +1,17 @@
|
|||
# Session Log
|
||||
|
||||
## Session 101 — 2026-02-26 19:00 UTC (Thursday Evening)
|
||||
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts
|
||||
- **Staging:** v0.5.1 ✅ healthy (5 test-only commits ahead of prod)
|
||||
- **K8s cluster:** All 3 nodes Ready
|
||||
- **Support:** Zero tickets
|
||||
- **Proactive improvements completed:**
|
||||
1. **Billing route tests** — New `src/__tests__/billing.test.ts` (16 tests): checkout success/413/500, success page missing session_id/duplicate/existing key/new key/Stripe error, webhook missing secret/signature/invalid sig, checkout.session.completed provisioning + product filtering, subscription.deleted/updated downgrade, customer.updated email sync.
|
||||
2. **Convert route tests** — New `src/__tests__/convert.test.ts` (16 tests): HTML missing/wrong CT/success/QUEUE_FULL/PDF_TIMEOUT/fragment wrapping/full HTML passthrough, Markdown missing/wrong CT/success, URL missing/invalid/non-http/private IP/DNS failure/success.
|
||||
3. **234 tests total** (up from 202), all passing across 18 test files.
|
||||
- **Commit:** pushed to main → auto-deploys to staging
|
||||
- **Investor test:** All 5 checks pass ✅
|
||||
|
||||
## Session 100 — 2026-02-26 16:00 UTC (Thursday Afternoon)
|
||||
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, 3 PDFs served
|
||||
- **Staging:** v0.5.1 ✅ healthy (4 test-only commits ahead of prod)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue