How to reflect workflow deletion synchronously

Hi everyone, I have a use case were I need to delete workflow execution or at least exclude them from search results after the are “deleted”.

Currently I’m using the deleteWorkflowExecution API. However workflows disappear from the visibility only after a quite long delay (between 30sec to 1minute). So I still get deleted executions when performing a client.listExecutions().

Is there some way to shorten the deletion delay ? Or is there some way to mimic immediate deletion for instance by setting some workflow state and then excluding workflows with this state from search.

I thought about using signal + queries for that but that would imply to have worker running to handle the signal. In my case I want deletion to be visible/effective even when no worker is available.

Thanks a lot for your help !

PS: I’m on CLI 1.5.1 (Server 1.29.1, UI 2.42.1)