-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix infinite loading of APM alert table #161134
Fix infinite loading of APM alert table #161134
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
await PageObjects.timePicker.setCommonlyUsedTime('Last_15 minutes'); | ||
|
||
// Should show no data message | ||
await retry.try(async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a small test that fails before the fix to catch similar issues in future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/apm-ui (Team:APM) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the quick fix 🙏
Fixes elastic#161095 ## Summary This PR fixes triggering and immediately canceling /bsearch requests infinitely. (cherry picked from commit 023b23f)
Fixes elastic#161095 ## Summary This PR fixes triggering and immediately canceling /bsearch requests infinitely. (cherry picked from commit 023b23f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.9`: - [Fix infinite loading of APM alert table (#161134)](#161134) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Maryam Saeidi","email":"maryam.saeidi@elastic.co"},"sourceCommit":{"committedDate":"2023-07-04T09:54:02Z","message":"Fix infinite loading of APM alert table (#161134)\n\nFixes #161095\r\n\r\n## Summary\r\n\r\nThis PR fixes triggering and immediately canceling /bsearch requests\r\ninfinitely.","sha":"023b23f2a6a16612e48300494e66836d2c49c785","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:APM","backport:prev-minor","v8.10.0","v8.8.3"],"number":161134,"url":"#161134 infinite loading of APM alert table (#161134)\n\nFixes #161095\r\n\r\n## Summary\r\n\r\nThis PR fixes triggering and immediately canceling /bsearch requests\r\ninfinitely.","sha":"023b23f2a6a16612e48300494e66836d2c49c785"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"#161134 infinite loading of APM alert table (#161134)\n\nFixes #161095\r\n\r\n## Summary\r\n\r\nThis PR fixes triggering and immediately canceling /bsearch requests\r\ninfinitely.","sha":"023b23f2a6a16612e48300494e66836d2c49c785"}},{"branch":"8.8","label":"v8.8.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
Fixes #161095
Summary
This PR fixes triggering and immediately canceling /bsearch requests infinitely.