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

handle continue on failure for loop node #984

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Oct 15, 2024

Important

Add continue_on_failure property to for_loop block in getWorkflowBlocksUtil() to handle loop nodes that should continue on failure.

  • Behavior:
    • Adds continue_on_failure property to for_loop block in getWorkflowBlocksUtil() in workflowEditorUtils.ts to handle loop nodes that should continue on failure.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Add `continue_on_failure` property to `for_loop` block in `getWorkflowBlocksUtil()` to handle loop nodes that should continue on failure.
>
>   - **Behavior**:
>     - Adds `continue_on_failure` property to `for_loop` block in `getWorkflowBlocksUtil()` in `workflowEditorUtils.ts` to handle loop nodes that should continue on failure.
>
> <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 6c13cb1c16263559ec0581b0cfcf27a36717aa42. 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! Reviewed everything up to 66c3428 in 9 seconds

More details
  • Looked at 12 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts:613
  • Draft comment:
    Ensure continue_on_failure is correctly handled in all relevant functions, such as convertToNode and getWorkflowBlock, to maintain consistency across the codebase.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR adds a new property continue_on_failure to the for_loop block in the getWorkflowBlocksUtil function. This change is consistent with the PR description and seems to be correctly implemented. However, I need to ensure that the continue_on_failure property is handled correctly throughout the codebase.

Workflow ID: wflow_4BdGq0xijXN8ReEm


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! Incremental review on 66c3428 in 13 seconds

More details
  • Looked at 12 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/editor/workflowEditorUtils.ts:613
  • Draft comment:
    Ensure continueOnFailure is correctly handled in all related functions, such as convertToNode and getWorkflowBlock, to maintain consistency with the new continue_on_failure property.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR adds a new property continue_on_failure to the for_loop block in the getWorkflowBlocksUtil function. This change is consistent with the PR description and seems to be correctly implemented. However, I need to ensure that the continue_on_failure property is handled correctly throughout the codebase, especially in related functions like convertToNode and getWorkflowBlock.

Workflow ID: wflow_ob52BnoWuPwGpFDu


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

@msalihaltun msalihaltun merged commit e45c9e1 into main Oct 15, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/handle-continue-on-failure-for-loop branch October 15, 2024 20:56
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