Skip to content

Optimize data loading with Tanstack query #217

Optimize data loading with Tanstack query

Optimize data loading with Tanstack query #217

Triggered via pull request November 29, 2025 11:58
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

40 errors, 25 warnings, and 1 notice
Testing on ubuntu-24.04 with Node.js 22
Process completed with exit code 1.
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L280
Switch is not exhaustive. Cases not matched: "asset" | "collection" | "entry"
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L254
'projectId' is assigned a value but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L12
'EntryDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L9
'DiffContainer' is defined but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L7
'CollectionDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L6
'AssetInfo' is defined but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/routes/projects/$projectId/collections/index.tsx#L1
'redirect' is defined but never used. Allowed unused vars must match /^_/u
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/user-header.tsx#L85
Unnecessary conditional, value is always falsy
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/asset-info.tsx#L87
React Hook "useMutation" is called in function "onAssetUpdate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
Testing on macos-15 with Node.js 22
Process completed with exit code 1.
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L280
Switch is not exhaustive. Cases not matched: "asset" | "collection" | "entry"
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L254
'projectId' is assigned a value but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L12
'EntryDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L9
'DiffContainer' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L7
'CollectionDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L6
'AssetInfo' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/routes/projects/$projectId/collections/index.tsx#L1
'redirect' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-15 with Node.js 22: src/renderer/components/user-header.tsx#L85
Unnecessary conditional, value is always falsy
Testing on macos-15 with Node.js 22: src/renderer/components/asset-info.tsx#L87
React Hook "useMutation" is called in function "onAssetUpdate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
Testing on windows-2025 with Node.js 22
Process completed with exit code 1.
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L280
Switch is not exhaustive. Cases not matched: "asset" | "collection" | "entry"
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L254
'projectId' is assigned a value but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L12
'EntryDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L9
'DiffContainer' is defined but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L7
'CollectionDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L6
'AssetInfo' is defined but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/routes/projects/$projectId/collections/index.tsx#L1
'redirect' is defined but never used. Allowed unused vars must match /^_/u
Testing on windows-2025 with Node.js 22: src/renderer/components/user-header.tsx#L85
Unnecessary conditional, value is always falsy
Testing on windows-2025 with Node.js 22: src/renderer/components/asset-info.tsx#L87
React Hook "useMutation" is called in function "onAssetUpdate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
Testing on macos-13 with Node.js 22
Process completed with exit code 1.
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L280
Switch is not exhaustive. Cases not matched: "asset" | "collection" | "entry"
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L254
'projectId' is assigned a value but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L12
'EntryDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L9
'DiffContainer' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L7
'CollectionDiff' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/history/$commitHash.tsx#L6
'AssetInfo' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/routes/projects/$projectId/collections/index.tsx#L1
'redirect' is defined but never used. Allowed unused vars must match /^_/u
Testing on macos-13 with Node.js 22: src/renderer/components/user-header.tsx#L85
Unnecessary conditional, value is always falsy
Testing on macos-13 with Node.js 22: src/renderer/components/asset-info.tsx#L87
React Hook "useMutation" is called in function "onAssetUpdate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
Testing on ubuntu-24.04 with Node.js 22: src/renderer/queries/options.ts#L59
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/asset-display.tsx#L94
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/asset-display.tsx#L93
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/asset-display.tsx#L79
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on ubuntu-24.04 with Node.js 22: src/renderer/components/asset-display.tsx#L78
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-15 with Node.js 22: src/renderer/queries/options.ts#L59
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Testing on macos-15 with Node.js 22: src/renderer/components/asset-display.tsx#L94
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-15 with Node.js 22: src/renderer/components/asset-display.tsx#L93
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-15 with Node.js 22: src/renderer/components/asset-display.tsx#L79
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-15 with Node.js 22: src/renderer/components/asset-display.tsx#L78
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-13 with Node.js 22: src/renderer/queries/options.ts#L59
Unexpected nullable string value in conditional. Please handle the nullish/empty cases explicitly
Testing on macos-13 with Node.js 22: src/renderer/components/asset-display.tsx#L94
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-13 with Node.js 22: src/renderer/components/asset-display.tsx#L93
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-13 with Node.js 22: src/renderer/components/asset-display.tsx#L79
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-13 with Node.js 22: src/renderer/components/asset-display.tsx#L78
Unexpected nullable boolean value in conditional. Please handle the nullish case explicitly
Testing on macos-13 with Node.js 22
The macOS-13 based runner images are being deprecated, consider switching to macOS-15 (macos-15-intel) or macOS 15 arm64 (macos-latest) instead. For more details see https://github.com/actions/runner-images/issues/13046