-
Notifications
You must be signed in to change notification settings - Fork 29
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
Functionality Proposal #53
Comments
What is the scope of what you want to expose? What is the goal of doing so? This state structure may evolve over time to support additional flows such as DAGs, so it's concerning to have it exposed in the client API. |
Hi @creyke, Sorry this got lost in all of my notifications. I'm looking to expose via a UI to show progress of the process to users, i.e. $"Out of the 5 activities in the saga, 3 of 5 are completed and we are still {Saga.Status}." DAGs would be awesome, which also makes it harder to express the above sample UI statement. I don't think leaking the underlying model is desirable-- as with everything, some sort of abstraction is necessary to hide internal implementation details. Of course, the saga model for consumption would most likely be different, but derived from today's linear flow status. It's also desirable to get access to the Saga Properties (global and activity) to gain more information by process managers (i.e. saga initiators) so they can decide what to do next. I think this there is something that needs to happen around visibility into the execution of the flow in addition to what exists today. Today though, I think there is an opportunity here to show individual activity status (i.e. "Pending", "Failed", "Active", etc) Instead of sending a PR-- perhaps more discussion is appropriate for a longer term solution. |
I'm happy to discuss on a call for example, although alternatively you could propose an API-only PR which exposes the state-abstracted public objects you feel are appropriate as a starting point? |
Thanks Roger-- I may take you up on that, I'm on the Gitter. When I circle back around to my saga work I'll take a stab at it. |
@ElanHasson did you ever end up doing this? |
Hi @cecilphillip, Nope, I actually switched companies shortly after this. |
Below is what is written to the mongo storage provider for grain state.
Is there a way to get at this information?
if not, are you open to a PR that does that, and also adds status information to the activity values
The text was updated successfully, but these errors were encountered: