Transfer /viewComments
+ comment spam routes to new framework
#28129
CI.yml
on: pull_request
Matrix: EVM Devnet Tests
Matrix: Commonwealth Unit Tests
Matrix: Code Quality Recommendations
Matrix: Code Quality checks
Matrix: Commonwealth Integration Tests
Matrix: Detect Broken TS expect errors
Matrix: Commonwealth Mature E2E Tests
Matrix: Commonwealth E2E Tests
Matrix: Commonwealth E2E Tests Serial
Matrix: Upload Test Coverage Report
Annotations
11 errors and 6 warnings
Code Quality Recommendations (20)
Process completed with exit code 1.
|
Code Quality checks (20)
Object literal may only specify known properties, and 'communityId' does not exist in type 'useViewCommentsProps'.
|
Code Quality checks (20)
Type '{ search: string | Record<string, any>; thread_id: number; text: string; address_id: number; reaction_count: number; Address: { address: string; community_id: string; User: { profile: { ...; }; ... 13 more ...; xp_points?: number | ... 1 more ... | undefined; }; ... 14 more ...; block_info?: string | ... 1 more ... ...' must have a '[Symbol.iterator]()' method that returns an iterator.
|
Code Quality checks (20)
Unused '@ts-expect-error' directive.
|
Code Quality checks (20)
Object literal may only specify known properties, and 'communityId' does not exist in type 'useViewCommentsProps'.
|
Code Quality checks (20)
'comments' is possibly 'undefined'.
|
Code Quality checks (20)
'comments' is possibly 'undefined'.
|
Code Quality checks (20)
Object literal may only specify known properties, and 'communityId' does not exist in type 'useViewCommentsProps'.
|
Code Quality checks (20)
Object literal may only specify known properties, and 'communityId' does not exist in type 'useViewCommentsProps'.
|
Code Quality checks (20)
'comments' is possibly 'undefined'.
|
Code Quality checks (20)
Argument of type '{ id: number | undefined; text: string; author: string; community_id: string; Address: { community_id: string; address: string; ghost_address: boolean; is_user_default: boolean; role: "admin" | "moderator" | "member"; ... 12 more ...; block_info?: string | ... 1 more ... | undefined; }; ... 12 more ...; discord_meta...' is not assignable to parameter of type '{ id: any; text: any; author: any; community_id: any; Address: any; thread_id: any; parent_id: any; reactions: any; reaction_weights_sum: any; created_at: any; deleted_at: any; authorChain: any; last_edited: any; ... 5 more ...; content_url: any; }'.
|
Code Quality Recommendations (20):
packages/commonwealth/client/scripts/state/api/comments/fetchComments.ts#L11
'mapToLegacyCommentsModel' is assigned a value but never used
|
Commonwealth Mature E2E Tests (20)
The following actions use a deprecated Node.js version 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 Serial (20)
The following actions use a deprecated Node.js version 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 Serial (20)
No files were found with the provided path: coverage. No artifacts will be uploaded.
|
Commonwealth E2E Tests (20)
The following actions use a deprecated Node.js version 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/
|
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
|
3.24 KB |
|
MatureSuiteStatus
|
314 Bytes |
|