Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
do not use status as a param in logs - use step_status and task_status (#1705)
Shuchang Zhengeb0d4db7ee64
diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.pyindex d497c5712..3d257f788 100644--- a/skyvern/forge/agent.py+++ b/skyvern/forge/agent.py@@ -1928,7 +1928,7 @@ class ForgeAgent:task_id=step.task_id,step_id=step.step_id,duration_seconds=duration_seconds,- status=status,+ step_status=status,organization_id=step.organization_id,)@@ -1975,7 +1975,7 @@ class ForgeAgent:task_id=task.task_id,workflow_run_id=task.workflow_run_id,duration_seconds=duration_seconds,- status=status,+ task_status=status,organization_id=task.organization_id,)diff --git a/skyvern/forge/sdk/workflow/models/block.py b/skyvern/forge/sdk/workflow/models/block.pyindex 6dc99bce8..e306c0456 100644--- a/skyvern/forge/sdk/workflow/models/block.py+++ b/skyvern/forge/sdk/workflow/models/block.py@@ -685,7 +685,7 @@ class BaseTaskBlock(Block):LOG.warning(f"Task failed with status {updated_task.status}{retry_message}",task_id=updated_task.task_id,- status=updated_task.status,+ task_status=updated_task.status,workflow_run_id=workflow_run_id,workflow_id=workflow.workflow_id,organization_id=workflow_run.organization_id,