-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Tie peg parser generation into the dev server optimization #17284
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
Whatever solution we use for this should probably be consistent in the |
@lukeelmers this is on my radar as I have opened #85341 to remove Grunt, which is used by kquery. Think we can move this to a package? |
@tylersmalley Yeah this is potentially something we could extract to a package, along with a few other pieces of I will bring this up so we can have it on the app services roadmap. Do you have a target release in mind for removing grunt? |
Hey @lukeelmers - we're targeting 7.12 for Grunt removal currently. I'm happy to help if there's any bandwidth issues. |
we would definitely appreciate help with this as we haven't planned for this for 7.12.. |
Mini bump on this - we pushed this to 7.13. Any chance we can work with someone on this for the next release cycle? |
I made an attempt at moving it over to kbn-interpreter at #95465. I ran into issues between the global pegjs version and the version grunt is using, resulting in quite a few changed snapshots. |
I'm reopening this - there's still the timelion grammar hooked into the grunt task. Feel free to close if I'm misunderstanding. |
@jbudz the never ending issue 🤷🏻♀️ |
Pinging @elastic/kibana-presentation (Team:Presentation) |
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
The kuery grammar gets precompiled and committed to git now, which means in dev you need to run
grunt peg
orgrunt watch:peg
to see your changes to .peg files. It would be really nice if these files were watched and compiled as a part of the usual optimization process.The text was updated successfully, but these errors were encountered: