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: Retry mechanism for function execution #6369

Open
2 tasks done
tuvaergun opened this issue Sep 30, 2023 · 5 comments
Open
2 tasks done

馃殌 Feature: Retry mechanism for function execution #6369

tuvaergun opened this issue Sep 30, 2023 · 5 comments
Labels
product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@tuvaergun
Copy link

tuvaergun commented Sep 30, 2023

馃敄 Feature description

I am experiencing data loss. This caused serious damage.
I want to run the Executions Appwrite functions again.
Screenshot 2023-09-30 at 10 45 13

馃帳 Pitch

There should be a feature that I can run again if there is an error. Or there may be a different feature such as if there is an error, try it for the 2nd or 3rd time after 1 hour.

There may be a manual retry button.
or custom definitions can be selected in the settings.

馃憖 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?

@tripolskypetr
Copy link

tripolskypetr commented Sep 30, 2023

Also why do you connected CI/CD from main branch to the cloud? That's OK if we seeing some bugs cause It is beta but for the whole week my app is unusable

3cf22d9d-af7a-499a-bb74-8a742ad248c9

@safwanyp
Copy link
Contributor

safwanyp commented Oct 1, 2023

@tuvaergun This will probably require a re-work of the functions, to make sure that the function's execution payload is saved after the exec fails. I don't think it stores the payload for the execution right now.


@tripolskypetr Do you mean connecting your GitHub repo to Appwrite? Well, the branch is selected by you when connecting to GitHub while creating a function.

Keep in mind that while it does connect to main, you can make create a new branch in GitHub. When you push to this new branch, the function will build the code automatically. Since it's a branch commit, you will need to activate the build as an "active" deployment from the console.

@tripolskypetr
Copy link

@safwanyp Nope, the cloud is updating too often. Looks like spamming commits to the main branch which triggers CI/CD. For example, Realtime is down for several hours.

image

@tripolskypetr
Copy link

@safwanyp
Also, ELK stack for functions payload will be real good solution for @tuvaergun

@stnguyen90 stnguyen90 changed the title 馃殌 Feature: Appwrite functions work again and do not lose data 馃殌 Feature: Retry mechanism for function execution Nov 18, 2023
@stnguyen90
Copy link
Contributor

Related:

@stnguyen90 stnguyen90 added the product / functions Fixes and upgrades for the Appwrite Functions. label Nov 18, 2023
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

4 participants