How to handle workflow stalling

Hello everrbody,

I am using the cylc’s version 8.0.1, I get some issue with one of my workflow that is permanently stalling. Here is what my workflow should look like if it is successfull

[scheduling]
    initial cycle point = now
    #max active cycle points = 1
    runahead limit = P1
    [[special tasks]]
        clock-trigger = A
    [[dependencies]]
    
        T-00 = """
                  A? & B?  => C? => D? => E?
                 (A:fail? & B?) | (A:submit-fail? & B?)  => A_error 
                 (A? & B:fail?) | (A? & B:submit-fail?)  => B_error
                 (A:fail? & B:fail? ) | (A:sumbmit-fail? & B:submit-fail?) => AB_error 
                 C:fail? | C:submit-fail? => C_error 
                 D:fail? | D:submit-fail? => D_error
                 E:fail? | E:submit-fail? => E_error
             """
*_error represents dummy task that will print message in case of failure of the tasks

So this i what my workflow should look like if it is successfull

I have some issue concerning the A & B task if one of these taks failed i get some workflow stalled. So i wanted to know if there is some tools except the graph that can help me to overcome this issue ? Also i wanted to know if the way i do to redirect failed task to the dummy task is good or if there is more efficient way to do it ?