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

generate warning if there's no plan in observer response #1550

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Jan 14, 2025

Important

Add warning log in run_observer_cruise_helper() when no plan is found in observer response.

  • Logging:
    • Add warning log in run_observer_cruise_helper() in observer_service.py when no plan is found in observer response.

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

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add warning log in `run_observer_cruise_helper()` when no plan is found in observer response.
>
>   - **Logging**:
>     - Add warning log in `run_observer_cruise_helper()` in `observer_service.py` when no plan is found in observer response.
>
> <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 cd6df3c7bffa46988efa2e613ed188ceaaf32d03. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
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! Incremental review on f9e520b in 10 seconds

More details
  • Looked at 15 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/services/observer_service.py:395
  • Draft comment:
    Consider including more context in the warning log, such as the iteration number or workflow_run_id, to aid in debugging.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The warning log should include more context for better debugging.

Workflow ID: wflow_WfO9Ny8gShrcYG2s


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

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 f9e520b in 8 seconds

More details
  • Looked at 15 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/services/observer_service.py:395
  • Draft comment:
    Consider including more context in the warning log, such as the iteration number or workflow_run_id, to aid in debugging.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The warning log should include more context for better debugging.

Workflow ID: wflow_a4LW1L88hhbrvVNE


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

@wintonzheng wintonzheng merged commit 4509ce7 into main Jan 14, 2025
6 checks passed
@wintonzheng wintonzheng deleted the shu/fix_empty_observer_plan branch January 14, 2025 17:20
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.

1 participant