-
Notifications
You must be signed in to change notification settings - Fork 777
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
Improve workflow failure reason #1388
Conversation
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves failure reason messages in `setup_workflow_run` in `service.py` by including exception details. > > - **Behavior**: > - Enhanced failure reason messages in `setup_workflow_run` in `service.py` to include exception details. > - Specifically, appends exception message to generic failure reason and `SkyvernException` specific message. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for d01f0f1bd7d0a1927c4a6793472ea5d4cf07cc33. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
There was a problem hiding this 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! Incremental review on c57c3d3 in 9 seconds
More details
- Looked at
16
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/service.py:177
- Draft comment:
Consider changing 'an SkyvernException' to 'a SkyvernException' for grammatical correctness.
failure_reason = f"Setup workflow failed due to a SkyvernException({e.__class__.__name__}): {str(e)}"
- Reason this comment was not posted:
Confidence changes required:10%
The PR aims to improve failure reason messages by including exception details. The changes are correctly implemented, but there is a minor grammatical error in the message format.
Workflow ID: wflow_UBKDKWoOZLjLfWV3
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this 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 c57c3d3 in 9 seconds
More details
- Looked at
16
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/service.py:177
- Draft comment:
Consider changing 'an SkyvernException' to 'a SkyvernException' for grammatical correctness.
failure_reason = f"Setup workflow failed due to a SkyvernException({e.__class__.__name__}): {str(e)}"
- Reason this comment was not posted:
Confidence changes required:10%
The PR aims to improve the failure reason messages by including exception details. The changes are straightforward and align with the intent described in the PR. However, there is a minor grammatical error in the failure message for SkyvernException.
Workflow ID: wflow_Oc4GMZjtsaRNqB8X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
@LawyZheng for review |
Important
Enhance failure reason messages in
setup_workflow_run
inservice.py
to include exception details.setup_workflow_run
inservice.py
to include exception details.SkyvernException
specific message.This description was created by for c57c3d3. It will automatically update as commits are pushed.