Skip to content

Convert getCommunities to TRPC and add additional flags. #26137

Convert getCommunities to TRPC and add additional flags.

Convert getCommunities to TRPC and add additional flags. #26137

Triggered via pull request August 8, 2024 18:37
Status Failure
Total duration 8m 18s
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

40 errors and 6 warnings
Code Quality Recommendations (20): libs/model/test/community/group-lifecycle.spec.ts#L39
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/stake-lifecycle.spec.ts#L42
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/stake-lifecycle.spec.ts#L61
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/stake-lifecycle.spec.ts#L72
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L17
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L21
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L25
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L26
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L29
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality Recommendations (20): libs/model/test/community/tags.spec.ts#L33
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Code Quality checks (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
Code Quality checks (20)
Parameter 'g' implicitly has an 'any' type.
Code Quality checks (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
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)
'r.decimals' is possibly 'null'.
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)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; custom_stages: never[]; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Code Quality checks (20)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Code Quality checks (20)
Type '{ email: string; emailVerified: true; isAdmin: true; is_welcome_onboard_flow_complete: true; profile: {}; }' is not assignable to type 'Optional<UserAttributes, NullishPropertiesOf<UserAttributes>>'.
Commonwealth Unit And Integration Tests (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
Commonwealth Unit And Integration Tests (20)
Parameter 'g' implicitly has an 'any' type.
Commonwealth Unit And Integration Tests (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
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)
'r.decimals' is possibly 'null'.
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)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; custom_stages: never[]; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Commonwealth Unit And Integration Tests (20)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Commonwealth Unit And Integration Tests (20)
Type '{ email: string; emailVerified: true; isAdmin: true; is_welcome_onboard_flow_complete: true; profile: {}; }' is not assignable to type 'Optional<UserAttributes, NullishPropertiesOf<UserAttributes>>'.
Commonwealth E2E Tests Serial (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
Commonwealth E2E Tests Serial (20)
Parameter 'g' implicitly has an 'any' type.
Commonwealth E2E Tests Serial (20)
Property 'groups' does not exist on type 'CommunityInstance'. Did you mean 'Groups'?
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)
'r.decimals' is possibly 'null'.
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)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; custom_stages: never[]; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Commonwealth E2E Tests Serial (20)
Type '{ id: string; chain_node_id: number; name: string; network: ChainNetwork.Ethereum; type: ChainType.Offchain; base: ChainBase.Ethereum; icon_url: string; active: true; default_symbol: string; custom_domain: string; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
Commonwealth E2E Tests Serial (20)
Type '{ email: string; emailVerified: true; isAdmin: true; is_welcome_onboard_flow_complete: true; profile: {}; }' is not assignable to type 'Optional<UserAttributes, NullishPropertiesOf<UserAttributes>>'.
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