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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: [Functions] Separate Options for Runtimes & Versions #6323

Open
2 tasks done
ItzNotABug opened this issue Sep 25, 2023 · 2 comments
Open
2 tasks done
Assignees
Labels
product / console Console, UI and UX issues product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@ItzNotABug
Copy link
Contributor

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 product / functions Fixes and upgrades for the Appwrite Functions. product / console Console, UI and UX issues labels 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
Contributor 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / console Console, UI and UX issues product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

No branches or pull requests

2 participants