go-workflows
go-workflows copied to clipboard
Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
## Situation This high level code: ```go activeJobs := set.NewSet[string]() // section 1: lines workflow.Go(ctx, func(ctx workflow.Context) { // section 2: lines ... workflow.CreateSubWorkflowInstance[result.Conclusion](ctx, workflow.SubWorkflowOptions{ InstanceID: jobInstanceID,....Get(ctx) // section 2:...
It would be great to see the name of a scheduled activity of workflow in the diag ui without having to expand the node: 
Quick and dirty fix for #136:  The description says scheduled activities, but we might also want to show it for completed ones...
This looks super interesting for some projects I have in mind, but I mostly work in Postgres so I took a stab at implementing a backend with it. It's mostly...
For calculating how long a workflow task was in the queue, we use the timestamp of the first event in the task compared to the current time: https://github.com/cschleiden/go-workflows/blob/main/internal/worker/workflow.go#L128-L130 The issue...
Add a tag whether a finished workflow is a sub-workflow or not

In addition to the generic metrics (#57), we should also track: - workflow task queue depth - activity task queue depth