Skip to content

[ENG-1828] Migrate to new Cloud Services API #10039

[ENG-1828] Migrate to new Cloud Services API

[ENG-1828] Migrate to new Cloud Services API #10039

Triggered via pull request October 7, 2024 22:51
Status Failure
Total duration 39m 4s
Artifacts 2

ci.yml

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

Annotations

14 errors and 12 warnings
Type and style check
Property 'uuid' does not exist on type 'CloudLibrary'.
Type and style check
Type '{ data: CloudLibrary; navigation: NavigationProp<RootStackParamList>; modalRef: RefObject<BottomSheetModalMethods>; }' is not assignable to type 'IntrinsicAttributes & Props'.
Type and style check
Module '"@sd/client"' has no exported member 'CloudInstance'.
Type and style check
Argument of type '["cloud.library.sync"]' is not assignable to parameter of type '"backups.backup" | "cloud.libraries.create" | "cloud.libraries.delete" | "cloud.libraries.update" | "cloud.syncGroups.create" | "ephemeralFiles.copyFiles" | "ephemeralFiles.createFile" | ... 47 more ... | [...]'.
Type and style check
Property 'instances' does not exist on type 'CloudLibrary'.
Type and style check
Parameter 'instance' implicitly has an 'any' type.
Type and style check
Property 'instances' does not exist on type 'CloudLibrary'.
Type and style check
Parameter 'instance' implicitly has an 'any' type.
Type and style check
Type '"cloud.library.get"' is not assignable to type '"tags.list" | "files.get" | "files.getMediaData" | "files.getPath" | "jobs.isActive" | "jobs.reports" | "labels.count" | "labels.get" | "labels.getForObject" | "labels.getWithObjects" | ... 21 more ... | "tags.getWithObjects"'.
Type and style check
Argument of type '["cloud.library.create"]' is not assignable to parameter of type '"backups.backup" | "cloud.libraries.create" | "cloud.libraries.delete" | "cloud.libraries.update" | "cloud.syncGroups.create" | "ephemeralFiles.copyFiles" | "ephemeralFiles.createFile" | ... 47 more ... | [...]'.
ESLint: interface/app/$libraryId/settings/node/libraries/DeleteDeviceDialog.tsx#L63
Expected an assignment or function call and instead saw an expression
ESLint
@sd/interface#lint: command (/home/runner/work/spacedrive/spacedrive/interface) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
ESLint
Process completed with exit code 1.
Cypress
The process '/usr/bin/env' failed with exit code 1
ESLint: apps/mobile/src/components/overview/Devices.tsx#L64
React Hook useEffect has a missing dependency: 'devices'. Either include it or remove the dependency array
ESLint: apps/mobile/src/screens/BackfillWaiting.tsx#L58
React Hook useEffect has a missing dependency: 'enableSync'. Either include it or remove the dependency array
ESLint: interface/app/$libraryId/Explorer/FilePath/Original.tsx#L85
Invalid Tailwind CSS classnames order
ESLint: interface/app/$libraryId/Explorer/View/MediaView/index.tsx#L165
React Hook useMemo has a missing dependency: 'dateFormat'. Either include it or remove the dependency array
ESLint: interface/app/$libraryId/Explorer/View/ViewItem.tsx#L194
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array
ESLint: interface/app/$libraryId/overview/index.tsx#L45
React Hook useEffect has a missing dependency: 'cloudDevicesList'. Either include it or remove the dependency array
ESLint: interface/app/$libraryId/settings/client/account/Profile.tsx#L55
React Hook useEffect has a missing dependency: 'devices'. Either include it or remove the dependency array
ESLint: interface/app/$libraryId/settings/library/locations/AddLocationButton.tsx#L74
Invalid Tailwind CSS classnames order
Clippy (macos-14)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy (ubuntu-22.04)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy (macos-13)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
cypress-screenshots
397 KB
cypress-videos
1.72 MB