Convert getCommunities to TRPC and add additional flags. #26089
CI.yml
on: pull_request
Matrix: Cosmos Devnet Tests
Matrix: EVM Devnet Tests
Matrix: Commonwealth Unit And Integration Tests
Matrix: Commonwealth Mature E2E Tests
Matrix: Commonwealth E2E Tests
Matrix: Commonwealth E2E Tests Serial
Matrix: Code Quality Recommendations
Matrix: Code Quality checks
Matrix: Upload Test Coverage Report
Annotations
13 errors and 7 warnings
Commonwealth E2E Tests (20)
Process completed with exit code 1.
|
Commonwealth Mature E2E Tests (20)
Process completed with exit code 1.
|
Commonwealth E2E Tests Serial (20)
Process completed with exit code 1.
|
test/integration/emitNotifications.spec.ts > emitNotifications tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/communityStake.spec.ts > POST communityStakes Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/cosmosCache.spec.ts > Cosmos Cache:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/createComment.spec.ts > createComment Integration Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/createReactions.spec.ts > createReaction Integration Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/getAddressProfile.spec.ts > getAddressProfile tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/getRoles.spec.ts > get roles Integration Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/index.spec.ts > API Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/linking.spec.ts > Linking Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
test/integration/api/notifications.spec.ts > Notification Routes Tests:
libs/adapters/src/trpc/index.ts#L252
TRPCError: [query.community.getCommunities] - Input parser key: "tag_ids" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:79:19
❯ getParameterObjects ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/schema.ts:71:6
❯ ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:78:42
❯ forEachOpenApiProcedure ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/utils/procedure.ts:42:7
❯ getOpenApiPathsObject ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/paths.ts:16:26
❯ generateOpenApiDocument ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/generator/index.ts:34:33
❯ createOpenApiNodeHttpHandler ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/node-http/core.ts:54:28
❯ Proxy.createOpenApiExpressMiddleware ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/trpc-openapi/src/adapters/express.ts:15:58
❯ Module.toOpenApiExpress ../../libs/adapters/src/trpc/index.ts:252:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
|
Commonwealth E2E Tests (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Commonwealth E2E Tests (20)
No files were found with the provided path: packages/commonwealth/test-results/. No artifacts will be uploaded.
|
Commonwealth Mature E2E Tests (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Commonwealth Mature E2E Tests (20)
No files were found with the provided path: packages/commonwealth/test-results/. No artifacts will be uploaded.
|
Commonwealth E2E Tests Serial (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Cosmos Devnet Tests (20)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: tj-actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
EVM Devnet Tests (20)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|