feat: stripe billing schema and models #10
ci.yml
on: pull_request
Lint & Typecheck
37s
Integration Tests
1m 22s
E2E (demo app)
1m 15s
Annotations
10 errors and 3 warnings
|
BillingService.ensureCustomer — concurrency (integration) / 50 parallel calls produce exactly one customer row:
tests/integration/billing/concurrent_ensure_customer.spec.ts#L74
Stripe-side idempotency-key cache used: expected false to be true
- Expected - 1
+ Received + 1
- true
+ false
|
|
tenant:billing:cleanup (integration) / respects batchSize when purging large volumes:
src/config.ts#L21
@adonisjs-lasagna/saas-tenancy not configured. Add MultitenancyProvider to your providers list.
|
|
tenant:billing:cleanup (integration) / idempotent: re-running cleans nothing on a clean ledger:
src/config.ts#L21
@adonisjs-lasagna/saas-tenancy not configured. Add MultitenancyProvider to your providers list.
|
|
tenant:billing:cleanup (integration) / honours custom idempotencyTtlDays from config:
src/config.ts#L21
@adonisjs-lasagna/saas-tenancy not configured. Add MultitenancyProvider to your providers list.
|
|
tenant:billing:cleanup (integration) / purges completed events older than retention window:
src/config.ts#L21
@adonisjs-lasagna/saas-tenancy not configured. Add MultitenancyProvider to your providers list.
|
|
TenantAdapter (integration) / each tenant gets its own prefixed connection name:
tests/integration/adapters/tenant_adapter.spec.ts#L40
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
TenantAdapter (integration) / request with valid UUIDv4 but unknown tenant returns 404:
tests/integration/adapters/tenant_adapter.spec.ts#L31
expected 500 to equal 404
- Expected - 1
+ Received + 1
- 404
+ 500
|
|
TenantAdapter (integration) / request with malformed UUID in header returns 400:
tests/integration/adapters/tenant_adapter.spec.ts#L26
expected 500 to equal 400
- Expected - 1
+ Received + 1
- 400
+ 500
|
|
TenantAdapter (integration) / request without x-tenant-id header returns 400:
tests/integration/adapters/tenant_adapter.spec.ts#L19
expected 500 to equal 400
- Expected - 1
+ Received + 1
- 400
+ 500
|
|
TenantAdapter (integration) / request with valid tenant header resolves connection from header:
tests/integration/adapters/tenant_adapter.spec.ts#L10
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
Lint & Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
E2E (demo app)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Integration Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|