Skip to content

Comments

[8.19] [Query Rules] Enable query rules by default (#227226)#227650

Merged
efegurkan merged 2 commits intoelastic:8.19from
efegurkan:backport/8.19/pr-227226
Jul 15, 2025
Merged

[8.19] [Query Rules] Enable query rules by default (#227226)#227650
efegurkan merged 2 commits intoelastic:8.19from
efegurkan:backport/8.19/pr-227226

Conversation

@efegurkan
Copy link
Member

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

## Summary

Enables query rules UIs by default.
Feature was already in, this PR enables the flags.

### 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
- [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)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

## Release Note

Added a section to enable add, update and delete Query Rules written on
top of Query Rules APIs to easily pin or exclude documents to a query
according to criterias you set.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 2d17a8b)

# Conflicts:
#	config/serverless.es.yml
#	src/platform/plugins/private/kibana_usage_collection/server/collectors/application_usage/schema.ts
#	src/platform/plugins/shared/telemetry/schema/oss_platform.json
#	x-pack/test/functional_search/tests/classic_navigation.ts
#	x-pack/test/functional_search/tests/solution_navigation.ts
#	x-pack/test_serverless/functional/test_suites/search/index.feature_flags.ts
#	x-pack/test_serverless/functional/test_suites/search/navigation.ts
@efegurkan efegurkan added the backport This PR is a backport of another PR label Jul 11, 2025
@efegurkan efegurkan requested a review from kibanamachine as a code owner July 11, 2025 12:42
@efegurkan efegurkan added the backport This PR is a backport of another PR label Jul 11, 2025
@efegurkan efegurkan enabled auto-merge (squash) July 11, 2025 12:42
@efegurkan
Copy link
Member Author

@elasticmachine merge upstream

@efegurkan
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

There are no new commits on the base branch.

@efegurkan
Copy link
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

There are no new commits on the base branch.

@elasticmachine
Copy link
Contributor

elasticmachine commented Jul 15, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
searchQueryRules 164 165 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
searchQueryRules 130.5KB 131.2KB +665.0B

History

@efegurkan efegurkan merged commit 4983f1d into elastic:8.19 Jul 15, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants