Skip to content

Convert getCommunities to TRPC and add additional flags. #26126

Convert getCommunities to TRPC and add additional flags.

Convert getCommunities to TRPC and add additional flags. #26126

Triggered via pull request August 8, 2024 15:26
Status Failure
Total duration 8m 7s
Artifacts 2

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
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 6 warnings
Code Quality checks (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; metadata: ZodObject<{ name: ZodString; description: ZodString; required_requirements: ZodOptional<ZodNumber>; membership_ttl: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; requirements: ZodArray<...>; topics: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; ...'.
Code Quality checks (20)
Type '({ payload }: CommandContext<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>>) => Promise<{ groups: { id: number; ... 5 more ...; is_system_managed?: boolean | undefined; }[] | null | undefined; created: false; } | { ...; }>' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>, ZodObject<{ groups: ZodArray<ZodObject<{ id: ZodNumber; community_id: ZodString; ... 4 more ...; updated_at: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, "many">; created: ZodBoolean; }, "strip", Zo...'.
Code Quality checks (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; }, "strip", ZodTypeAny, { id: string; contest_address: string; }, { id: string; contest_address: string; }>, ZodObject<...>>'.
Code Quality checks (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodString; image_url: ZodOptional<ZodString>; funding_token_address: ZodOptional<...>; ... 5 more ...; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Code Quality checks (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodOptional<ZodString>; image_url: ZodOptional<ZodString>; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Code Quality checks (20)
Process completed with exit code 1.
Commonwealth Unit And Integration Tests (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; metadata: ZodObject<{ name: ZodString; description: ZodString; required_requirements: ZodOptional<ZodNumber>; membership_ttl: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; requirements: ZodArray<...>; topics: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; ...'.
Commonwealth Unit And Integration Tests (20)
Type '({ payload }: CommandContext<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>>) => Promise<{ groups: { id: number; ... 5 more ...; is_system_managed?: boolean | undefined; }[] | null | undefined; created: false; } | { ...; }>' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>, ZodObject<{ groups: ZodArray<ZodObject<{ id: ZodNumber; community_id: ZodString; ... 4 more ...; updated_at: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, "many">; created: ZodBoolean; }, "strip", Zo...'.
Commonwealth Unit And Integration Tests (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; }, "strip", ZodTypeAny, { id: string; contest_address: string; }, { id: string; contest_address: string; }>, ZodObject<...>>'.
Commonwealth Unit And Integration Tests (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodString; image_url: ZodOptional<ZodString>; funding_token_address: ZodOptional<...>; ... 5 more ...; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Commonwealth Unit And Integration Tests (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodOptional<ZodString>; image_url: ZodOptional<ZodString>; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Commonwealth Unit And Integration Tests (20)
Process completed with exit code 1.
Commonwealth E2E Tests Serial (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; metadata: ZodObject<{ name: ZodString; description: ZodString; required_requirements: ZodOptional<ZodNumber>; membership_ttl: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; requirements: ZodArray<...>; topics: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; ...'.
Commonwealth E2E Tests Serial (20)
Type '({ payload }: CommandContext<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>>) => Promise<{ groups: { id: number; ... 5 more ...; is_system_managed?: boolean | undefined; }[] | null | undefined; created: false; } | { ...; }>' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>, ZodObject<{ groups: ZodArray<ZodObject<{ id: ZodNumber; community_id: ZodString; ... 4 more ...; updated_at: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, "many">; created: ZodBoolean; }, "strip", Zo...'.
Commonwealth E2E Tests Serial (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; }, "strip", ZodTypeAny, { id: string; contest_address: string; }, { id: string; contest_address: string; }>, ZodObject<...>>'.
Commonwealth E2E Tests Serial (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodString; image_url: ZodOptional<ZodString>; funding_token_address: ZodOptional<...>; ... 5 more ...; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Commonwealth E2E Tests Serial (20)
Type 'CommunityMiddleware' is not assignable to type 'CommandHandler<ZodObject<{ id: ZodString; contest_address: ZodString; name: ZodOptional<ZodString>; image_url: ZodOptional<ZodString>; topic_ids: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>, ZodObject<...>>'.
Commonwealth E2E Tests Serial (20)
Process completed with exit code 2.
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/
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/
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/
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/
EVM Devnet Tests (20)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "FlakySuiteStatus", "MatureSuiteStatus". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
FlakySuiteStatus Expired
3.24 KB
MatureSuiteStatus Expired
314 Bytes