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

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

Open
2 tasks done
ItzNotABug opened this issue Sep 25, 2023 · 2 comments
Open
2 tasks done

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

ItzNotABug opened this issue Sep 25, 2023 · 2 comments
Assignees
Labels
product / functions Fixes and upgrades for the Appwrite Functions

Comments

@ItzNotABug
Copy link
Member

ItzNotABug commented Sep 25, 2023

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@stnguyen90 stnguyen90 added the product / functions Fixes and upgrades for the Appwrite Functions label Sep 26, 2023
@stnguyen90 stnguyen90 self-assigned this Sep 26, 2023
@stnguyen90
Copy link
Contributor

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

@ItzNotABug
Copy link
Member Author

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

@eldadfux eldadfux transferred this issue from appwrite/appwrite Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / functions Fixes and upgrades for the Appwrite Functions
Projects
None yet
Development

No branches or pull requests

2 participants