Convert getCommunities to TRPC and add additional flags. #26086
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
33 errors and 11 warnings
Code Quality Recommendations (20)
Process completed with exit code 1.
|
Code Quality checks (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Code Quality checks (20)
'limit' is possibly 'undefined'.
|
Code Quality checks (20)
'cursor' is possibly 'undefined'.
|
Code Quality checks (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Code Quality checks (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Code Quality checks (20)
Argument of type '{ community_id: string; stake_id: number; stake_token?: string | undefined; vote_weight?: number | undefined; stake_enabled?: boolean | undefined; }' is not assignable to parameter of type 'Optional<CommunityStakeAttributes, NullishPropertiesOf<CommunityStakeAttributes>>'.
|
Code Quality checks (20)
Argument of type '{ community_id: string; created_at: Date; cancelled: false; name: string; contest_address: string; payout_structure: number[]; interval: number; decimals?: number | undefined; image_url?: string | undefined; funding_token_address?: string | undefined; prize_percentage?: number | undefined; ticker?: string | undefine...' is not assignable to parameter of type 'Optional<{ community_id: string; created_at: Date; decimals: number; name: string; contest_address: string; payout_structure: number[]; interval: number; ticker: string; image_url?: string | undefined; ... 5 more ...; contests?: { ...; }[] | undefined; }, NullishPropertiesOf<...>>'.
|
Code Quality checks (20)
Type 'undefined' cannot be used as an index type.
|
Code Quality checks (20)
Type 'undefined' cannot be used as an index type.
|
Code Quality checks (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth Unit And Integration Tests (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth Unit And Integration Tests (20)
'limit' is possibly 'undefined'.
|
Commonwealth Unit And Integration Tests (20)
'cursor' is possibly 'undefined'.
|
Commonwealth Unit And Integration Tests (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth Unit And Integration Tests (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth Unit And Integration Tests (20)
Argument of type '{ community_id: string; stake_id: number; stake_token?: string | undefined; vote_weight?: number | undefined; stake_enabled?: boolean | undefined; }' is not assignable to parameter of type 'Optional<CommunityStakeAttributes, NullishPropertiesOf<CommunityStakeAttributes>>'.
|
Commonwealth Unit And Integration Tests (20)
Argument of type '{ community_id: string; created_at: Date; cancelled: false; name: string; contest_address: string; payout_structure: number[]; interval: number; decimals?: number | undefined; image_url?: string | undefined; funding_token_address?: string | undefined; prize_percentage?: number | undefined; ticker?: string | undefine...' is not assignable to parameter of type 'Optional<{ community_id: string; created_at: Date; decimals: number; name: string; contest_address: string; payout_structure: number[]; interval: number; ticker: string; image_url?: string | undefined; ... 5 more ...; contests?: { ...; }[] | undefined; }, NullishPropertiesOf<...>>'.
|
Commonwealth Unit And Integration Tests (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth Unit And Integration Tests (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth Unit And Integration Tests (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth E2E Tests Serial (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth E2E Tests Serial (20)
'limit' is possibly 'undefined'.
|
Commonwealth E2E Tests Serial (20)
'cursor' is possibly 'undefined'.
|
Commonwealth E2E Tests Serial (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth E2E Tests Serial (20)
Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
Commonwealth E2E Tests Serial (20)
Argument of type '{ community_id: string; stake_id: number; stake_token?: string | undefined; vote_weight?: number | undefined; stake_enabled?: boolean | undefined; }' is not assignable to parameter of type 'Optional<CommunityStakeAttributes, NullishPropertiesOf<CommunityStakeAttributes>>'.
|
Commonwealth E2E Tests Serial (20)
Argument of type '{ community_id: string; created_at: Date; cancelled: false; name: string; contest_address: string; payout_structure: number[]; interval: number; decimals?: number | undefined; image_url?: string | undefined; funding_token_address?: string | undefined; prize_percentage?: number | undefined; ticker?: string | undefine...' is not assignable to parameter of type 'Optional<{ community_id: string; created_at: Date; decimals: number; name: string; contest_address: string; payout_structure: number[]; interval: number; ticker: string; image_url?: string | undefined; ... 5 more ...; contests?: { ...; }[] | undefined; }, NullishPropertiesOf<...>>'.
|
Commonwealth E2E Tests Serial (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth E2E Tests Serial (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth E2E Tests Serial (20)
Type 'undefined' cannot be used as an index type.
|
Commonwealth E2E Tests (20)
Process completed with exit code 1.
|
Commonwealth Mature E2E Tests (20)
Process completed with exit code 1.
|
Code Quality Recommendations (20):
libs/model/test/community/tags.spec.ts#L15
'communityNoTags' is assigned a value but never used
|
Code Quality Recommendations (20):
libs/model/test/community/tags.spec.ts#L23
'community1tag1Tag' is assigned a value but never used
|
Code Quality Recommendations (20):
libs/model/test/community/tags.spec.ts#L31
'community2tag1Tag' is assigned a value but never used
|
Code Quality Recommendations (20):
libs/model/test/community/tags.spec.ts#L35
'community2tag2Tag' is assigned a value but never used
|
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 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.
|
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
|