chore: fix lint config, caused errors for code regen #631
test.yml
on: pull_request
lint
23s
test-bun
1m 45s
Matrix: test-node
Annotations
9 errors and 2 warnings
|
test-node (18)
Process completed with exit code 1.
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command023e8c52-3166-41bc-bc5b-cf4d340998ac" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1141:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '0f6407e4-b7b3-42cf-a9b5-19325bd3a13b', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59995, rateLimitReset: '2026-03-13T10:06:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command023e8c52-3166-41bc-bc5b-cf4d340998ac" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1141:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '7bf928ab-cb22-4bbb-9a3e-160233ca2b78', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59996, rateLimitReset: '2026-03-13T10:06:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
src/ApiClient.ts#L91
Error: Stream error code 16: DeleteCommand failed with error: "the command "stream-node-test-command023e8c52-3166-41bc-bc5b-cf4d340998ac" does not exist"
❯ ApiClient.sendRequest src/ApiClient.ts:91:15
❯ StreamChatClient.deleteCommand src/gen/chat/ChatApi.ts:1141:22
❯ __tests__/command.test.ts:41:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { metadata: { clientRequestId: '5f591e05-598e-47db-8aba-4eac81ed5da2', responseHeaders: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, responseCode: 404, rateLimit: { rateLimit: 60000, rateLimitRemaining: 59997, rateLimitReset: '2026-03-13T10:06:00.000Z' } }, code: 16 }
|
|
__tests__/command.test.ts > commands CRUD API > delete:
__tests__/command.test.ts#L47
AssertionError: promise resolved "{ …(8) }" instead of rejecting
- Expected
+ Received
- Error {
- "message": "rejected promise",
+ {
+ "args": "",
+ "created_at": 2026-03-13T10:04:56.356Z,
+ "description": "Updated descrpition",
+ "duration": "23.78ms",
+ "metadata": {
+ "clientRequestId": "31dbe4b1-b614-49a2-baa1-c38e8a55ded0",
+ "rateLimit": {
+ "rateLimit": 60000,
+ "rateLimitRemaining": 59997,
+ "rateLimitReset": 2026-03-13T10:06:00.000Z,
+ },
+ "responseCode": 200,
+ "responseHeaders": Headers {
+ Symbol(guard): "immutable",
+ Symbol(headers list): HeadersList {
+ "cookies": null,
+ Symbol(headers map): Map {
+ "access-control-allow-headers" => {
+ "name": "access-control-allow-headers",
+ "value": "x-requested-with, content-type, accept, origin, authorization, x-csrftoken, x-stream-client, stream-auth-type, x-csrf-token, content-encoding, x-client-request-id",
+ },
+ "access-control-allow-methods" => {
+ "name": "access-control-allow-methods",
+ "value": "GET, POST, PUT, PATCH, DELETE, OPTIONS",
+ },
+ "access-control-allow-origin" => {
+ "name": "access-control-allow-origin",
+ "value": "*",
+ },
+ "access-control-max-age" => {
+ "name": "access-control-max-age",
+ "value": "86400",
+ },
+ "cache-control" => {
+ "name": "cache-control",
+ "value": "no-cache",
+ },
+ "content-type" => {
+ "name": "content-type",
+ "value": "application/json;charset=utf-8",
+ },
+ "vary" => {
+ "name": "vary",
+ "value": "Accept-Encoding",
+ },
+ "x-ratelimit-limit" => {
+ "name": "x-ratelimit-limit",
+ "value": "60000",
+ },
+ "x-ratelimit-remaining" => {
+ "name": "x-ratelimit-remaining",
+ "value": "59997",
+ },
+ "x-ratelimit-reset" => {
+ "name": "x-ratelimit-reset",
+ "value": "1773396360",
+ },
+ "date" => {
+ "name": "date",
+ "value": "Fri, 13 Mar 2026 10:05:01 GMT",
+ },
+ "content-length" => {
+ "name": "content-length",
+ "value": "213",
+ },
+ "x-envoy-upstream-service-time" => {
+ "name": "x-envoy-upstream-service-time",
+ "value": "131",
+ },
+ "strict-transport-security" => {
+ "name": "strict-transport-security",
+ "value": "max-age=31536000; includeSubDomains, max-age=31536000; includeSubDomains",
+ },
+ "server" => {
+ "name": "server",
+ "value": "stream-edge",
+ },
+ },
+ Symbol(headers map sorted): null,
+ },
+ Symbol(realm): null,
+ },
+ },
+ "name": "stream-node-test-command023e8c52-3166-41bc-bc5b-cf4d340998ac",
+ "set": "",
+ "updated_at": 2026-03-13T10:04:58.103Z,
}
❯ __tests__/command.test.ts:47:5
|
|
__tests__/channel-types.test.ts > channel types CRUD API > read:
__tests__/channel-types.test.ts#L28
AssertionError: expected undefined to be defined
❯ __tests__/channel-types.test.ts:28:49
|
|
__tests__/channel-types.test.ts > channel types CRUD API > read:
__tests__/channel-types.test.ts#L28
AssertionError: expected undefined to be defined
❯ __tests__/channel-types.test.ts:28:49
|
|
__tests__/channel-types.test.ts > channel types CRUD API > read:
__tests__/channel-types.test.ts#L28
AssertionError: expected undefined to be defined
❯ __tests__/channel-types.test.ts:28:49
|
|
__tests__/channel-types.test.ts > channel types CRUD API > read:
__tests__/channel-types.test.ts#L28
AssertionError: expected undefined to be defined
❯ __tests__/channel-types.test.ts:28:49
|
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-node@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
test-bun
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|