feat: stripe billing schema and models #11
ci.yml
on: pull_request
Lint & Typecheck
39s
Integration Tests
1m 1s
E2E (demo app)
1m 10s
Annotations
10 errors and 3 warnings
|
PII redaction (integration) / full webhook flow leaks no PII to stdout (which Pino targets):
tests/integration/billing/pii_redaction.spec.ts#L165
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
Dunning state machine (integration) / honours custom maxAttempts from config.billing.dunning:
tests/integration/billing/dunning_flow.spec.ts#L117
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
Dunning state machine (integration) / duplicate POST of the final dunning event does NOT double-flip / double-emit:
tests/integration/billing/dunning_flow.spec.ts#L117
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
Dunning state machine (integration) / attempt 3 (>=maxAttempts) flips status=past_due and final=true:
tests/integration/billing/dunning_flow.spec.ts#L117
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
Dunning state machine (integration) / attempts 1 and 2 emit PaymentFailed{final:false} and status stays active:
tests/integration/billing/dunning_flow.spec.ts#L117
expected 500 to equal 200
- Expected - 1
+ Received + 1
- 200
+ 500
|
|
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/
|
|
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/
|
|
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/
|