-
Notifications
You must be signed in to change notification settings - Fork 580
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
rpk/transform: support javascript and typescript #18078
Conversation
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
to be valid json 🤦 Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
9504bf0
to
b272c40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rpk bits LGTM, just a couple of small comments that can help us improve an (unlikely) error message.
To support JS and TS we need: 1) To generate an NPM project with esbuild and (optional) typescript 2) A new buildpack that has our JS VM and can package that with the source Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
This script will build the binaries that RPK needs when turning JS -> Wasm. The resulting tarballs need to be hosted somewhere (S3?) for RPK to download. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Using this other type of comment allows LSPs to show the docs inline. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Specifically check we can't find the binary, and print the error if it is less expected. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GHA workflow changes LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. presumably we want to re-enable LTO at this point?
set_property(TARGET redpanda_js_transform PROPERTY INTERPROCEDURAL_OPTIMIZATION ON) | ||
endif() | ||
endif() | ||
# TODO: Rename LTO builds when #18077 is merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#18077 has merged, re-enable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes will do in a followup, I would like to get this in for now
Support JS and TS for Data Transforms.
We still have work to do here, mainly a deploy pipeline for the JS buildpack, otherwise I have proof this is working end to end.
Closes: CORE-2370 and CORE-2373
Backports Required
Release Notes
Features