Skip to content

[APM] Fix cypress memory issue due to log panel#167623

Merged
achyutjhunjhunwala merged 4 commits intoelastic:mainfrom
achyutjhunjhunwala:fix-cypress-runner-issue-with-memory
Sep 29, 2023
Merged

[APM] Fix cypress memory issue due to log panel#167623
achyutjhunjhunwala merged 4 commits intoelastic:mainfrom
achyutjhunjhunwala:fix-cypress-runner-issue-with-memory

Conversation

@achyutjhunjhunwala
Copy link
Copy Markdown
Contributor

Summary

Recent EUI bump from v88.3.0 to v88.5.0 increased the memory usage significantly. Due to which Cypress Tests started failing due to browser crashing with memory limits. EUI team has been informed about this.

As reverting EUI is not a simple change, disabling the Cypress Log panel solves the problem for now. Details can be found here

This brings change to how we run the Cypress Test in Head Mode

Before

image

After

image (1)

@achyutjhunjhunwala achyutjhunjhunwala added Team:APM - DEPRECATED Use Team:obs-ux-infra_services. release_note:skip Skip the PR/issue when compiling release notes labels Sep 29, 2023
@achyutjhunjhunwala achyutjhunjhunwala requested a review from a team September 29, 2023 10:57
@achyutjhunjhunwala achyutjhunjhunwala self-assigned this Sep 29, 2023
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/apm-ui (Team:APM)

@ghost
Copy link
Copy Markdown

ghost commented Sep 29, 2023

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@achyutjhunjhunwala achyutjhunjhunwala enabled auto-merge (squash) September 29, 2023 12:15
@achyutjhunjhunwala achyutjhunjhunwala merged commit 2047a55 into elastic:main Sep 29, 2023
@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @achyutjhunjhunwala

@kibanamachine kibanamachine added v8.11.0 backport:skip This PR does not require backporting labels Sep 29, 2023
@achyutjhunjhunwala achyutjhunjhunwala deleted the fix-cypress-runner-issue-with-memory branch September 29, 2023 14:33
achyutjhunjhunwala added a commit that referenced this pull request Oct 2, 2023
## Summary

As part of this [PR](#167623),
added a logic to handle hiding of Logs Panels which was consuming a lot
of memory.

With [Cypress Upgrade](#162383) to
13.x, this issue is now fixed and hence this can be reverted.

## How to be sure this works ?
If the PR passes the build, you know it works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:APM - DEPRECATED Use Team:obs-ux-infra_services. v8.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants