I haven't tried to use manual triggers, but I have had similar problems when I have tried to restart a failed flow. I found that I was able to re-run a failed flow once I set up
Results for my flow.
But,
Secret tasks will not have their values stored. To get around this I needed to manually mark Secret Tasks as Failed. On a re-run, the
Secrets got re-evaluated and got the values that they needed and the other Tasks got their values from the Results.
Note that I do not know what the behaviour of setting a Task to failed and leaving the subsequent Task as Success and doing a re-run.
The environment that I did this was with Prefect deployed in kubernetes using KubernetesJobs.