Migrated app.config.chain.getById()
calls to newer trpc.community.getCommunity()
+ cleanup/state-refactor of related components
#26144
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)
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)
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 '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Code Quality checks (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Code Quality checks (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; description: string; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
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)
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 '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Commonwealth Unit And Integration Tests (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Commonwealth Unit And Integration Tests (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; description: string; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
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)
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 '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Commonwealth E2E Tests Serial (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
Commonwealth E2E Tests Serial (20)
Type '{ id: string; network: ChainNetwork.ERC20; default_symbol: string; name: string; icon_url: string; active: true; description: string; type: ChainType.Token; base: ChainBase.Ethereum; has_chain_events_listener: false; chain_node_id: number; }' is not assignable to type 'Optional<CommunityAttributes, NullishPropertiesOf<CommunityAttributes>>'.
|
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 |
|