Skip to content

Refactor user activity queries #27828

Refactor user activity queries

Refactor user activity queries #27828

Triggered via pull request October 11, 2024 17:36
Status Failure
Total duration 9m 8s
Artifacts 2

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
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
Code Quality checks (20)
Module '"/home/runner/work/commonwealth/commonwealth/packages/commonwealth/client/scripts/state/api/feeds/fetchUserActivity"' has no default export. Did you mean to use 'import { useFetchUserActivityQuery } from "/home/runner/work/commonwealth/commonwealth/packages/commonwealth/client/scripts/state/api/feeds/fetchUserActivity"' instead?
Code Quality checks (20)
Process completed with exit code 2.
test/integration/api/userDashboard.spec.ts > User Dashboard API > /GetUserActivity > should return user activity for joined communities only: packages/commonwealth/test/integration/api/userDashboard.spec.ts#L184
AssertionError: expected 400 to equal 200 - Expected + Received - 200 + 400 ❯ test/integration/api/userDashboard.spec.ts:184:32
test/integration/api/userDashboard.spec.ts > User Dashboard API > /GetUserActivity > should return user activity for newly joined communities: packages/commonwealth/test/integration/api/userDashboard.spec.ts#L218
AssertionError: expected 400 to equal 200 - Expected + Received - 200 + 400 ❯ test/integration/api/userDashboard.spec.ts:218:32
test/integration/api/userDashboard.spec.ts > User Dashboard API > /GetUserActivity > should return correctly ranked user activity: packages/commonwealth/test/integration/api/userDashboard.spec.ts#L266
AssertionError: expected 400 to equal 200 - Expected + Received - 200 + 400 ❯ test/integration/api/userDashboard.spec.ts:266:32
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.
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/
Cosmos Devnet Tests (20)
The following actions use a deprecated Node.js version 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/
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