add download trigger in action result (#4099)

This commit is contained in:
LawyZheng
2025-11-26 14:10:36 +08:00
committed by GitHub
parent d3fe5e1b02
commit 0ac6ef2853
3 changed files with 3 additions and 0 deletions

View File

@@ -3174,6 +3174,7 @@ class WorkflowService:
disable_cache=block_yaml.disable_cache,
complete_on_download=True,
complete_verification=True,
include_action_history_in_verification=True,
download_timeout=block_yaml.download_timeout,
)
elif block_yaml.block_type == BlockType.TaskV2:

View File

@@ -45,6 +45,7 @@ async def get_action_history(
"success",
"exception_type",
"exception_message",
"download_triggered",
},
),
}

View File

@@ -475,6 +475,7 @@ class ActionHandler:
)
if not download_triggered:
results[-1].download_triggered = False
return results
results[-1].download_triggered = True