Skip to content
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

[Search][Configuration] Remove Enterprise Search node values #208856

Conversation

TattdCodeMonkey
Copy link
Contributor

@TattdCodeMonkey TattdCodeMonkey commented Jan 29, 2025

Summary

This removes the config values associated with the enterprise search node.

Checklist

@TattdCodeMonkey TattdCodeMonkey requested review from a team as code owners January 29, 2025 22:49
@TattdCodeMonkey TattdCodeMonkey added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting v9.0.0 Team:Search labels Jan 29, 2025
Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@TattdCodeMonkey TattdCodeMonkey force-pushed the search/remove-ent-search-config-values branch from bca7c0d to 7b05515 Compare January 29, 2025 22:59
Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker LGTM

Copy link
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

Added a comment for deprecations. It is fine to decide on them later.

@TattdCodeMonkey TattdCodeMonkey force-pushed the search/remove-ent-search-config-values branch from 7b05515 to 3c15c7c Compare January 30, 2025 01:25
@TattdCodeMonkey TattdCodeMonkey added backport:version Backport to applied version labels v9.1.0 and removed backport:skip This commit does not require backporting labels Jan 30, 2025
@TattdCodeMonkey TattdCodeMonkey enabled auto-merge (squash) January 30, 2025 15:08
@TattdCodeMonkey TattdCodeMonkey force-pushed the search/remove-ent-search-config-values branch from 4094fe4 to a4d5a4d Compare January 30, 2025 16:28
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #15 / CustomFieldsForm renders text as default custom field type

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
enterpriseSearch 5 4 -1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
enterpriseSearch 38.4KB 38.3KB -131.0B
Unknown metric groups

API count

id before after diff
enterpriseSearch 5 4 -1

ESLint disabled line counts

id before after diff
enterpriseSearch 10 11 +1

Total ESLint disabled count

id before after diff
enterpriseSearch 11 12 +1

History

@TattdCodeMonkey TattdCodeMonkey merged commit 26fac70 into elastic:main Jan 30, 2025
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
9.1 The branch "9.1" does not exist

Manual backport

To create the backport manually run:

node scripts/backport --pr 208856

Questions ?

Please refer to the Backport tool documentation

TattdCodeMonkey added a commit to TattdCodeMonkey/kibana that referenced this pull request Jan 31, 2025
…#208856)

## Summary

This removes the config values associated with the enterprise search
node.

### 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
- [x] 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)

(cherry picked from commit 26fac70)
@TattdCodeMonkey
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.0

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

Questions ?

Please refer to the Backport tool documentation

TattdCodeMonkey added a commit to TattdCodeMonkey/kibana that referenced this pull request Jan 31, 2025
…#208856)

## Summary

This removes the config values associated with the enterprise search
node.

### 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
- [x] 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)

(cherry picked from commit 26fac70)
TattdCodeMonkey added a commit to TattdCodeMonkey/kibana that referenced this pull request Feb 3, 2025
…#208856)

## Summary

This removes the config values associated with the enterprise search
node.

### 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
- [x] 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)

(cherry picked from commit 26fac70)
TattdCodeMonkey added a commit that referenced this pull request Feb 3, 2025
…208856) (#209147)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Search][Configuration] Remove Enterprise Search node values
(#208856)](#208856)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-30T19:28:26Z","message":"[Search][Configuration]
Remove Enterprise Search node values (#208856)\n\n## Summary\r\n\r\nThis
removes the config values associated with the enterprise
search\r\nnode.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)","sha":"26fac70c9b82d65de1b93acf6be4d28503fb9f6a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:version","v9.1.0"],"title":"[Search][Configuration]
Remove Enterprise Search node
values","number":208856,"url":"https://github.com/elastic/kibana/pull/208856","mergeCommit":{"message":"[Search][Configuration]
Remove Enterprise Search node values (#208856)\n\n## Summary\r\n\r\nThis
removes the config values associated with the enterprise
search\r\nnode.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)","sha":"26fac70c9b82d65de1b93acf6be4d28503fb9f6a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208856","number":208856,"mergeCommit":{"message":"[Search][Configuration]
Remove Enterprise Search node values (#208856)\n\n## Summary\r\n\r\nThis
removes the config values associated with the enterprise
search\r\nnode.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] If a plugin
configuration key changed, check if it needs to be\r\nallowlisted in the
cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)","sha":"26fac70c9b82d65de1b93acf6be4d28503fb9f6a"}},{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
TattdCodeMonkey added a commit that referenced this pull request Feb 3, 2025
…08972)

## Summary

Add `enterpriseSearch` config deprecations for items remove in 9.0.

This is paired with #208856 which removes all the listed values from the
`enterprise_search` plugin configuration.

### Screenshots

![image](https://github.com/user-attachments/assets/832a9614-ea8f-4c68-839e-b9e26bd95221)
TattdCodeMonkey added a commit to TattdCodeMonkey/kibana that referenced this pull request Feb 5, 2025
…astic#208972)

## Summary

Add `enterpriseSearch` config deprecations for items remove in 9.0.

This is paired with elastic#208856 which removes all the listed values from the
`enterprise_search` plugin configuration.

### Screenshots

![image](https://github.com/user-attachments/assets/832a9614-ea8f-4c68-839e-b9e26bd95221)

(cherry picked from commit a2329a3)
TattdCodeMonkey added a commit that referenced this pull request Feb 5, 2025
…9.0 (#208972) (#209809)

# Backport

This will backport the following commits from `8.x` to `8.18`:
- [Search: add deprecation warnings for config values removed in 9.0
(#208972)](#208972)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-02-03T19:44:01Z","message":"Search:
add deprecation warnings for config values removed in 9.0
(#208972)\n\n## Summary\r\n\r\nAdd `enterpriseSearch` config
deprecations for items remove in 9.0.\r\n\r\nThis is paired with #208856
which removes all the listed values from the\r\n`enterprise_search`
plugin configuration.\r\n\r\n###
Screenshots\r\n\r\n![image](https://github.com/user-attachments/assets/832a9614-ea8f-4c68-839e-b9e26bd95221)","sha":"a2329a376524ac80480b1a3c6e77b0d6dae31381"},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:skip"],"title":"Update
dependency chromedriver to ^132.0.2
(8.x)","number":208938,"url":"https://github.com/elastic/kibana/pull/208938"},"sourceBranch":"8.x","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->
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:Search v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants