This commit is contained in:
yumoqing 2026-03-13 14:48:07 +08:00
parent 3228ccd246
commit dad106b4ff

View File

@ -435,11 +435,12 @@ where instance_id=${instance_id}$
return False return False
async def start_running(self, sor, node, edges, inst): async def start_running(self, sor, node, edges, inst):
if self.is_ok_to_start(sor, node, edges, inst): if self.s_ok_to_step_next(sor, node, edges, inst):
await sor.R('node_execution', { await sor.R('node_execution', {
'id': node['id'], 'id': node['id'],
'status': 'running' 'status': 'running',
'running_time': }) 'running_time': timestampstr()
})
try: try:
out = await self.run_auto_task(node) out = await self.run_auto_task(node)
sor.U('node_execution', { sor.U('node_execution', {