Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update logging for task auto restart #751

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Aug 28, 2024

🚀 This description was created by Ellipsis for commit ae37a58

Summary:

This PR enhances logging and error handling for task auto-restart in scripts/run_task.py and skyvern/webeye/actions/models.py, including a new log statement for task retryability and step_exception inclusion in get_clean_detailed_output.

Key points:

  • Enhanced logging in scripts/run_task.py for detailed output after task execution.
  • Added log statement to check task retryability in scripts/run_task.py.
  • Updated get_clean_detailed_output in skyvern/webeye/actions/models.py to include step_exception.
  • Improved error handling and logging for task auto-restart scenarios.

Generated with ❤️ by ellipsis.dev

<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit 46e054d10558e17d53814c48eaff0349c7f7294a  |
|--------|--------|

### Summary:
This PR enhances logging and error handling in `scripts/run_task.py` and `skyvern/webeye/actions/models.py`, including a new log statement for task retryability.

**Key points**:
- Enhanced logging in `scripts/run_task.py` for detailed output after task execution.
- Added log statement to check if a task is retryable in `scripts/run_task.py`.
- Updated `skyvern/webeye/actions/models.py` to include `step_exception` in `get_clean_detailed_output` method.
- Improved error handling and logging for task auto-restart scenarios.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Aug 28, 2024
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to ae37a58 in 6 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/webeye/actions/models.py:74
  • Draft comment:
    The step_exception field is added to DetailedAgentStepOutput but not used in to_agent_step_output. Ensure this is intentional and not an oversight.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The code in get_clean_detailed_output method is clear and follows best practices. However, the step_exception field is added to DetailedAgentStepOutput but not used in to_agent_step_output. This might be intentional, but it's worth noting in case it was an oversight.

Workflow ID: wflow_vgHtQFmCUtLBOcmq


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@wintonzheng wintonzheng merged commit 3dfef04 into main Aug 28, 2024
2 checks passed
@wintonzheng wintonzheng deleted the shu/update_run_task_retryable branch August 28, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants