-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Dashboard] Remove unncessary promises #230313
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
Conversation
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
nreese
left a comment
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 moving this into is own PR
code review only
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
|
Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16732202585 |
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all. (cherry picked from commit edb3fa8)
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all. (cherry picked from commit edb3fa8)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Starting backport for target branches: 8.19, 9.1 https://github.com/elastic/kibana/actions/runs/16733311989 |
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all. (cherry picked from commit edb3fa8)
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all. (cherry picked from commit edb3fa8)
💚 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 `9.1`: - [[Dashboard] Remove unncessary promises (#230313)](#230313) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nick Peihl","email":"nick.peihl@elastic.co"},"sourceCommit":{"committedDate":"2025-08-04T19:21:20Z","message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","backport:all-open","v9.2.0"],"title":"[Dashboard] Remove unncessary promises","number":230313,"url":"https://github.com/elastic/kibana/pull/230313","mergeCommit":{"message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230313","number":230313,"mergeCommit":{"message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715"}}]}] BACKPORT--> Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
# Backport This will backport the following commits from `main` to `8.19`: - [[Dashboard] Remove unncessary promises (#230313)](#230313) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Nick Peihl","email":"nick.peihl@elastic.co"},"sourceCommit":{"committedDate":"2025-08-04T19:21:20Z","message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","backport:all-open","v9.2.0"],"title":"[Dashboard] Remove unncessary promises","number":230313,"url":"https://github.com/elastic/kibana/pull/230313","mergeCommit":{"message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230313","number":230313,"mergeCommit":{"message":"[Dashboard] Remove unncessary promises (#230313)\n\n## Summary\n\nRemoves unnecessary promises in DashboardStorage class. \n\nAll of the functions are synchronous so we don't need to await or wrap\nin Promise.all.","sha":"edb3fa8fcf8ec473e061a90305e9f222ecaa2715"}}]}] BACKPORT--> Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all.
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all.
## Summary Removes unnecessary promises in DashboardStorage class. All of the functions are synchronous so we don't need to await or wrap in Promise.all.
Summary
Removes unnecessary promises in DashboardStorage class.
All of the functions are synchronous so we don't need to await or wrap in Promise.all.