Skip to content

[ES 9.0] Remove body workaround (@elastic/observability-ui) #217219

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

afharo
Copy link
Member

@afharo afharo commented Apr 4, 2025

Summary

Follow up to #213375: The latest version of the ES client fixed the issue elastic/elasticsearch-js#2584.

We should be able to remove all usages of // @ts-expect-error [email protected] https://github.com/elastic/elasticsearch-js/issues/2584.

@afharo afharo self-assigned this Apr 4, 2025
@afharo afharo changed the title [ES 9.0] (Remove body workaround) @elastic/observability-ui [ES 9.0] Remove body workaround (@elastic/observability-ui) Apr 4, 2025
@afharo afharo added release_note:skip Skip the PR/issue when compiling release notes Team:Observability Team label for Observability Team (for things that are handled across all of observability) backport:skip This commit does not require backporting elasticsearch-js-9 Feature:elasticsearch labels Apr 4, 2025
@afharo afharo marked this pull request as ready for review April 4, 2025 21:22
@afharo afharo requested a review from a team as a code owner April 4, 2025 21:22
@elasticmachine
Copy link
Contributor

Pinging @elastic/unified-observability (Team:Observability)

@afharo afharo enabled auto-merge (squash) April 7, 2025 10:11
@afharo afharo merged commit 4f97072 into elastic:main Apr 7, 2025
10 checks passed
@afharo afharo deleted the es-9.0/remove-body-workaround/elastic/observability-ui branch April 7, 2025 13:25
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

cc @afharo

baileycash-elastic pushed a commit to baileycash-elastic/kibana that referenced this pull request Apr 7, 2025
…c#217219)

## Summary

Follow up to elastic#213375: The latest
version of the ES client fixed the issue
elastic/elasticsearch-js#2584.

We should be able to remove all usages of `// @ts-expect-error
[email protected]
https://github.com/elastic/elasticsearch-js/issues/2584`.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting elasticsearch-js-9 Feature:elasticsearch release_note:skip Skip the PR/issue when compiling release notes Team:Observability Team label for Observability Team (for things that are handled across all of observability) v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants