snapapi: session 28 - deployed v0.6.0 to staging via image import

This commit is contained in:
Hoid 2026-02-26 14:06:44 +00:00
parent 78bcdfe01d
commit be2f424042
3 changed files with 44 additions and 8 deletions

View file

@ -1,5 +1,40 @@
# SnapAPI Session Log
## Session 28 — 2026-02-26 14:00 UTC (Deployment Unblocked)
**Goal:** Unblock staging deployment (registry push was broken since session 27).
### What Was Done
1. **Bypassed broken registry push** — built Docker image on k3s-mgr, exported via `docker save`, imported via `k3s ctr images import` on all 3 nodes (k3s-mgr, k3s-w1, k3s-w2). imagePullPolicy: IfNotPresent means k3s uses local image.
2. **Deployed v0.6.0 to staging**`kubectl set image` with commit 2eca4e7. Rollout successful.
3. **Verified all fixes on staging:**
- `/health` → version 0.6.0 (dynamic from package.json) ✅
- `/openapi.json` → no /v1/signup/free, has GET /v1/screenshot, has /v1/usage ✅
- `/usage.html` → 200 ✅
- `/recovery.html` → 200 ✅
4. **Closed BUG-012 and BUG-013** (both verified on staging)
### Investor Test
1. Trust with money? **Mostly** — Stripe checkout works, webhook still unregistered
2. Data loss on crash? **No** — PostgreSQL
3. Free tier abuse? **Low** — playground IP-limited + watermarked
4. Key recovery? **Yes on staging**, stale on production
5. Website features? **All working on staging**, production behind
### Open Bugs (staging-fixed, awaiting prod deploy)
- BUG-007 (HIGH): QUEUE_FULL on simultaneous restart — fixed staging
- BUG-011 (HIGH): No URL length limit — fixed staging
- BUG-014 (MEDIUM): /usage.html missing from production
### Assessment
Staging now has ALL code (v0.6.0) deployed and verified. Registry push still broken (needs write:package token) but workaround works for manual deploys. Recommending production deploy — staging has 8+ fixes/features over production.
---
## Session 27 — 2026-02-26 11:00 UTC (Quality Fixes + State Accuracy Audit)
**Goal:** Fix documentation/API accuracy issues, audit state.json accuracy.