feat: implement circuit breaker, retry with backoff, and graceful degradation for Stellar calls #15
ci.yml
on: pull_request
Lint & Typecheck
16s
Test
41s
Annotations
5 errors and 12 warnings
|
Test
Process completed with exit code 1.
|
|
tests/e2e/rewards.test.ts > Rewards API > GET /api/rewards/history > should return empty history for a valid user:
tests/e2e/rewards.test.ts#L77
AssertionError: expected [ 200, 500 ] to include 401
❯ tests/e2e/rewards.test.ts:77:26
|
|
tests/e2e/rewards.test.ts > Rewards API > POST /api/rewards/claim > should reject invalid submission ID format:
tests/e2e/rewards.test.ts#L49
AssertionError: expected 401 to be 400 // Object.is equality
- Expected
+ Received
- 400
+ 401
❯ tests/e2e/rewards.test.ts:49:35
|
|
tests/e2e/auth.test.ts > Auth API > POST /api/auth/verify > should reject when challenge has not been requested:
tests/e2e/auth.test.ts#L72
AssertionError: expected 400 to be 401 // Object.is equality
- Expected
+ Received
- 401
+ 400
❯ tests/e2e/auth.test.ts:72:35
|
|
tests/e2e/auth.test.ts > Auth API > POST /api/auth/challenge > should return a challenge for a valid Stellar address:
tests/e2e/auth.test.ts#L28
AssertionError: expected 400 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 400
❯ tests/e2e/auth.test.ts:28:35
|
|
Lint & Typecheck
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/
|
|
Lint & Typecheck:
src/modules/auth/auth.routes.ts#L23
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/modules/auth/auth.controller.ts#L31
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/modules/auth/auth.controller.ts#L14
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/middleware/validation.ts#L41
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/middleware/validation.ts#L32
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/middleware/validation.ts#L23
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/middleware/rate-limit.ts#L11
Unexpected any. Specify a different type
|
|
Lint & Typecheck:
src/middleware/auth.ts#L13
'reply' is defined but never used. Allowed unused args must match /^_/u
|
|
Lint & Typecheck:
src/database/seed.ts#L53
'course3' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Lint & Typecheck:
src/config/index.ts#L60
Unexpected any. Specify a different type
|
|
Test
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/
|