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

Reuse proxy location when set #1394

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Dec 16, 2024

Important

Reuse proxyLocation when rerunning workflows, defaulting to ProxyLocation.Residential if not set, in WorkflowRun and WorkflowRunParameters.

  • Behavior:
    • Reuse proxyLocation when rerunning workflows in WorkflowRun and WorkflowRunParameters.
    • Default to ProxyLocation.Residential if proxyLocation is not set.
  • State Management:
    • Pass proxyLocation in state when navigating to rerun a workflow in WorkflowRun.
    • Retrieve proxyLocation from location.state in WorkflowRunParameters.
  • Initial Settings:
    • Set proxyLocation in initialSettings of RunWorkflowForm in WorkflowRunParameters.

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

…src/'

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Reuse `proxyLocation` when rerunning workflows, defaulting to `ProxyLocation.Residential` if not set, in `WorkflowRun` and `WorkflowRunParameters`.
>
>   - **Behavior**:
>     - Reuse `proxyLocation` when rerunning workflows in `WorkflowRun` and `WorkflowRunParameters`.
>     - Default to `ProxyLocation.Residential` if `proxyLocation` is not set.
>   - **State Management**:
>     - Pass `proxyLocation` in `state` when navigating to rerun a workflow in `WorkflowRun`.
>     - Retrieve `proxyLocation` from `location.state` in `WorkflowRunParameters`.
>   - **Initial Settings**:
>     - Set `proxyLocation` in `initialSettings` of `RunWorkflowForm` in `WorkflowRunParameters`.
>
> <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 04fd4ccfaa4b55918b808e1d046b008777878b2d. 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 a64da92 in 18 seconds

More details
  • Looked at 57 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/WorkflowRun.tsx:192
  • Draft comment:
    Use the proxyLocation variable instead of hardcoding "RESIDENTIAL" to ensure consistency with the rerun logic.
                proxy_location: proxyLocation,
  • Reason this comment was not posted:
    Comment was not on a valid diff hunk.

Workflow ID: wflow_Wp3ozxrINm1iCHel


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 a64da92 in 12 seconds

More details
  • Looked at 57 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern-frontend/src/routes/workflows/WorkflowRun.tsx:195
  • Draft comment:
    Ensure that the proxyLocation is used consistently throughout the rerun logic to avoid discrepancies.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The code in WorkflowRun.tsx and WorkflowRunParameters.tsx is mostly consistent with the PR description. However, there is a hardcoded value for proxy_location in the cURL command that should be using the proxyLocation variable instead.

Workflow ID: wflow_pL1ducMBkb94RLBY


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

@msalihaltun msalihaltun merged commit 1b7ff69 into main Dec 16, 2024
2 checks passed
@msalihaltun msalihaltun deleted the salih/reuse-proxy-location-when-rerun branch December 16, 2024 15:50
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