Skip to content

MAT-9814: fix Shared Measures unshare targeting wrong user #617

MAT-9814: fix Shared Measures unshare targeting wrong user

MAT-9814: fix Shared Measures unshare targeting wrong user #617

Triggered via pull request August 4, 2026 20:15
Status Success
Total duration 2m 43s
Artifacts 1

unit_test_coverage.yml

on: pull_request
Matrix: Checkout, install, lint, build and test with coverage
Upload code coverage to Codacy
8s
Upload code coverage to Codacy
Upload code coverage to Codecov
7s
Upload code coverage to Codecov
Fit to window
Zoom out
Zoom in

Annotations

32 warnings
Checkout, install, lint, build and test with coverage (22)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Checkout, install, lint, build and test with coverage (22): src/hooks/useOwnerName.ts#L32
React Hook useEffect has a missing dependency: 'userServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L50
React Hook useEffect has a missing dependency: 'getHumanReadable'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L45
React Hook useCallback has a missing dependency: 'measureServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/transferDialog/TransferDialog.tsx#L131
React Hook useEffect has a missing dependency: 'formik'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L634
React Hook useEffect has a missing dependency: 'onRowSelectionChange'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L604
React Hook useMemo has an unnecessary dependency: 'measures'. Either exclude it or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L355
React Hook useCallback has missing dependencies: 'measureServiceApi', 'measures', and 'table'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L172
The 'updateUnsharedMeasuresRequest' function makes the dependencies of useCallback Hook (at line 448) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'updateUnsharedMeasuresRequest' in its own useCallback() Hook
Checkout, install, lint, build and test with coverage (22): src/components/measureActions/dialogs/compareVersionsDialog/HumanReadableDiffViewer.tsx#L49
React Hook useCallback has a missing dependency: 'setDifferences'. Either include it or remove the dependency array. If 'setDifferences' changes too often, find the parent component that defines it and wrap that definition in useCallback
Checkout, install, lint, build and test with coverage (20)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Checkout, install, lint, build and test with coverage (20): src/hooks/useOwnerName.ts#L32
React Hook useEffect has a missing dependency: 'userServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L50
React Hook useEffect has a missing dependency: 'getHumanReadable'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L45
React Hook useCallback has a missing dependency: 'measureServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/transferDialog/TransferDialog.tsx#L131
React Hook useEffect has a missing dependency: 'formik'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L634
React Hook useEffect has a missing dependency: 'onRowSelectionChange'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L604
React Hook useMemo has an unnecessary dependency: 'measures'. Either exclude it or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L355
React Hook useCallback has missing dependencies: 'measureServiceApi', 'measures', and 'table'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L172
The 'updateUnsharedMeasuresRequest' function makes the dependencies of useCallback Hook (at line 448) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'updateUnsharedMeasuresRequest' in its own useCallback() Hook
Checkout, install, lint, build and test with coverage (20): src/components/measureActions/dialogs/compareVersionsDialog/HumanReadableDiffViewer.tsx#L49
React Hook useCallback has a missing dependency: 'setDifferences'. Either include it or remove the dependency array. If 'setDifferences' changes too often, find the parent component that defines it and wrap that definition in useCallback
Checkout, install, lint, build and test with coverage (18)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Checkout, install, lint, build and test with coverage (18): src/hooks/useOwnerName.ts#L32
React Hook useEffect has a missing dependency: 'userServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L50
React Hook useEffect has a missing dependency: 'getHumanReadable'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/viewHumanReadableModal/ViewHRModal.tsx#L45
React Hook useCallback has a missing dependency: 'measureServiceApi'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/transferDialog/TransferDialog.tsx#L131
React Hook useEffect has a missing dependency: 'formik'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L634
React Hook useEffect has a missing dependency: 'onRowSelectionChange'. Either include it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L604
React Hook useMemo has an unnecessary dependency: 'measures'. Either exclude it or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L355
React Hook useCallback has missing dependencies: 'measureServiceApi', 'measures', and 'table'. Either include them or remove the dependency array
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/shareDialog/ShareDialog.tsx#L172
The 'updateUnsharedMeasuresRequest' function makes the dependencies of useCallback Hook (at line 448) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'updateUnsharedMeasuresRequest' in its own useCallback() Hook
Checkout, install, lint, build and test with coverage (18): src/components/measureActions/dialogs/compareVersionsDialog/HumanReadableDiffViewer.tsx#L49
React Hook useCallback has a missing dependency: 'setDifferences'. Either include it or remove the dependency array. If 'setDifferences' changes too often, find the parent component that defines it and wrap that definition in useCallback
Upload code coverage to Codecov
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/download-artifact@v4, codecov/codecov-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Upload code coverage to Codacy
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/download-artifact@v4. 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
coverage
11.4 KB
sha256:2f7bb68c9927e72ba2771783374756082a8845e26675cbaa45d1f09e4a70bb15