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

DX & Workflows: Error handling and error'ed receipt handling #427

Open
1 of 3 tasks
Tracked by #331
zeeshanlakhani opened this issue Nov 12, 2023 · 0 comments
Open
1 of 3 tasks
Tracked by #331

DX & Workflows: Error handling and error'ed receipt handling #427

zeeshanlakhani opened this issue Nov 12, 2023 · 0 comments
Labels
dx Developer experience applications and improvements workflows Related to IPVM workflows

Comments

@zeeshanlakhani
Copy link
Contributor

zeeshanlakhani commented Nov 12, 2023

Summary

We need to work through failure handling around workflow completion, error notifications, and handling ok/err receipted instructions.

Components

  • Default (as part of workflows) for the runner to abort the workflow early when resolving a promise fails (outside of the workflow).
  • Make this an option/setting within the workflow for the workflow executor to control.
  • If not ☝🏽, otherwise, we need to return and notify of errored receipts. However, we have to check the associated receipt's result (ok/err) if it's replayed from db/gossip/network. Also, Q if we want to store errors (or change the pruning level for them).
@zeeshanlakhani zeeshanlakhani added workflows Related to IPVM workflows dx Developer experience applications and improvements labels Nov 12, 2023
@zeeshanlakhani zeeshanlakhani changed the title DX & Workflows: Option to fail-fast when computation fails early and finish-out error'ed receipt handling DX & Workflows: Error handling and error'ed receipt handling Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer experience applications and improvements workflows Related to IPVM workflows
Projects
None yet
Development

No branches or pull requests

1 participant