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

[timelion] Move grammar to package #111881

Merged
merged 5 commits into from
Sep 16, 2021
Merged

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Sep 10, 2021

This moves the timelion grammar to a Bazel packages. Generation is
managed by Bazel, and the output no longer needs to be committed.
Updates can be re-processed by yarn kbn build or yarn kbn watch.

Related to #85341
Closes #17284

This moves the timelion grammar to a Bazel packages.  Generation is
managed by Bazel, and the output no longer needs to be committed.
Updates can be re-processed by `yarn kbn build` or `yarn kbn watch`.

Related to elastic#85341
Closes elastic#17284
@jbudz jbudz added Team:Operations Team label for Operations Team Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 release_note:skip Skip the PR/issue when compiling release notes auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Sep 10, 2021
@jbudz jbudz mentioned this pull request Sep 10, 2021
@jbudz jbudz marked this pull request as ready for review September 10, 2021 18:50
@jbudz jbudz requested a review from a team as a code owner September 10, 2021 18:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@jbudz
Copy link
Member Author

jbudz commented Sep 10, 2021

@elastic/kibana-vis-editors this moves grammar generation from pegjs 0.9 to peggy 1.2. I did cursory manual testing, but I'm not sure how far our test coverage extends. If there's any more complicated tests that you're able to validate it would be appreciated.

@stratoula
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@VladLasitsa VladLasitsa left a comment

Choose a reason for hiding this comment

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

GTM, tested locally in chrome, didn't find any issue.

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.

Thanx for doing this! Code LGTM. I tested it locally on Safari and everything seems to work fine!

@jbudz jbudz requested a review from a team September 15, 2021 21:58
@jbudz jbudz enabled auto-merge (squash) September 15, 2021 22:03
@kibanamachine
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
visTypeTimelion 145.9KB 144.1KB -1.8KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit 17a4186 into elastic:master Sep 16, 2021
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 111881

jbudz added a commit to jbudz/kibana that referenced this pull request Sep 16, 2021
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
jbudz added a commit that referenced this pull request Sep 16, 2021
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@mbondyra mbondyra added the Feature:Timelion Timelion app and visualization label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Timelion Timelion app and visualization release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tie peg parser generation into the dev server optimization
7 participants