-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Discover] Fix issue where KEEP
columns are not applied after Elasticsearch error
#205833
Conversation
}); | ||
await this.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.
This was failing while running my functional test because it tries to modify the Monaco editor after a refresh before it's initialized. I updated it to retry the whole update instead of just the check, and ran the FTR to be sure.
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7666[✅] test/functional/apps/discover/esql/config.ts: 50/50 tests passed. |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
cc @davismcphee |
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, tested locally , and now works as expected when initially, there's an ES error. Thx for fixing it so quickly 🏎️ 👍
Starting backport for target branches: 8.17, 8.x |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…icsearch error (elastic#205833) ## Summary This PR fixes an issue where columns are not applied correctly when using the ES|QL `KEEP` command after an Elasticsearch error has occurred. Fixes elastic#205353. ### Checklist - [ ] 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 - [x] [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. - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] 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) (cherry picked from commit 8eb326d) # Conflicts: # src/plugins/discover/public/application/main/hooks/use_esql_mode.ts # test/functional/services/monaco_editor.ts
Summary
This PR fixes an issue where columns are not applied correctly when using the ES|QL
KEEP
command after an Elasticsearch error has occurred.Fixes #205353.
Checklist
release_note:breaking
label should be applied in these situations.release_note:*
label is applied per the guidelines