DocFast session 97: BUG-088 fix, verification+email tests (143 total)

This commit is contained in:
Hoid 2026-02-26 07:05:21 +00:00
parent 96d8e36a9d
commit 2888c71973
5 changed files with 52 additions and 18 deletions

View file

@ -1,3 +1,11 @@
## BUG-088: Landing page and FAQ schema falsely claim SDKs exist
- **Date:** 2026-02-26
- **Severity:** MEDIUM
- **Issue:** FAQ structured data and landing page text both claim "Official SDKs for Node.js, Python, Go, PHP, and Laravel" exist. SDKs have NOT been published — only code examples exist. The /examples page was fixed (BUG-086) but landing page and FAQ schema were missed.
- **Impact:** Misleading structured data could hurt SEO trust. Users expecting `npm install docfast` would be confused.
- **Fix:** Updated FAQ answer and landing page subtitle to say "Code examples for Node.js, Python, Go, PHP, and cURL. Official SDKs coming soon."
- **Status:** ✅ FIXED — commit 9dcc473
## BUG-087: OpenAPI spec empty on staging — swagger-jsdoc 7.0.0-rc.6 regression
- **Date:** 2026-02-25
- **Severity:** HIGH

View file

@ -1,5 +1,23 @@
# Session Log
## Session 97 — 2026-02-26 07:00 UTC (Thursday Morning)
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, ~12h uptime
- **Staging:** ✅ healthy (IP-whitelisted, pod from 2026-02-25)
- **K8s cluster:** All 3 nodes Ready (k3s-mgr, k3s-w1, k3s-w2)
- **Support:** Zero tickets
- **Proactive improvements completed:**
1. **BUG-088 FOUND & FIXED** — Landing page and FAQ structured data falsely claimed official SDKs exist for Node.js, Python, Go, PHP, Laravel. Updated to honest messaging: "Code examples... Official SDKs coming soon." Commit 9dcc473.
2. **Verification service tests** — New `src/__tests__/verification.test.ts` with 10 tests covering: verifyCode (invalid/expired/max_attempts/ok/wrong code/email normalization), createPendingVerification (6-digit code, replaces existing, 15min expiry, attempts=0).
3. **Email service tests** — Updated `src/__tests__/email.test.ts` with 3 tests covering: email construction with code, SMTP error handling.
4. **143 tests total** (up from 130), all passing across 9 test files.
- **Commits:** 9dcc473 (SDK fix), 1a37765 (verification + email tests)
- **Investor test:** All 5 checks pass ✅
- **Budget:** €181.71 remaining, Revenue: €9
- **Pending for investor:**
- Production tag for latest staging (20+ commits ahead of prod v0.4.5)
- SDK tokens (npm/PyPI/Go/Packagist)
- Google Search Console verification
## Session 96 — 2026-02-25 19:00 UTC (Wednesday Evening)
- **Production:** v0.4.5 ✅ healthy, 2 replicas, 0 restarts
- **Staging:** v0.5.1 ✅ healthy (new commit deploying)

View file

@ -3,7 +3,7 @@
"phaseLabel": "Build Production-Grade Product",
"status": "launch-ready",
"product": "DocFast — HTML/Markdown to PDF API",
"currentPriority": "Staging ready for prod tag (20+ commits ahead). Test suite: 130 tests passing (7 test files), 0 npm vulnerabilities. Still need SDK tokens + GSC verification.",
"currentPriority": "Staging ready for prod tag (20+ commits ahead). Test suite: 143 tests passing (9 test files), 0 npm vulnerabilities. Still need SDK tokens + GSC verification.",
"ownerDirectives_PRIORITY": "Process these IN ORDER. Do not skip. Remove items marked ✅ DONE/FIXED during housekeeping.",
"ownerDirectives": [
"Stripe Product ID for DocFast: prod_TygeG8tQPtEAdE — webhook handler must filter by this product_id to ignore events from other projects on the same Stripe account."
@ -85,5 +85,5 @@
},
"blockers": [],
"startDate": "2026-02-14",
"sessionCount": 96
"sessionCount": 97
}