Make it impossible to action Task
s that don't have status
'waiting' or 'error'
#138
Milestone
Task
s that don't have status
'waiting' or 'error'
#138
It looks like it's currently possible to action
Task
s that are anystatus
. We don't want this to be possible, as onlyTask
s that can conceivably be run yet (status
is 'waiting' or 'error'). It shouldn't impact downstream compute, but does create unnecessary ACTIONS relationships to aTaskHub
that will likely never be cleared.We should add a
status
check in the Cypher query forTask
s actioned inNeo4jStore.action_tasks
. We will returnNone
for anyTask
that was requested to be actioned but ultimately was not; this should be the resulting behavior with this change.The text was updated successfully, but these errors were encountered: