Skip to content

chore(deps): update dependency chartjs-plugin-annotation to v3 #25103

chore(deps): update dependency chartjs-plugin-annotation to v3

chore(deps): update dependency chartjs-plugin-annotation to v3 #25103

Triggered via pull request December 25, 2024 21:10
Status Failure
Total duration 3m 26s
Artifacts

build_frontend_prs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Unhandled error: frontend/node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js#L243
Error: chart.js v3.9.1 is not supported. v4.0 or newer is required. ❯ requireVersion node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js:243:15 ❯ Object.beforeRegister node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js:2845:5 ❯ callback node_modules/chart.js/dist/chart.js:53:15 ❯ Registry._exec node_modules/chart.js/dist/chart.js:6270:5 ❯ node_modules/chart.js/dist/chart.js:6259:14 ❯ Registry._each node_modules/chart.js/dist/chart.js:6256:15 ❯ Registry.add node_modules/chart.js/dist/chart.js:6214:10 ❯ Function.value [as register] node_modules/chart.js/dist/chart.js:7547:16 ❯ src/component/personalDashboard/FlagMetricsChart.tsx:304:9 This error originated in "src/component/personalDashboard/PersonalDashboard.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "Render personal dashboard for a long running project". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/component/personalDashboard/PersonalDashboard.test.tsx > Render personal dashboard for a long running project: frontend/src/component/personalDashboard/PersonalDashboard.test.tsx#L135
TestingLibraryElementError: Unable to find an element with the text: Got it, let's get started!. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ src/component/personalDashboard/PersonalDashboard.test.tsx:135:45
src/component/personalDashboard/PersonalDashboard.test.tsx > Render personal dashboard for a new project: frontend/node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js#L243
Error: chart.js v3.9.1 is not supported. v4.0 or newer is required. ❯ requireVersion node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js:243:15 ❯ Object.beforeRegister node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.esm.js:2845:5 ❯ callback node_modules/chart.js/dist/chart.js:53:15 ❯ Registry._exec node_modules/chart.js/dist/chart.js:6270:5 ❯ node_modules/chart.js/dist/chart.js:6259:14 ❯ Registry._each node_modules/chart.js/dist/chart.js:6256:15 ❯ Registry.add node_modules/chart.js/dist/chart.js:6214:10 ❯ Function.value [as register] node_modules/chart.js/dist/chart.js:7547:16 ❯ src/component/personalDashboard/FlagMetricsChart.tsx:304:9
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636