uber / cadence-web

Web UI for visualizing workflows on Cadence
Other
389 stars 107 forks source link

When listing workflows show result of a query in a column #9

Open mfateev opened 6 years ago

mfateev commented 6 years ago

It is very useful to be able to see a list of workflows with the correspondent statuses. It can be done by emitting a query to a workflow execution for each member of the list. As listing is paginated it shouldn't increase latency too much. If it does then the status should be loaded asynchronously after the list is already rendered.

mfateev commented 6 years ago

Another option is to show results of a DescribeWorkflowExecution call. From its result determine what to show in the column. It might require some server side changes if some info is missing.

nathanboktae commented 6 years ago

You're talking about the Workflow list screen currently, correct? The status of the workflows is already an input parameter. Did you mean some other piece of information per workflow?

The workflows list is 100 per page, so firing 100 ajax request that most browsers process 6 at a time per domain, it's not terribly fast, but it can be asynchronous.

dmetzgar commented 5 years ago

With the new memo feature (https://github.com/uber/cadence/pull/1663) we don't need to execute a query per workflow in the list. This issue should be repurposed to show the memos in the list.