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

Flows: support Flow History feature #282

Closed
zaychenko-sergei opened this issue Nov 14, 2023 · 1 comment · Fixed by #435
Closed

Flows: support Flow History feature #282

zaychenko-sergei opened this issue Nov 14, 2023 · 1 comment · Fixed by #435
Assignees
Labels
enhancement New feature or request

Comments

@zaychenko-sergei
Copy link
Contributor

zaychenko-sergei commented Nov 14, 2023

  1. The history of flow executions and their statuses stays in the flow event store.

  2. Model flow events:

    • FlowEventInitiated - starting event
    • FlowEventWaiting - a flow is waiting for some start condition to be satisfied
    • FlowEventQueued - a flow has been initiated in some point in future not earlier than X:
    • FlowEventTaskChanged- a task associated with a flow has change it's status (Queued, Running, Finished)
    • FlowEventAborted - flow was cancelled by the user or aborted by the system.
  3. Events should know queuing time, scheduling time, execution start/finish time

  4. Flow events should store reasons of their initiation (provenance):

    • Reference another flow's events
    • Reference scheduling rule
    • Indicate initiative by particular user
    • Multiple reasons possible (i.e. 2 or more updates trigger on the inputs of a derived dataset, while it’s still in the queued state)
  5. Implement GraphQL API to access the history feed

@zaychenko-sergei zaychenko-sergei added the enhancement New feature or request label Nov 14, 2023
@zaychenko-sergei zaychenko-sergei self-assigned this Nov 21, 2023
@zaychenko-sergei
Copy link
Contributor Author

Note: only GraphQL part remaining after v0.149.0

@zaychenko-sergei zaychenko-sergei changed the title Support Dataset Update History feature Flows: support Flow History feature Dec 27, 2023
@zaychenko-sergei zaychenko-sergei linked a pull request Jan 11, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant