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

add documentation for typescript function runtime and update runtimes #4872

Closed
rabbah opened this issue Apr 2, 2020 · 5 comments
Closed

Comments

@rabbah
Copy link
Member

rabbah commented Apr 2, 2020

The typescript runtime was recently added to openwhisk but we do not yet have docs for the runtime and it is missing from runtimes.json.

We need a doc like https://github.com/apache/incubator-openwhisk/blob/master/docs/actions-nodejs.md for typescript functions.

Adding the runtime to the runtime manifest can be done per https://github.com/apache/openwhisk/blob/master/docs/actions-new.md#the-runtimes-manifest.

@Rurouni-Jiaxin
Copy link

@rabbah Please assign this to me. Much obliged 🙏

@Rurouni-Jiaxin
Copy link

@rabbah The typescript runtime seems deprecated, I cannot find the typescript counterpart as https://github.com/apache/openwhisk-runtime-nodejs

@IamPreethi-S
Copy link

Hey, would like to know if this issue is resolved?.
If not, I would like to take it up and contribute.
Thanks:)

@Rurouni-Jiaxin
Copy link

Hey, would like to know if this issue is resolved?. If not, I would like to take it up and contribute. Thanks:)

Hi, I have a PR apache/openwhisk-runtime-nodejs#227 that is still waiting for review. It's for JavaScript though. If a documentation were needed for TypeScript, I am not sure where to add that. As far as I know, there seems to be only one single Node runtime: https://github.com/apache/openwhisk-runtime-nodejs

@rabbah
Copy link
Member Author

rabbah commented Jul 25, 2023

Typescript (ts) functions get compiled and run as node functions - there is some support to ship ts code as the action code and the action will compile it before it runs it (at init time). This will create a longer cold start. It's a nice feature for getting started but for production, the code should get compiled ahead of time rather than at runtime. As such we should close this issue as wont fix.

@rabbah rabbah closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants