Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Prakashmaheshwaran
Copy link
Contributor

@Prakashmaheshwaran Prakashmaheshwaran commented Jun 25, 2025

  • Add comprehensive documentation for HTTP request workflow blocks
  • Include example YAML workflow configuration
  • Add usage examples and implementation guides
  • Provide reference documentation for developers

Important

Add documentation and examples for HTTP request workflow blocks, update database schema, and enhance HttpRequestBlock functionality.

  • Documentation:
    • Add docs/http_request_block.md with comprehensive documentation for HTTP request workflow blocks, including features, configuration, parameters, output format, usage examples, template variables, error handling, integration, and best practices.
    • Add examples/http_request_workflow.yaml with example YAML workflow configurations demonstrating HTTP request block usage.
  • Database:
    • Update 2025_06_25_0043-7099cf601169_add_http_request_block_columns_to_.py to add columns curl_command, method, url, headers, timeout, and follow_redirects to workflow_run_blocks table.
  • Code Changes:
    • Update HttpRequestBlock in block.py to support new parameters and parsing of curl_command.
    • Add HttpRequestBlockYAML in yaml.py to define YAML structure for HTTP request blocks.
    • Register HttpRequestBlock in service.py for workflow execution.

This description was created by Ellipsis for f2d3ac7. You can customize this summary. It will automatically update as commits are pushed.

…schema

- Add database migration for HTTP request block columns
- Update workflow models to support HTTP request blocks
- Add HTTP request block parsing and validation
- Update workflow service to handle HTTP request execution
- Add database model changes for HTTP request parameters
- Add comprehensive documentation for HTTP request workflow blocks
- Include example YAML workflow configuration
- Add usage examples and implementation guides
- Provide reference documentation for developers
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.

Important

Looks good to me! 👍

Reviewed everything up to 64098c2 in 39 seconds. Click for details.
  • Reviewed 269 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/http_request_block.md:179
  • Draft comment:
    Consider adding a newline at the end of the file for consistency and POSIX compliance.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
2. examples/http_request_workflow.yaml:74
  • Draft comment:
    Ensure that the 'current_timestamp' variable used in the 'webhook_notification' block is defined or documented, so users know its origin.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_TQ0D5MNWGsZlIqjW

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

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.

Important

Looks good to me! 👍

Reviewed f2d3ac7 in 1 minute and 7 seconds. Click for details.
  • Reviewed 466 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 5 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. skyvern/forge/sdk/workflow/service.py:1127
  • Draft comment:
    Using 'asyncio.timeout' requires Python 3.11 or newer. If older versions must be supported, consider a fallback solution or document this dependency.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
2. skyvern/forge/sdk/workflow/service.py:1328
  • Draft comment:
    The webhook payload is being logged (payload=payload); this could expose sensitive data. Consider redacting or masking sensitive fields in the log.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
3. skyvern/forge/sdk/workflow/service.py:1427
  • Draft comment:
    The function 'persist_debug_artifacts' (and related artifact persistence calls) executes tasks sequentially. Consider using 'asyncio.gather' to run independent persistence tasks concurrently for potential performance improvements.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
4. skyvern/forge/sdk/workflow/models/yaml.py:20
  • Draft comment:
    Several Literal fields use 'type: ignore' due to mypy issues. Consider documenting the specific mypy bug reference and reviewing if an update to mypy might eliminate these ignores in the future.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
5. skyvern/forge/sdk/workflow/service.py:325
  • Draft comment:
    The 'execute_workflow' function is quite long and handles many responsibilities. Refactoring it into smaller helper functions could improve readability and maintainability.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.

Workflow ID: wflow_DiKPtfNjxxIgGwVQ

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@@ -0,0 +1,180 @@
# HTTP Request Block
Copy link
Contributor

Choose a reason for hiding this comment

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

Docs go into fern/ not here.

Copy link
Contributor

Choose a reason for hiding this comment

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

All docs should either show up in docs.skyvern.com or nowhere

op.add_column(
"tasks", sa.Column("credentials", postgresql.JSON(astext_type=sa.Text()), autoincrement=False, nullable=True)
)
op.add_column(
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this intentional?

Copy link
Contributor

Choose a reason for hiding this comment

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

formatting changes

Base automatically changed from feature/http-request-workflow-node to main July 1, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants