Workflows are not cleaned up

Seen on a 4.7.0_RC4 orchestrator while using retention policies.

After the clean up the workflow is still visible in get workflows, but without status and name.

I guess there is still some information stored somewhere.

Using get workflow on a "deleted" one will print a Workflow is running

Not sure if it's specific to retention policies for now since the default duration is quite long, will update the issue later.

image

EDIT :

To add some details : it seems like it's caused by the micronaut services.

A get workflow -o yaml on a deleted workflow will show notifications from the interpreter/publisher/result.aggregator.

Seems like this is only on TRACE, more specifically it's the message "Applying JWT auth filter"

It feels like some of these messages are stuck or something until a new workflow arrives

Edited by Kevin Ung