Skip to content

feat(billing): add structured JSON access logs for /api/billing [b#003] #1048

feat(billing): add structured JSON access logs for /api/billing [b#003]

feat(billing): add structured JSON access logs for /api/billing [b#003] #1048

Status Success
Total duration 2m 11s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 11 warnings
build (20): src/app.ts#L2
Duplicate identifier 'cors'.
build (20): src/app.ts#L1
Duplicate identifier 'express'.
build (20): src/__tests__/proxy.integration.test.ts#L940
Property 'withResolvers' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2024' or later.
build (20): src/__tests__/proxy.integration.test.ts#L939
Property 'withResolvers' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2024' or later.
build (20): src/__tests__/complete-integration.test.ts#L46
Argument of type 'SimpleRegistry' is not assignable to parameter of type 'ApiRegistry'.
build (20): src/__tests__/complete-integration.test.ts#L15
Class 'SimpleRegistry' incorrectly implements interface 'ApiRegistry'.
build (20): src/__tests__/billing-credits.test.ts#L31
Conversion of type 'CreditsRepository' to type '{ findByUserId: Mock<any, any, any>; getOrCreateByUserId: Mock<any, any, any>; updateBalance: Mock<any, any, any>; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (20): src/__tests__/apisLatency.test.ts#L18
Module '"../metrics/registry.js"' has no exported member 'apisLatencyDuration'.
build (20): src/__tests__/apisLatency.test.ts#L17
Module '"../metrics/registry.js"' has no exported member 'resetApisMetrics'.
build (20): src/__tests__/apisLatency.test.ts#L16
Module '"../metrics/registry.js"' has no exported member 'recordApisLatency'.
build (20): src/app.ts#L2
Duplicate identifier 'cors'.
build (20): src/app.ts#L1
Duplicate identifier 'express'.
build (20): src/__tests__/proxy.integration.test.ts#L940
Property 'withResolvers' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2024' or later.
build (20): src/__tests__/proxy.integration.test.ts#L939
Property 'withResolvers' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2024' or later.
build (20): src/__tests__/complete-integration.test.ts#L46
Argument of type 'SimpleRegistry' is not assignable to parameter of type 'ApiRegistry'.
build (20): src/__tests__/complete-integration.test.ts#L15
Class 'SimpleRegistry' incorrectly implements interface 'ApiRegistry'.
build (20): src/__tests__/billing-credits.test.ts#L31
Conversion of type 'CreditsRepository' to type '{ findByUserId: Mock<any, any, any>; getOrCreateByUserId: Mock<any, any, any>; updateBalance: Mock<any, any, any>; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (20): src/__tests__/apisLatency.test.ts#L18
Module '"../metrics/registry.js"' has no exported member 'apisLatencyDuration'.
build (20): src/__tests__/apisLatency.test.ts#L17
Module '"../metrics/registry.js"' has no exported member 'resetApisMetrics'.
build (20): src/__tests__/apisLatency.test.ts#L16
Module '"../metrics/registry.js"' has no exported member 'recordApisLatency'.
build (20)
Process completed with exit code 1.
build (20): src/middleware/accessLog.test.ts#L466
A `require()` style import is forbidden
build (20): src/middleware/accessLog.test.ts#L457
A `require()` style import is forbidden
build (20)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (20): src/__tests__/api-key-redaction-regression.test.ts#L66
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L53
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L52
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L51
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L50
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L49
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L35
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L34
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L21
Unexpected any. Specify a different type
build (20): src/__tests__/api-key-redaction-regression.test.ts#L20
Unexpected any. Specify a different type