Skip to content

Update Vitest to v4 #5320

Update Vitest to v4

Update Vitest to v4 #5320

Triggered via pull request July 24, 2026 22:49
Status Failure
Total duration 6m 11s
Artifacts

pull_request.yml

on: pull_request
Build 🏗️  /  Run production build 🏗️
3m 14s
Build 🏗️ / Run production build 🏗️
Quality checks 👌🧪  /  Vulnerable dependencies 🔎
13s
Quality checks 👌🧪 / Vulnerable dependencies 🔎
Run eslint suggestions
2m 6s
Run eslint suggestions
Matrix: GitHub CodeQL 🔬 / analyze
Matrix: Quality checks 👌🧪 / quality
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 12 warnings, and 4 notices
Build 🏗️ / Run production build 🏗️
Process completed with exit code 1.
Quality checks 👌🧪 / Run build:check 🕵️‍♂️
Process completed with exit code 2.
Quality checks 👌🧪 / Run build:check 🕵️‍♂️: src/utils/events.test.ts#L56
Argument of type 'Mock<Procedure | Constructable>' is not assignable to parameter of type 'Callback'.
Quality checks 👌🧪 / Run build:check 🕵️‍♂️: src/utils/events.test.ts#L51
Argument of type 'Mock<Procedure | Constructable>' is not assignable to parameter of type 'Callback'.
Quality checks 👌🧪 / Run build:es-check 🕵️‍♂️
Process completed with exit code 1.
GitHub CodeQL 🔬 / Analyze javascript-typescript 🔬
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
OpenSSF Scorecard Warning
npm/js-tokens has an OpenSSF Scorecard of 2.9, which is less than this repository's threshold of 3.
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/users/components/Profile.tsx#L250
Refactor this code to not nest functions more than 4 levels deep
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/users/components/ParentalControl.tsx#L243
Refactor this code to not nest functions more than 4 levels deep
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/users/components/ParentalControl.tsx#L234
Refactor this code to not nest functions more than 4 levels deep
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/users/components/Access.tsx#L240
React Hook useEffect has a missing dependency: 'userId'. Either include it or remove the dependency array
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/users/components/Access.tsx#L142
React Hook useCallback has a missing dependency: 'libraryMenu'. Either include it or remove the dependency array
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/sessions/utils/getNowPlayingName.ts#L17
Take the required action to fix the issue indicated by this comment
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/features/logs/api/useServerLog.ts#L14
Take the required action to fix the issue indicated by this comment
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/components/widgets/ItemCountsWidget.tsx#L88
`Grid` is deprecated. Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/components/widgets/ItemCountsWidget.tsx#L80
`Grid` is deprecated. Use the [`Grid2`](https://mui.com/material-ui/react-grid2/) component instead
Quality checks 👌🧪 / Run lint 🕵️‍♂️: src/apps/dashboard/components/AppTabs.tsx#L56
Unexpected 'hack' comment: 'HACK: Force resizing to workaround...'
Run eslint suggestions
ESLint passes
Run eslint suggestions
Using ESLint with default configuration
Run eslint suggestions
ESLint version: 9.39.4
Run eslint suggestions
Using ESLint from: /home/runner/work/jellyfin-web/jellyfin-web/node_modules/eslint/lib/api.js