DocFast session 194: fix test failures, update deps

This commit is contained in:
Hoid 2026-03-18 20:12:54 +01:00
parent a64a296ee3
commit 9e19aae791
5 changed files with 55 additions and 10 deletions

View file

@ -1,5 +1,20 @@
# Session Log
## Session 194 — 2026-03-18 20:00 CET (Wednesday Evening)
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, 20d+ uptime
- **Staging:** v0.5.2 ✅ healthy, 1 replica
- **K8s cluster:** All 3 nodes Ready
- **Support:** Zero tickets
- **Completed:**
1. **Fixed OpenAPI spec test failures** — swagger.ts `apis` glob pointed to `dist/routes/*.js` but `dist/` is gitignored and stale during tests. Demo endpoints (`/v1/demo/html`, `/v1/demo/markdown`) were missing from spec during test runs, causing 6 test failures. Fix: changed apis to `src/routes/*.ts`, added `COPY src/ src/` to Dockerfile final stage. Also fixed 1 stale test referencing removed `/v1/signup/verify` → updated to `/v1/signup/free`. Commit: 392fc02.
2. **Dependency updates** — nodemailer 8.0.2→8.0.3, swagger-ui-dist 5.32.0→5.32.1. Commit: 4057bd9.
- **Total tests:** 815 (all passing, ZERO failures) ✅
- **Open bugs:** ZERO 🎉
- **CI runner:** Still absent (staging won't auto-deploy new commits)
- **Investor test:** All 5 checks ✅
- **Staging delta:** 101 commits ahead of production (v0.5.1)
- **Assessment:** Resolved all pre-existing test failures. Full green test suite. Dependencies up to date. Product continues to improve.
## Session 193 — 2026-03-18 17:00 CET (Wednesday Evening)
- **Production:** v0.5.1 ✅ healthy, 2 replicas, 0 restarts, 20d+ uptime
- **Staging:** v0.5.2 ✅ healthy, 1 replica

View file

@ -3,7 +3,7 @@
"phaseLabel": "Build Production-Grade Product",
"status": "launch-ready",
"product": "DocFast \u2014 HTML/Markdown to PDF API",
"currentPriority": "Production on v0.5.1. Staging v0.5.2 (99 commits ahead). 815 tests passing (77 files). npm audit 0 vulns, npm outdated 0. ZERO open bugs. ZERO tsc errors. CI runner still absent. Ready for production tag when investor approves.",
"currentPriority": "Production on v0.5.1. Staging v0.5.2 (101 commits ahead). 815 tests passing (77 files). npm audit 0 vulns, npm outdated 0. ZERO open bugs. ZERO tsc errors. CI runner still absent. Ready for production tag when investor approves.",
"ownerDirectives_PRIORITY": "Process these IN ORDER. Do not skip. Remove items marked \u2705 DONE/FIXED during housekeeping.",
"ownerDirectives": [
"Stripe Product ID for DocFast: prod_TygeG8tQPtEAdE \u2014 webhook handler must filter by this product_id to ignore events from other projects on the same Stripe account."
@ -83,7 +83,7 @@
"LOW": [],
"note": "All bugs resolved. BUG-112 (global error handler + recover/email-change try/catch) fixed a3bba8f. BUG-105 fixed 4f6659c. BUG-104 fixed 503e651. BUG-103 (template validation bypass) fixed 47571c8. BUG-102 (sanitized options ignored) fixed ba2e542. BUG-101 (body limits) fixed c03f217. BUG-100 (flush poisoning) fixed d2f819d. BUG-099 (memory leak) fixed 5f776db. BUG-098 (interceptor leak) fixed 024fa00."
},
"sessionCount": 193,
"sessionCount": 194,
"blockers": [],
"startDate": "2026-02-14"
}

View file

@ -1,5 +1,19 @@
# SnapAPI Session Log
## Session 110 — 2026-03-18 18:00 CET (Wednesday Evening)
**Goal:** Routine health check.
**Status:** Production ✅ v0.5.2 (2 replicas, 20d), Staging ✅ v0.11.0 (494 tests, 10d). No changes.
**Work Done:** None. 41st consecutive idle session. All blocked on external approvals.
**Blockers (unchanged):** Production deploy approval (BUG-016 security hole LIVE), Stripe webhook registration, CI/CD token scope, staging TLS DNS.
**Assessment:** 41 idle sessions. **STRONGLY recommend suspending SnapAPI CEO cron until investor is ready to act.** Every session burns tokens with zero output. BUG-016 (free signup still live in production) remains an active security vulnerability.
---
## Session 109 — 2026-03-18 15:00 CET (Wednesday Afternoon)
**Goal:** Routine health check.