docfast/src
Hoid cc7de5ef49
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 18m15s
feat: add periodic database cleanup every 6 hours (TDD)
- Cleans expired verifications and orphaned usage rows
- Previously only ran once on startup (13d+ uptime = accumulation)
- Interval uses .unref() to not block graceful shutdown
- Stopped during shutdown before pool.end()
- Idempotent start (safe to call multiple times)
- 6 TDD tests added (periodic-cleanup.test.ts)
- 663 tests total, all passing
2026-03-11 11:06:09 +01:00
..
__tests__ feat: add periodic database cleanup every 6 hours (TDD) 2026-03-11 11:06:09 +01:00
middleware type safety: complete catch(err:unknown) migration + extract admin routes 2026-03-09 14:09:12 +01:00
routes refactor: extract billing HTML templates into billing-templates.ts (TDD) 2026-03-10 17:03:44 +01:00
services refactor: extract findKeyInCacheOrDb to DRY up DB fallback pattern (TDD) 2026-03-10 14:06:44 +01:00
utils feat: add periodic database cleanup every 6 hours (TDD) 2026-03-11 11:06:09 +01:00
index.ts feat: add periodic database cleanup every 6 hours (TDD) 2026-03-11 11:06:09 +01:00
openapi-extra.yaml v0.4.1: Code-driven OpenAPI docs via swagger-jsdoc 2026-02-20 07:54:37 +00:00
swagger.ts Fix OpenAPI PdfOptions schema: add missing format values, waitUntil field, and template size limits 2026-03-04 11:09:19 +01:00
types.ts fix(cors): dynamic origin for staging support (BUG-111) + eliminate all 'as any' casts 2026-03-09 08:08:37 +01:00