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

[ES|QL] handle snapshot-only functions #195691

Merged

Conversation

drewdaemon
Copy link
Contributor

@drewdaemon drewdaemon commented Oct 9, 2024

Summary

Close #192712

Snapshot-only functions are no longer suggested by the editor, though they are still validated if typed.

Also, they are excluded from the inline function documentation.

Checklist

@drewdaemon drewdaemon added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana labels Oct 9, 2024
@drewdaemon
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
esql 180.1KB 178.2KB -1.9KB
securitySolution 20.6MB 20.6MB -2.4KB
unifiedSearch 351.8KB 349.9KB -1.9KB
total -6.2KB

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.4MB 3.4MB -205.0B

History

@drewdaemon drewdaemon marked this pull request as ready for review October 11, 2024 00:59
@drewdaemon drewdaemon requested a review from a team as a code owner October 11, 2024 00:59
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

How awesome 🎉 Bravo!

@drewdaemon drewdaemon merged commit 65df028 into elastic:main Oct 11, 2024
20 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 11, 2024
## Summary

Close elastic#192712

Snapshot-only functions are no longer suggested by the editor, though
they are still validated if typed.

Also, they are excluded from the inline function documentation.

### Checklist

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

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 65df028)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 11, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] handle snapshot-only functions
(#195691)](#195691)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-11T14:34:13Z","message":"[ES|QL]
handle snapshot-only functions (#195691)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/192712\r\n\r\nSnapshot-only
functions are no longer suggested by the editor, though\r\nthey are
still validated if typed.\r\n\r\nAlso, they are excluded from the inline
function documentation.\r\n\r\n### Checklist\r\n\r\n-
[x]\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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"65df0280e1c96a9cc8b88f77ed0aca23190f7537","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL"],"title":"[ES|QL]
handle snapshot-only
functions","number":195691,"url":"https://github.com/elastic/kibana/pull/195691","mergeCommit":{"message":"[ES|QL]
handle snapshot-only functions (#195691)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/192712\r\n\r\nSnapshot-only
functions are no longer suggested by the editor, though\r\nthey are
still validated if typed.\r\n\r\nAlso, they are excluded from the inline
function documentation.\r\n\r\n### Checklist\r\n\r\n-
[x]\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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"65df0280e1c96a9cc8b88f77ed0aca23190f7537"}},"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/195691","number":195691,"mergeCommit":{"message":"[ES|QL]
handle snapshot-only functions (#195691)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/192712\r\n\r\nSnapshot-only
functions are no longer suggested by the editor, though\r\nthey are
still validated if typed.\r\n\r\nAlso, they are excluded from the inline
function documentation.\r\n\r\n### Checklist\r\n\r\n-
[x]\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\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"65df0280e1c96a9cc8b88f77ed0aca23190f7537"}}]}]
BACKPORT-->

Co-authored-by: Drew Tate <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Feature:ES|QL ES|QL related features in Kibana release_note:skip Skip the PR/issue when compiling release notes Team:ESQL ES|QL related features in Kibana v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ES|QL] don't suggest snapshot-only functions
4 participants