Skip to content

Commit 4dce729

Browse files
committed
feat: update plan-lab.md with progress on payment integration and CI/CD pipeline
1 parent 53f7970 commit 4dce729

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/plan-lab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ lab_experiments (id, kind, params, result, notes, ranAt) ← bitácora de exp
9393
> **Progreso**: Fase 0 ✅ (jul 3: 94 tests, 87% líneas en src/lib). Fase 1 ✅ (jul 4: workflow CI,
9494
> /api/health, ingest, tabla ci_runs, página /admin/lab/pipeline). Falta el secret VERCEL_TOKEN
9595
> en GitHub para habilitar el rollback automático (crear en vercel.com/account/tokens).
96+
> Fase 2 ✅ (jul 4: pasarela propia — /pay con checkout idempotente, webhook Wompi con verificación
97+
> de checksum, modo mock demo, máquina de estados con concurrencia optimista, panel
98+
> /admin/lab/payments-lab con 4 ataques en vivo, 18 tests contra BD en memoria; 112 tests totales).
99+
> Pendiente para pagos reales: crear cuenta Wompi sandbox y configurar WOMPI_PUBLIC_KEY,
100+
> WOMPI_INTEGRITY_SECRET y WOMPI_EVENTS_SECRET en Vercel (sin ellas opera en modo mock).
96101
97102
### Fase 1 — Pipeline CI/CD en vivo
98103
1. `.github/workflows/ci.yml`: push → `lint/typecheck (astro check)``vitest --coverage`

0 commit comments

Comments
 (0)