fix: enforce subscription period end #19

Merged
sirily merged 1 commits from fix/subscription-period-enforcement into master 2026-03-10 18:12:21 +03:00
Owner

Closes #3

Summary

  • enforce currentPeriodEnd as a hard access boundary for generation requests
  • transition elapsed active and past_due subscriptions to expired during runtime reads
  • stop showing active-cycle quota for non-active subscriptions and document the current lifecycle behavior
  • add DB tests for post-expiry generation rejection and expired account-view normalization

Testing

  • built infra/docker/web.Dockerfile
  • ran pnpm --filter @nproxy/db test inside the built container
  • verified @nproxy/db build and @nproxy/web build during the image build
Closes #3 ## Summary - enforce `currentPeriodEnd` as a hard access boundary for generation requests - transition elapsed `active` and `past_due` subscriptions to `expired` during runtime reads - stop showing active-cycle quota for non-active subscriptions and document the current lifecycle behavior - add DB tests for post-expiry generation rejection and expired account-view normalization ## Testing - built `infra/docker/web.Dockerfile` - ran `pnpm --filter @nproxy/db test` inside the built container - verified `@nproxy/db build` and `@nproxy/web build` during the image build
sirily added 1 commit 2026-03-10 18:01:26 +03:00
sirily merged commit 624c5809b6 into master 2026-03-10 18:12:21 +03:00
sirily deleted branch fix/subscription-period-enforcement 2026-03-10 18:12:22 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sirily/nroxy#19