Skyvern-AI / skyvern

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

send webhook response before closing browser which often gets stuck #599

Closed wintonzheng closed 1 month ago

wintonzheng commented 2 months ago

We've seen tasks getting stuck when closing playwright browsers. As a result, webhook requests were not successfully sent.

reordering the logic so that we send webhook request before closing the browser window.

:rocket: This description was created by Ellipsis for commit e9fa2f6b079133a8b6775b3f91af90bf8d925094

Summary:

Modified send_task_response in skyvern/forge/agent.py to send the webhook response before closing the browser to prevent delays caused by browser closure issues.

Key points:


Generated with :heart: by ellipsis.dev

github-actions[bot] commented 1 month ago

This pull request is stale because it has been open for 14 days with no activity.