docfast/src
OpenClaw Subagent f5ec837e20
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Failing after 17m26s
test: improve branch coverage for billing.ts and keys.ts
billing.ts branches: 78.66% → 82.66%
- isDocFastSubscription expanded product object (not just string)
- isDocFastSubscription error handling path
- getOrCreateProPrice: new product + price creation
- getOrCreateProPrice: existing product, no active prices

keys.ts:
- createProKey UPSERT ON CONFLICT path (DB-only key)
- downgradeByCustomer customer not found in cache or DB
- updateKeyEmail DB fallback not-found path
- updateEmailByCustomer DB fallback not-found path

14 new tests, all 743 passing.
2026-03-14 11:09:01 +01:00
..
__tests__ test: improve branch coverage for billing.ts and keys.ts 2026-03-14 11:09:01 +01:00
middleware type safety: complete catch(err:unknown) migration + extract admin routes 2026-03-09 14:09:12 +01:00
routes chore: upgrade express-rate-limit 7.5.1 → 8.3.1 (IPv6 security fix) 2026-03-11 20:06: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