Skip to content

feat!: use unified API spec, and go generator #160

feat!: use unified API spec, and go generator

feat!: use unified API spec, and go generator #160

Triggered via pull request August 1, 2024 15:08
@szuperazszuperaz
synchronize #39
go-generator
Status Failure
Total duration 2m 38s
Artifacts

test.yml

on: pull_request
Matrix: test-node
Fit to window
Zoom out
Zoom in

Annotations

41 errors and 4 warnings
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: DeleteRole failed with error: "role "streamnodetest4e6c96a1-7564-4995-8eba-f4ebc3474ff5" cannot be deleted as it is present in permission grants of scopes [.app]" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.deleteRole src/gen/common/CommonApi.ts:997:22 ❯ __tests__/permissions-app-settings.test.ts:76:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: DeleteRole failed with error: "role "streamnodetest4e6c96a1-7564-4995-8eba-f4ebc3474ff5" does not exist" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.deleteRole src/gen/common/CommonApi.ts:997:22 ❯ __tests__/permissions-app-settings.test.ts:76:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateApp failed with error: "cannot use unknown role "streamnodetest4e6c96a1-7564-4995-8eba-f4ebc3474ff5" in permission grants for resource "app"" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateApp src/gen/common/CommonApi.ts:215:22 ❯ __tests__/permissions-app-settings.test.ts:59:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateApp failed with error: "cannot use unknown role "streamnodetest4e6c96a1-7564-4995-8eba-f4ebc3474ff5" in permission grants for resource "app"" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateApp src/gen/common/CommonApi.ts:215:22 ❯ __tests__/permissions-app-settings.test.ts:59:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L47
Error: Stream error code 17: V2Ban failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.ban src/gen/common/CommonApi.ts:728:22 ❯ __tests__/users.test.ts:101:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L47
Error: Stream error code 17: V2Ban failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.ban src/gen/common/CommonApi.ts:728:22 ❯ __tests__/users.test.ts:101:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/channel-types.test.ts > channel types CRUD API > delete: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannelType failed with error: "streamnodetest92f8c2a8-b9fc-4fc5-a32b-23e99191e63c is not a defined channel type" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannelType src/gen/chat/ChatApi.ts:866:22 ❯ __tests__/channel-types.test.ts:47:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 16, 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>' } }
__tests__/channel-types.test.ts > channel types CRUD API > delete: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannelType failed with error: "streamnodetest92f8c2a8-b9fc-4fc5-a32b-23e99191e63c is not a defined channel type" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannelType src/gen/chat/ChatApi.ts:866:22 ❯ __tests__/channel-types.test.ts:47:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 16, 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>' } }
__tests__/channel-types.test.ts > channel types CRUD API > delete: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannelType failed with error: "streamnodetest92f8c2a8-b9fc-4fc5-a32b-23e99191e63c is not a defined channel type" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannelType src/gen/chat/ChatApi.ts:866:22 ❯ __tests__/channel-types.test.ts:47:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 16, 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>' } }
__tests__/channel-types.test.ts > channel types CRUD API > delete: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannelType failed with error: "streamnodetest92f8c2a8-b9fc-4fc5-a32b-23e99191e63c is not a defined channel type" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannelType src/gen/chat/ChatApi.ts:866:22 ❯ __tests__/channel-types.test.ts:47:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 16, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > read: __tests__/external-storage.test.ts#L28
AssertionError: expected undefined not to be undefined ❯ __tests__/external-storage.test.ts:28:57
__tests__/external-storage.test.ts > external storage CRUD API > read: __tests__/external-storage.test.ts#L28
AssertionError: expected undefined not to be undefined ❯ __tests__/external-storage.test.ts:28:57
test-node (18)
The job was canceled because "_20" failed.
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/messages.test.ts > messages API > flag: src/BaseApi.ts#L47
Error: Stream error code 17: V2Flag failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.flag src/gen/common/CommonApi.ts:756:22 ❯ __tests__/messages.test.ts:158:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: DeleteRole failed with error: "role "streamnodetest042e8718-8eb7-4e52-ad2f-82dbcc6c0b45" does not exist" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.deleteRole src/gen/common/CommonApi.ts:997:22 ❯ __tests__/permissions-app-settings.test.ts:76:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateApp failed with error: "cannot use unknown role "streamnodetest042e8718-8eb7-4e52-ad2f-82dbcc6c0b45" in permission grants for resource "app"" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateApp src/gen/common/CommonApi.ts:215:22 ❯ __tests__/permissions-app-settings.test.ts:59:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateApp failed with error: "cannot use unknown role "streamnodetest042e8718-8eb7-4e52-ad2f-82dbcc6c0b45" in permission grants for resource "app"" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateApp src/gen/common/CommonApi.ts:215:22 ❯ __tests__/permissions-app-settings.test.ts:59:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/permissions-app-settings.test.ts > permissions and app settings API > delete role: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateApp failed with error: "cannot use unknown role "streamnodetest042e8718-8eb7-4e52-ad2f-82dbcc6c0b45" in permission grants for resource "app"" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateApp src/gen/common/CommonApi.ts:215:22 ❯ __tests__/permissions-app-settings.test.ts:59:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L47
Error: Stream error code 17: V2Ban failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.ban src/gen/common/CommonApi.ts:728:22 ❯ __tests__/users.test.ts:101:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/users.test.ts > user API > ban and unban: src/BaseApi.ts#L47
Error: Stream error code 17: V2Ban failed with error: "this endpoint needs a feature flag, contact support to get it enabled" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.ban src/gen/common/CommonApi.ts:728:22 ❯ __tests__/users.test.ts:101:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 17, 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>' } }
__tests__/command.test.ts > commands CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateCommand failed with error: "Command 'stream-node-test-command9ddc1a66-3f0c-4981-9cb3-9e9387b391eb' already exists" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.createCommand src/gen/chat/ChatApi.ts:966:22 ❯ __tests__/command.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/command.test.ts > commands CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateCommand failed with error: "Command 'stream-node-test-command9ddc1a66-3f0c-4981-9cb3-9e9387b391eb' already exists" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.createCommand src/gen/chat/ChatApi.ts:966:22 ❯ __tests__/command.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/command.test.ts > commands CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateCommand failed with error: "Command 'stream-node-test-command9ddc1a66-3f0c-4981-9cb3-9e9387b391eb' already exists" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.createCommand src/gen/chat/ChatApi.ts:966:22 ❯ __tests__/command.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/command.test.ts > commands CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateCommand failed with error: "Command 'stream-node-test-command9ddc1a66-3f0c-4981-9cb3-9e9387b391eb' already exists" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.createCommand src/gen/chat/ChatApi.ts:966:22 ❯ __tests__/command.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > create: src/BaseApi.ts#L47
Error: Stream error code 4: CreateExternalStorage failed with error: "maximum number of external storages reached" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.createExternalStorage src/gen/common/CommonApi.ts:525:22 ❯ __tests__/external-storage.test.ts:15:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 4, 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>' } }
__tests__/external-storage.test.ts > external storage CRUD API > read: __tests__/external-storage.test.ts#L28
AssertionError: expected undefined not to be undefined ❯ __tests__/external-storage.test.ts:28:57
__tests__/external-storage.test.ts > external storage CRUD API > read: __tests__/external-storage.test.ts#L28
AssertionError: expected undefined not to be undefined ❯ __tests__/external-storage.test.ts:28:57
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-node (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-node (22)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-bun
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/