Skip to content

[Frontend] Remove unused components #1561

[Frontend] Remove unused components

[Frontend] Remove unused components #1561

Triggered via push January 10, 2025 11:04
Status Failure
Total duration 10m 10s
Artifacts 2

staging.yaml

on: push
test  /  Check if new migrations have been added
2s
test / Check if new migrations have been added
test  /  Lint backend and frontend
1m 22s
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 8s
test / Check services run correctly
Build and release frontend
0s
Build and release frontend
Build and release backend
0s
Build and release backend
Report deployment success to the "oodikone_notifications" channel
0s
Report deployment success to the "oodikone_notifications" channel
Report deployment failure to the "oodikone_notifications" channel
6s
Report deployment failure to the "oodikone_notifications" channel
Fit to window
Zoom out
Zoom in

Annotations

1 error and 27 warnings
test / Test course statistics
Cypress tests: 2 failed
test / Check if new migrations have been added
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Build backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Build frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L44
React Hook useEffect has missing dependencies: 'id', 'initialTab', and 'location.search'. Either include them or remove the dependency array. If 'setTab' needs the current value of 'initialTab', you can also switch to useReducer instead of useState and read 'initialTab' in the reducer
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L48
React Hook useEffect has missing dependencies: 'didMount' and 'pushToUrl'. Either include them or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L80
React Hook useEffect has a missing dependency: 'id'. Either include it or remove the dependency array. If 'setSearchHistory' needs the current value of 'id', you can also switch to useReducer instead of useState and read 'id' in the reducer
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L86
React Hook useEffect has missing dependencies: 'didMount' and 'saveSearchHistory'. Either include them or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L151
React Hook useEffect has a missing dependency: 'delay'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L166
React Hook useEffect has a missing dependency: 'didMount'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L209
React Hook useCallback has a missing dependency: 'storedValue'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L231
React Hook useEffect has a missing dependency: 'innerValue'. Either include it or remove the dependency array
test / Lint backend and frontend: services/frontend/src/common/hooks.js#L248
React Hook useCallback has an unnecessary dependency: 'innerValue'. Either exclude it or remove the dependency array
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 / Check services run correctly
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test language center view
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test open uni search
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test custom population
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test study guidance groups
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test teachers and users
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test completed courses
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test faculty statistics
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test students
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test university
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test population statistics
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test filters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Test studyprogramme overview
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Report deployment failure to the "oodikone_notifications" channel
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
Cypress videos - Test course statistics
39.2 MB
backend-image
114 MB