noodlapp / noodl

Noodl is a low code platform for creating full stack web applications
https://noodl.net
GNU General Public License v3.0
339 stars 91 forks source link

Do an update check when deploying Cloud Functions #41

Open erictuvesson opened 6 months ago

erictuvesson commented 6 months ago

When deploying new cloud functions to the cloud service it would be ideal to make an update check to verify that the new version is uploaded correctly.

This would require some changes to the cloud service, to have a way to verify that the new version is there. Preferably a unique id created by the editor and not the cloud service to be certain.

Here is where the deploy functions are in the cloud service: https://github.com/noodlapp/noodl-cloudservice/blob/main/packages/noodl-cloudservice/src/routes/functions-admin.ts#L5

Here is where the deploy cloud functions code is in the editor: /packages/noodl-editor/src/editor/src/utils/compilation/passes/deploy-cloud-functions.ts