Skip to content

[Teachers] Move access checking to access utils #1631

[Teachers] Move access checking to access utils

[Teachers] Move access checking to access utils #1631

Triggered via push February 21, 2025 12:25
Status Success
Total duration 11m 19s
Artifacts 1

staging.yaml

on: push
test  /  Check if new migrations have been added
5s
test / Check if new migrations have been added
test  /  Lint backend and frontend
1m 29s
test / Lint backend and frontend
test  /  Build anon sis-db and push to toska hub if new migrations have been added
0s
test / Build anon sis-db and push to toska hub if new migrations have been added
test  /  Build anon kone-db and push to toska hub if new migrations have been added
0s
test / Build anon kone-db and push to toska hub if new migrations have been added
test  /  Build anon user-db and push to toska hub if new migrations have been added
0s
test / Build anon user-db and push to toska hub if new migrations have been added
Matrix: test / test_end_to_end
test  /  Check services run correctly
2m 5s
test / Check services run correctly
Build and release frontend
1m 37s
Build and release frontend
Build and release backend
49s
Build and release backend
Report deployment success to the "oodikone_notifications" channel
5s
Report deployment success to the "oodikone_notifications" channel
Report deployment failure to the "oodikone_notifications" channel
0s
Report deployment failure to the "oodikone_notifications" channel
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/FacultiesTab/index.jsx#L39
React Hook useMemo has a missing dependency: 'selectedSemesters'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/FacultiesTab/index.jsx#L65
React Hook useMemo has a missing dependency: 'totalRow'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/index.jsx#L51
React Hook useEffect has a missing dependency: 'semesterFilter'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/ColorizedCoursesTable/selectorComponents.jsx#L76
React Hook useMemo has a missing dependency: 'getTextIn'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L37
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L44
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L51
React Hook useEffect has a missing dependency: 'searchList'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/CustomOpenUniSearch.jsx#L84
React Hook useEffect has missing dependencies: 'parseQueryFromUrl' and 'setValues'. Either include them or remove the dependency array. If 'setValues' changes too often, find the parent component that defines it and wrap that definition in useCallback
test / Lint backend and frontend: services/frontend/src/components/CustomOpenUniPopulation/OpenUniPopulationResults/index.jsx#L232
React Hook useEffect has missing dependencies: 'getTextIn', 'isError', and 'isFetchingOrLoading'. Either include them or remove the dependency array
test / Lint backend and frontend: services/frontend/src/components/CustomPopulation/index.jsx#L44
The 'allSemesters' logical expression could make the dependencies of useMemo Hook (at line 84) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'allSemesters' in its own useMemo() Hook

Artifacts

Produced during runtime
Name Size
backend-image
115 MB