Skip to content

Feat/integrate context management #13

Feat/integrate context management

Feat/integrate context management #13

Triggered via pull request April 25, 2026 20:44
Status Failure
Total duration 1m 50s
Artifacts 1

frontend-ci.yml

on: pull_request
Typecheck & Lint
21s
Typecheck & Lint
Unit Tests
26s
Unit Tests
Playwright E2E
1m 47s
Playwright E2E
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
Typecheck & Lint
Process completed with exit code 1.
Typecheck & Lint: app/src/chat/UploadComponent.tsx#L95
'expectedHash' is assigned a value but never used. Allowed unused args must match /^_/u
Unit Tests
Process completed with exit code 1.
src/components/popups/SettingsPopup.test.tsx: app/src/api/dataSource/groupApiDataSource.ts#L3
ReferenceError: module is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/mero-chat/mero-chat/app/node_modules/.pnpm/@calimero-network+calimero-client@1.25.0-beta.2_@near-wallet-selector+modal-ui@8.10.2_near-ap_n3jrqnj64ezfg746c5mflroszi/node_modules/@calimero-network/calimero-client/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ❯ node_modules/.pnpm/@calimero-network+calimero-client@1.25.0-beta.2_@near-wallet-selector+modal-ui@8.10.2_near-ap_n3jrqnj64ezfg746c5mflroszi/node_modules/@calimero-network/calimero-client/lib/index.js:661:1 ❯ src/api/dataSource/groupApiDataSource.ts:3:1
src/hooks/useDMs.test.ts > useDMs > uses the member alias when DM profiles do not provide a username: app/src/hooks/useDMs.test.ts#L218
AssertionError: expected undefined to deeply equal ObjectContaining{…} - Expected: ObjectContaining { "otherAlias": "Taylor", "otherIdentity": "member-you", "otherUsername": "", } + Received: undefined ❯ src/hooks/useDMs.test.ts:218:20
src/hooks/useDMs.test.ts > useDMs > falls back to alias parsing and keeps the participant identity when profiles are missing: app/src/hooks/useDMs.test.ts#L158
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/hooks/useDMs.test.ts:158:17
src/hooks/useDMs.test.ts > useDMs > prefers shared DM metadata for unjoined DM discovery: app/src/hooks/useDMs.test.ts#L98
AssertionError: expected [] to deeply equal [ ObjectContaining{…} ] - Expected + Received - [ - ObjectContaining { - "contextId": "ctx-1", - "isJoined": false, - "otherIdentity": "member-you", - }, - ] + [] ❯ src/hooks/useDMs.test.ts:98:17
Playwright E2E
Process completed with exit code 1.
Typecheck & Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Typecheck & Lint: app/src/components/virtualized-chat/InputField/InputField.tsx#L145
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. Mutable values like 'quillRef.current' aren't valid dependencies because mutating them doesn't re-render the component
Typecheck & Lint: app/src/components/virtualized-chat/InputField/InputField.tsx#L129
React Hook useEffect has missing dependencies: 'props.discardChanges', 'props.isEditMode', 'props.value', 'sendMessage', and 'toolbarOptions'. Either include them or remove the dependency array
Typecheck & Lint: app/src/components/sideSelector/ChannelHeader.tsx#L162
React Hook useCallback has a missing dependency: 'groupId'. Either include it or remove the dependency array
Typecheck & Lint: app/src/components/settings/MemberDetails.tsx#L214
React Hook useCallback has a missing dependency: 'getNonInvitedUsers'. Either include it or remove the dependency array. If 'getNonInvitedUsers' changes too often, find the parent component that defines it and wrap that definition in useCallback
Typecheck & Lint: app/src/components/settings/MemberDetails.tsx#L210
React Hook useCallback has a missing dependency: 'nonInvitedUserList'. Either include it or remove the dependency array
Typecheck & Lint: app/src/components/popups/CreateWorkspacePopup.tsx#L204
React Hook useCallback has a missing dependency: 'onSuccess'. Either include it or remove the dependency array. If 'onSuccess' changes too often, find the parent component that defines it and wrap that definition in useCallback
Typecheck & Lint: app/src/components/popups/ChannelDetailsPopup.tsx#L106
React Hook useEffect has a missing dependency: 'getChannelMetadata'. Either include it or remove the dependency array
Typecheck & Lint: app/src/components/common/ToastManager.tsx#L82
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Typecheck & Lint: app/src/components/admin/ChannelsTab.tsx#L234
React Hook useEffect has a missing dependency: 'fetchGroupContexts'. Either include it or remove the dependency array
Typecheck & Lint: app/src/components/WebSocketStatus.tsx#L309
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright E2E
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
playwright-report
2.53 MB
sha256:3713c6689dd3cb23c6abb6a77e0a9c0477325c24deecaf6f8f2ab4de68f5c04a