do not use status as a param in logs - use step_status and task_status (#1705)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user