Skip to content

feat: active user state management and token refreshing #661

feat: active user state management and token refreshing

feat: active user state management and token refreshing #661

Triggered via pull request December 6, 2024 06:09
Status Failure
Total duration 1m 20s
Artifacts

build-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 11 warnings
Build and Test: app/src/context/authStore.tsx#L93
Expected '!==' and instead saw '!='
Build and Test: app/src/gui/components/notebook/add_record_by_type.tsx#L59
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build and Test: app/src/gui/components/notebook/delete.tsx#L104
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build and Test: app/src/gui/components/notebook/record_table.tsx#L550
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build and Test: app/src/gui/fields/RelatedRecordSelector.tsx#L137
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
Build and Test
@faims3/app#lint: command (/home/runner/work/FAIMS3/FAIMS3/app) /opt/hostedtoolcache/node/20.9.0/x64/bin/npm run lint exited (1)
Build and Test
Process completed with exit code 1.
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test: library/data-model/src/index.ts#L150
Replace `contents,·project_id,·record_metadata` with `⏎······contents,⏎······project_id,⏎······record_metadata⏎····`
Build and Test: app/src/Test.tsx#L237
Replace `{servers,·activeConnection:·activeUser,·refreshError,·isAuthenticated},·null,·2` with `⏎············{⏎··············servers,⏎··············activeConnection:·activeUser,⏎··············refreshError,⏎··············isAuthenticated,⏎············},⏎············null,⏎············2⏎··········`
Build and Test: app/src/context/functions.tsx#L8
'ObjectMap' is defined but never used
Build and Test: app/src/databaseAccess.tsx#L32
Replace `·ListingsObject·` with `ListingsObject`
Build and Test: app/src/databaseAccess.tsx#L33
Replace `·getAllListings·` with `getAllListings`
Build and Test: app/src/databaseAccess.tsx#L34
Replace `·events·` with `events`
Build and Test: app/src/gui/components/authentication/auth_return.tsx#L106
Replace `"Login·function"` with `'Login·function'`