Skip to content

[UI] EVEREST-1647 Restrict selectable hours for PSMDB db with monthly schedule #1683

[UI] EVEREST-1647 Restrict selectable hours for PSMDB db with monthly schedule

[UI] EVEREST-1647 Restrict selectable hours for PSMDB db with monthly schedule #1683

Triggered via pull request January 20, 2025 16:05
Status Failure
Total duration 6m 50s
Artifacts

dev-fe-gatekeeper.yaml

on: pull_request
Cache PNPM
17s
Cache PNPM
permission_checks
4s
permission_checks
E2E_tests_workflow  /  e2e
6m 14s
E2E_tests_workflow / e2e
Matrix: CI_checks
Merge Gatekeeper
17s
Merge Gatekeeper
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 15 warnings
CI_checks (test)
@percona/everest#test: command (/home/runner/work/everest/everest/ui/apps/everest) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/components/time-selection/time-selection.test.tsx > TimeSelection > should render hours related field when clicked on hours field: ui/apps/everest/src/components/time-selection/time-selection.tsx#L61
ReferenceError: isFirstDayOfTheMonthAndPozitiveOffset is not defined ❯ TimeSelection src/components/time-selection/time-selection.tsx:61:5 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/components/time-selection/time-selection.test.tsx > TimeSelection > should render days related field when clicked on days field: ui/apps/everest/src/components/time-selection/time-selection.tsx#L61
ReferenceError: isFirstDayOfTheMonthAndPozitiveOffset is not defined ❯ TimeSelection src/components/time-selection/time-selection.tsx:61:5 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/components/time-selection/time-selection.test.tsx > TimeSelection > should render weeks related field when clicked on weeks field: ui/apps/everest/src/components/time-selection/time-selection.tsx#L61
ReferenceError: isFirstDayOfTheMonthAndPozitiveOffset is not defined ❯ TimeSelection src/components/time-selection/time-selection.tsx:61:5 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25789:22
src/components/time-selection/time-selection.test.tsx > TimeSelection > should render months related field when clicked on months field: ui/apps/everest/src/components/time-selection/time-selection.tsx#L61
ReferenceError: isFirstDayOfTheMonthAndPozitiveOffset is not defined ❯ TimeSelection src/components/time-selection/time-selection.tsx:61:5 ❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25889:20 ❯ performConcurrentWorkOnRoot ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25789:22
CI_checks (test)
Process completed with exit code 2.
CI_checks (build)
The job was canceled because "test" failed.
CI_checks (build)
Cannot find name 'isFirstDayOfTheMonthAndPozitiveOffset'. Did you mean 'isFirstDayOfTheMonthAndPositiveOffset'?
CI_checks (build)
@percona/everest#build: command (/home/runner/work/everest/everest/ui/apps/everest) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
CI_checks (build)
The operation was canceled.
E2E_tests_workflow / e2e
Cannot find name 'isFirstDayOfTheMonthAndPozitiveOffset'. Did you mean 'isFirstDayOfTheMonthAndPositiveOffset'?
E2E_tests_workflow / e2e
@percona/everest#build: command (/home/runner/work/everest/everest/ui/apps/everest) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
E2E_tests_workflow / e2e
Process completed with exit code 2.
CI_checks (lint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI_checks (lint): ui/packages/design/src/themes/base/BaseTheme.tsx#L106
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
CI_checks (lint): ui/packages/ui-lib/src/table/usePersistentColumnVisibility.ts#L45
React Hook useEffect has a missing dependency: 'key'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L192
React Hook useEffect has missing dependencies: 'cpuInputName', 'diskInputName', 'memoryInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L200
React Hook useEffect has a missing dependency: 'diskInputName'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L209
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L219
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L228
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/protected-route/ProtectedRoute.tsx#L19
React Hook useEffect has missing dependencies: 'location.pathname' and 'setRedirectRoute'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/schedule-form-dialog/schedule-form-wrapper/schedule-form-wrapper.tsx#L62
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/time-selection/time-selection.tsx#L54
React Hook useEffect has a missing dependency: 'isFirstDayOfTheMonthAndPositiveOffset'. Either include it or remove the dependency array. Outer scope values like 'isFirstDayOfTheMonthAndPozitiveOffset' aren't valid dependencies because mutating them doesn't re-render the component
CI_checks (format)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI_checks (test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E_tests_workflow / e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E_tests_workflow / e2e
No files were found with the provided path: ui/apps/everest/.e2e/playwright-report/. No artifacts will be uploaded.