External API GET threads and topics #27723
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: Detect Broken TS expect errors
Matrix: Upload Test Coverage Report
Annotations
12 errors and 6 warnings
Code Quality checks (20)
Argument of type '{ name: string; id: number; description: string; community_id: string; featured_in_sidebar: boolean; featured_in_new_post: boolean; group_ids: number[]; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }[]' is not assignable to parameter of type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }[]'.
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Type '{ name: string; id: number; description: string; community_id: string; featured_in_sidebar: boolean; featured_in_new_post: boolean; group_ids: number[]; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; } | undefined' is not assignable to type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; } | undefined'.
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Argument of type '{ name: string; id: number; description: string; community_id: string; featured_in_sidebar: boolean; featured_in_new_post: boolean; group_ids: number[]; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }[]' is not assignable to parameter of type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }[]'.
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
Code Quality checks (20)
Property 'activeContestManagers' does not exist on type '{ id: number; community_id: string; name: string; description: string; group_ids: number[]; featured_in_sidebar: boolean; featured_in_new_post: boolean; total_threads: number; active_contest_managers: { ...; }[]; ... 13 more ...; contest_topics?: { ...; }[] | ... 1 more ... | undefined; }'. Did you mean 'active_contest_managers'?
|
test/integration/api/topics.spec.ts > Topic Tests > Bulk Topics > Should pass /bulkTopics:
packages/commonwealth/test/integration/api/topics.spec.ts#L37
AssertionError: expected 'Failure' to equal 'Success'
- Expected
+ Received
- Success
+ Failure
❯ test/integration/api/topics.spec.ts:37:37
|
Commonwealth Unit And Integration Tests (20)
Process completed with exit code 1.
|
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.
|
Cosmos Devnet Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: tj-actions/glob@v17.2.5. 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 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 |
|