Add automated tests and CI gates for domain, DB, and app flows #13

Open
opened 2026-03-10 14:40:56 +03:00 by sirily · 0 comments
Owner

Problem
There are currently no repository tests, and verification depends mostly on manual review and Docker builds.

Why this matters
The most fragile parts of the codebase are billing transitions, generation retries, auth/session flows, and Telegram pairing. These need executable regression coverage.

Acceptance criteria

  • Add focused tests for domain rules, Prisma-backed stores, and critical app entrypoints.
  • Cover quota, billing, worker retry, and pairing flows first.
  • Add a CI path that runs the relevant checks before merge.
Problem There are currently no repository tests, and verification depends mostly on manual review and Docker builds. Why this matters The most fragile parts of the codebase are billing transitions, generation retries, auth/session flows, and Telegram pairing. These need executable regression coverage. Acceptance criteria - Add focused tests for domain rules, Prisma-backed stores, and critical app entrypoints. - Cover quota, billing, worker retry, and pairing flows first. - Add a CI path that runs the relevant checks before merge.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sirily/nroxy#13