Convert getCommunities to TRPC and add additional flags. #26139
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
30 errors and 6 warnings
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 |
|