Skip to content

[8.x] [ES|QL] Move to query locations (#216110)#216201

Merged
stratoula merged 2 commits intoelastic:8.xfrom
drewdaemon:backport/8.x/pr-216110
Mar 31, 2025
Merged

[8.x] [ES|QL] Move to query locations (#216110)#216201
stratoula merged 2 commits intoelastic:8.xfrom
drewdaemon:backport/8.x/pr-216110

Conversation

@drewdaemon
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

This PR replaces `FunctionDefinition.supportedCommands` and
`FunctionDefinition.supportedOptions` with
`FunctionDefinition.locationsAvailable`.

This will still allow us fine-grained control over where functions are
suggested and allows in various contexts but it is extensible to any
scenario—no longer confined to rigid lists of "option" and command
names.

Prerequisite to elastic#209359

(cherry picked from commit 8e6428b)
@drewdaemon drewdaemon added the backport This PR is a backport of another PR label Mar 27, 2025
@drewdaemon drewdaemon enabled auto-merge (squash) March 27, 2025 15:52
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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
@kbn/esql-validation-autocomplete 162 161 -1

Async chunks

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

id before after diff
esql 243.1KB 242.8KB -340.0B

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
@kbn/esql-validation-autocomplete 13 14 +1

Page load bundle

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

id before after diff
kbnUiSharedDeps-srcJs 3.6MB 3.6MB -16.0KB
Unknown metric groups

API count

id before after diff
@kbn/esql-validation-autocomplete 182 181 -1

History

@stratoula stratoula disabled auto-merge March 31, 2025 08:47
@stratoula stratoula merged commit 9084e19 into elastic:8.x Mar 31, 2025
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