Skip to content

fix: avoid reading from undefined error (DHIS2-17334) (#2970) #980

fix: avoid reading from undefined error (DHIS2-17334) (#2970)

fix: avoid reading from undefined error (DHIS2-17334) (#2970) #980

Triggered via push May 8, 2024 12:03
Status Success
Total duration 13m 22s
Artifacts 1
Matrix: e2e-prod
report-release-failure
0s
report-release-failure
report-release-success
0s
report-release-success
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: src/components/App.js#L46
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
lint: src/components/DashboardsBar/DashboardsBar.js#L56
React Hook useEffect has missing dependencies: 'onExpandedChanged', 'updateUserRows', and 'userRows'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/components/DashboardsBar/DashboardsBar.js#L60
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
lint: src/components/DashboardsBar/DashboardsBar.js#L65
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
lint: src/components/DashboardsBar/DashboardsBar.js#L72
React Hook useEffect has a missing dependency: 'userRows'. Either include it or remove the dependency array. Mutable values like 'userRowsChanged.current' aren't valid dependencies because mutating them doesn't re-render the component
lint: src/components/DashboardsBar/DashboardsBar.js#L87
React Hook useCallback has missing dependencies: 'memoizedCancelExpanded', 'onExpandedChanged', and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/components/DashboardsBar/DashboardsBar.js#L92
React Hook useCallback has missing dependencies: 'onExpandedChanged' and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/components/SystemSettingsProvider.js#L39
React Hook useEffect has a missing dependency: 'engine'. Either include it or remove the dependency array
lint: src/pages/edit/EditDashboard.js#L56
React Hook useEffect has missing dependencies: 'dataEngine', 'props', and 'width'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
lint: src/pages/edit/LayoutModal.js#L33
React Hook useEffect has a missing dependency: 'columns'. Either include it or remove the dependency array. If 'setCols' needs the current value of 'columns', you can also switch to useReducer instead of useState and read 'columns' in the reducer
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e-prod (4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, cypress-io/github-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e-prod (4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e-prod (4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e-prod (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, cypress-io/github-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e-prod (3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e-prod (3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e-prod (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, cypress-io/github-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e-prod (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e-prod (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e-prod (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, cypress-io/github-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
e2e-prod (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, cypress-io/github-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e-prod (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/download-artifact@v3, dhis2/action-semantic-release@master, dhis2/deploy-build@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
release
The following actions uses node12 which is deprecated and will be forced to run on node16: dhis2/action-semantic-release@master, dhis2/deploy-build@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
release
Failed to create the repo, probably exists, which is OK!
release
failed to create branch: dev
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "app-build". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
app-build Expired
27.9 MB