opensearch-project / dashboards-notifications

The Notifications plugin provides a central location for all of your notifications from OpenSearch plugins. You can use either OpenSearch Dashboards or the REST API to configure notifications. Dashboards offers a more organized way of selecting a channel type and selecting which OpenSearch plugin sources you want to use.
Apache License 2.0
9 stars 36 forks source link

[BUG] Cypress cache failed #170

Open Hailong-am opened 6 months ago

Hailong-am commented 6 months ago

What is the bug?

CI failed at cache cypress step with below error

Error: The template is not valid. .github/workflows/dashboards-notifications-test-and-build-workflow.yml (Line: 173, Col: 16): hashFiles('**/package.json') couldn't finish within 120 seconds.

An example:

https://github.com/opensearch-project/dashboards-notifications/actions/runs/8303801103/job/22728537631

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior? A clear and concise description of what you expected to happen.

What is your host/environment?

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

Do you have any additional context?

https://github.com/actions/runner/issues/1840

fcientymeh commented 4 months ago

The problem seems to be in lost folders in ./cypress directory: screenshots and videos. I fixed this in PR https://github.com/opensearch-project/dashboards-notifications/pull/200/commits/7e9add7439655e8ded747d39fbaa862600580405.

with another PR: https://github.com/opensearch-project/dashboards-notifications/pull/200

Can someone look at this, please?