Skip to content

Conversation

@crespocarlos
Copy link
Contributor

@crespocarlos crespocarlos commented Dec 16, 2025

Summary

An unnecessary await was added when calling the createSearchClient function in #246438

This PR removes it.

@crespocarlos crespocarlos changed the title [Infra] fix: unecessary await [Infra] remove unecessary await Dec 16, 2025
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@crespocarlos crespocarlos changed the title [Infra] remove unecessary await [Infra] remove unnecessary await Dec 17, 2025
@crespocarlos crespocarlos added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.1.0 v8.19.0 v9.2.0 Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation v9.3.0 labels Dec 17, 2025
@crespocarlos crespocarlos marked this pull request as ready for review December 17, 2025 09:10
@crespocarlos crespocarlos requested a review from a team as a code owner December 17, 2025 09:10
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-presentation-team (Team:obs-presentation)

@crespocarlos
Copy link
Contributor Author

@elasticmachine merge upstream

@crespocarlos crespocarlos enabled auto-merge (squash) December 19, 2025 11:13
@crespocarlos crespocarlos merged commit bb942ae into elastic:main Dec 19, 2025
13 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1, 9.2, 9.3

https://github.com/elastic/kibana/actions/runs/20371607058

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 19, 2025
## Summary

An unnecessary `await` was added when calling the `createSearchClient`
function in elastic#246438

This PR removes it.

(cherry picked from commit bb942ae)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 19, 2025
## Summary

An unnecessary `await` was added when calling the `createSearchClient`
function in elastic#246438

This PR removes it.

(cherry picked from commit bb942ae)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 19, 2025
## Summary

An unnecessary `await` was added when calling the `createSearchClient`
function in elastic#246438

This PR removes it.

(cherry picked from commit bb942ae)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 19, 2025
## Summary

An unnecessary `await` was added when calling the `createSearchClient`
function in elastic#246438

This PR removes it.

(cherry picked from commit bb942ae)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1
9.2
9.3

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Dec 19, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[Infra] remove unnecessary await
(#246578)](#246578)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-12-19T13:34:19Z","message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:obs-presentation"],"title":"[Infra]
remove unnecessary
await","number":246578,"url":"https://github.com/elastic/kibana/pull/246578","mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/246578","number":246578,"mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}}]}] BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Dec 19, 2025
# Backport

This will backport the following commits from `main` to `9.2`:
- [[Infra] remove unnecessary await
(#246578)](#246578)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-12-19T13:34:19Z","message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:obs-presentation"],"title":"[Infra]
remove unnecessary
await","number":246578,"url":"https://github.com/elastic/kibana/pull/246578","mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/246578","number":246578,"mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}}]}] BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Dec 19, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[Infra] remove unnecessary await
(#246578)](#246578)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-12-19T13:34:19Z","message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:obs-presentation"],"title":"[Infra]
remove unnecessary
await","number":246578,"url":"https://github.com/elastic/kibana/pull/246578","mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/246578","number":246578,"mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}}]}] BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Dec 19, 2025
# Backport

This will backport the following commits from `main` to `9.3`:
- [[Infra] remove unnecessary await
(#246578)](#246578)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-12-19T13:34:19Z","message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.3.0","v9.4.0","Team:obs-presentation"],"title":"[Infra]
remove unnecessary
await","number":246578,"url":"https://github.com/elastic/kibana/pull/246578","mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.2","9.3"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/246578","number":246578,"mergeCommit":{"message":"[Infra]
remove unnecessary await (#246578)\n\n## Summary\n\nAn unnecessary
`await` was added when calling the `createSearchClient`\nfunction in
https://github.com/elastic/kibana/pull/246438\n\nThis PR removes
it.","sha":"bb942ae9983b152669cc9552bd0df28f9e55469c"}}]}] BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Jan 6, 2026
## Summary

An unnecessary `await` was added when calling the `createSearchClient`
function in elastic#246438

This PR removes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:obs-presentation Focus: APM UI, Infra UI, Hosts UI, Universal Profiling, Obs Overview and left Navigation v8.19.0 v8.19.9 v9.1.0 v9.1.9 v9.2.0 v9.2.3 v9.3.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants