Skip to content

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

feat!: use unified API spec, and go generator

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

Triggered via pull request August 3, 2024 09:44
@szuperazszuperaz
synchronize #39
go-generator
Status Failure
Total duration 3m 11s
Artifacts

test.yml

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

Annotations

21 errors and 4 warnings
__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:451: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:451: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:451: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:451: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
__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
__tests__/external-storage.test.ts > external storage CRUD API > update: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateExternalStorage failed with error: "external storage "streamnodetest550fee8b-9615-4294-bfa5-f80c55491738" not found" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateExternalStorage src/gen/common/CommonApi.ts:491:22 ❯ __tests__/external-storage.test.ts:33: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 > update: src/BaseApi.ts#L47
Error: Stream error code 4: UpdateExternalStorage failed with error: "external storage "streamnodetest550fee8b-9615-4294-bfa5-f80c55491738" not found" ❯ StreamClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamClient.CommonApi.updateExternalStorage src/gen/common/CommonApi.ts:491:22 ❯ __tests__/external-storage.test.ts:33: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__/channel.test.ts > channel API > create - without id: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannel failed with error: "Can't find channel with id messaging:!members-Cp60OTAvcvxknHxFRRttQsJG1651_I79G6m8_mCS8dE" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannel src/gen/chat/ChatApi.ts:271:22 ❯ __tests__/channel.test.ts:51:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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.test.ts > channel API > create - without id: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannel failed with error: "Can't find channel with id messaging:!members-Cp60OTAvcvxknHxFRRttQsJG1651_I79G6m8_mCS8dE" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannel src/gen/chat/ChatApi.ts:271:22 ❯ __tests__/channel.test.ts:51:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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.test.ts > channel API > create - without id: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannel failed with error: "Can't find channel with id messaging:!members-Cp60OTAvcvxknHxFRRttQsJG1651_I79G6m8_mCS8dE" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannel src/gen/chat/ChatApi.ts:271:22 ❯ __tests__/channel.test.ts:51:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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.test.ts > channel API > create - without id: src/BaseApi.ts#L47
Error: Stream error code 16: DeleteChannel failed with error: "Can't find channel with id messaging:!members-Cp60OTAvcvxknHxFRRttQsJG1651_I79G6m8_mCS8dE" ❯ StreamChatClient.BaseApi.sendRequest src/BaseApi.ts:47:15 ❯ StreamChatClient.ChatApi.deleteChannel src/gen/chat/ChatApi.ts:271:22 ❯ __tests__/channel.test.ts:51:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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:451: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:451: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:451: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:451: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 (20)
The job was canceled because "_18" failed.
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 (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-node (18)
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/