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

[fan-out integration] Record triggered integrations and results #123

Open
migmartri opened this issue May 22, 2023 · 0 comments
Open

[fan-out integration] Record triggered integrations and results #123

migmartri opened this issue May 22, 2023 · 0 comments

Comments

@migmartri
Copy link
Member

migmartri commented May 22, 2023

Operators can attach integrations to their workflows, this means that these integrations will get triggered when an attestation is received.

The problem with the current implementation is that there is not actual paper trail of the 1) execution of the integration and 2) its result.

We should store in the DB a new entity, i.e integrationEvents associated with workflowRun that will contain the different immutable events of when an integration was queued, in-progress or finished with or without error and an optional result struct.

This will allow us to show such events in chronological order, enable async processing and events replay in the future and so on.

Recording the result is a potential prerequisite for #122

See #39 for more information about the global effort on improving integrations firing logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant