Pr/combined features 359 360 361 319 #21
pr-test-gate.yml
on: pull_request
Contracts cargo test
1m 11s
Backend npm test
1m 7s
Annotations
5 errors and 2 warnings
|
Backend npm test
Process completed with exit code 1.
|
|
tests/integration/streams.test.ts:
backend/src/controllers/stream.controller.ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/controllers/stream.controller.ts:1:1
Caused by: Caused by: ReferenceError: Cannot access 'mockPrisma' before initialization
❯ tests/integration/streams.test.ts:12:12
❯ src/controllers/stream.controller.ts:1:1
|
|
tests/sse.service.test.ts > SSEService connection limits > cleans up IP tracking when all connections from that IP close:
backend/tests/sse.service.test.ts#L51
TypeError: SSEService is not a constructor
❯ tests/sse.service.test.ts:51:21
|
|
tests/sse.service.test.ts > SSEService connection limits > rejects connections when global capacity is reached with 503:
backend/tests/sse.service.test.ts#L40
TypeError: SSEService is not a constructor
❯ tests/sse.service.test.ts:40:21
|
|
tests/sse.service.test.ts > SSEService connection limits > rejects the 6th concurrent connection from the same IP with 429:
backend/tests/sse.service.test.ts#L23
TypeError: SSEService is not a constructor
❯ tests/sse.service.test.ts:23:21
|
|
Backend npm test
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/
|
|
Contracts cargo test
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 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/
|