Skyvern-AI / skyvern

Automate browser-based workflows with LLMs and Computer Vision
https://www.skyvern.com
GNU Affero General Public License v3.0
10.57k stars 725 forks source link

expose workflow failure reason to api #1200

Closed LawyZheng closed 1 week ago

LawyZheng commented 1 week ago

[!IMPORTANT] Adds failure_reason to WorkflowRunStatusResponse and updates build_workflow_run_status_response to include it.

  • Behavior:
    • Adds failure_reason field to WorkflowRunStatusResponse in workflow.py to expose workflow failure reasons.
    • Updates build_workflow_run_status_response in service.py to include failure_reason from workflow_run.
  • Models:
    • Adds failure_reason to WorkflowRunStatusResponse in workflow.py.

This description was created by Ellipsis for c93736442e1c5effae5885c2abcf002f4bc54bfa. It will automatically update as commits are pushed.