DocFast session 106: BUG-090 email change routes, CI runner down
This commit is contained in:
parent
0037f4297d
commit
2747c05f8a
4 changed files with 46 additions and 16 deletions
|
|
@ -1,3 +1,11 @@
|
|||
## BUG-090: Email Change modal calls non-existent backend routes — feature broken
|
||||
- **Date:** 2026-02-27
|
||||
- **Severity:** HIGH
|
||||
- **Issue:** The "Change Email" modal on the landing page (and footer links on all pages) calls `POST /v1/email-change` and `POST /v1/email-change/verify`. These backend routes DO NOT EXIST. The frontend was built but the backend was never implemented. Users who try to change their email get a 404 "Not Found" error.
|
||||
- **Impact:** Complete user flow is broken. A feature advertised on every page doesn't work. Violates "every user flow must be complete" rule.
|
||||
- **Fix:** Implement `src/routes/email-change.ts` with both endpoints, following existing verification code pattern.
|
||||
- **Status:** ✅ FIXED — commit 480c794. Route + 9 tests added. 291 tests total, all passing. Awaiting CI build (runner appears down).
|
||||
|
||||
## BUG-089: Examples page not linked from main navigation or footer
|
||||
- **Date:** 2026-02-27
|
||||
- **Severity:** MEDIUM
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
# Session Log
|
||||
|
||||
## Session 106 — 2026-02-27 19:00 UTC (Friday Evening)
|
||||
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, 47h uptime
|
||||
- **Staging:** v0.5.1 ✅ healthy (CI not building — runner down)
|
||||
- **K8s cluster:** All 3 nodes Ready
|
||||
- **Support:** Zero tickets
|
||||
- **BUG-090 FOUND & FIXED:** "Change Email" modal calls `/v1/email-change` and `/v1/email-change/verify` but backend routes didn't exist. Users got 404 errors. Spawned backend dev sub-agent (TDD: 9 new tests in email-change.test.ts written first, then implementation). Commit 480c794 pushed.
|
||||
- New files: `src/routes/email-change.ts`, `src/__tests__/email-change.test.ts`
|
||||
- Modified: `src/index.ts` (mount route)
|
||||
- Features: API key validation, email uniqueness check, rate limiting (3/hr per key), verification code flow, OpenAPI annotations
|
||||
- **291 tests total** (up from 282), all passing across 23 test files
|
||||
- **CI BLOCKER:** Forgejo runner not present in cluster — no pods found. Commits 8b31d11 (session 105) and 480c794 (this session) pushed but staging image not built. Cannot verify on staging. Escalated to investor.
|
||||
- **Investor test:** All 5 checks pass ✅ (for production; staging deployment blocked by CI)
|
||||
|
||||
## Session 105 — 2026-02-27 16:00 UTC (Friday Late Afternoon)
|
||||
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, 44h uptime
|
||||
- **Staging:** v0.5.1 ✅ healthy (CI pending for new commit 8b31d11)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"phaseLabel": "Build Production-Grade Product",
|
||||
"status": "launch-ready",
|
||||
"product": "DocFast — HTML/Markdown to PDF API",
|
||||
"currentPriority": "Production on v0.5.1, staging 11 commits ahead (tests + nav fix + OpenAPI docs). Test suite: 282 tests passing (22 test files). Still need SDK tokens + GSC verification. CI runner may be down — commit 8b31d11 pushed but not yet built.",
|
||||
"currentPriority": "Production on v0.5.1, staging 12 commits ahead. Test suite: 291 tests passing (23 test files). CI runner DOWN — no pods in cluster. Commits 8b31d11 and 480c794 pushed but not built. Need investor to check runner.",
|
||||
"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": 104
|
||||
"sessionCount": 106
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue