console icon indicating copy to clipboard operation
console copied to clipboard

🚀 Feature: [Functions] Separate Options for Runtimes & Versions

Open ItzNotABug opened this issue 2 years ago • 2 comments

🔖 Feature description

Show 2 selectors when setting up the Functions.


One for selecting a Runtime from all the available & supported ones. The other for choosing the installed version of the selected on the system.

Note: This is particularly more useful on Cloud since it now supports all the Runtimes.

functions_runtime runtime_selection runtime_version_selection

🎤 Pitch

Pl. refer the screenshot added.

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ItzNotABug avatar Sep 25 '23 07:09 ItzNotABug

@ItzNotABug, thanks for creating this issue! 🙏🏼 Would you please provide some more details and context as to why this is needed?

stnguyen90 avatar Sep 26 '23 00:09 stnguyen90

Excerpt from a discussion on Discord -

  1. Cloud users are limited to choosing a Runtime atm, so a list of all in the Runtimes would be good. Example: Bun is supported on 1.4x but isn't added on Cloud (This is added now, was not previously).

  2. Consider a Function that is built on NodeJs 18.0 which works fine but "may" not work fine on 20.0 due to some internal api changes or so & migration isn't planned or delayed. On the other hand, there's a new function which can use 20.0 & the new features. Showing multiple versions to choose from gives more flexibility & wouldn't break existing functions.

This is just an overview without much details, but should give a gist of the idea.


functions_runtime_and_versions

ItzNotABug avatar Sep 26 '23 05:09 ItzNotABug