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

Detailed logs for webhook failures #691

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

ykeremy
Copy link
Contributor

@ykeremy ykeremy commented Aug 8, 2024

🚀 This description was created by Ellipsis for commit d5e9dd6

Summary:

Remove JSON response logging in send_workflow_response, affecting webhook response logging behavior.

Key points:

  • Remove JSON response logging in send_workflow_response function.
  • Affects skyvern/forge/sdk/workflow/service.py.
  • Remove resp_json=resp.json() from logging on webhook failure.
  • Changes logging behavior for webhook responses.

Generated with ❤️ by ellipsis.dev

<!-- ELLIPSIS_HIDDEN -->

| 🚀 | This description was created by [Ellipsis](https://www.ellipsis.dev) for commit ddeae74ac4ac0364f2c99917a810ca8648fbd335  |
|--------|--------|

### Summary:
Removed JSON response logging in `send_workflow_response`, affecting webhook response logging behavior.

**Key points**:
- Removed JSON response logging in `send_workflow_response` function.
- Affects `skyvern/forge/sdk/workflow/service.py`.
- Removed `resp_json=resp.json()` from logging when webhook fails.
- Changes logging behavior for webhook responses.

----
Generated with ❤️ by [ellipsis.dev](https://www.ellipsis.dev)

<!-- ELLIPSIS_HIDDEN -->
@ykeremy ykeremy added the sync label Aug 8, 2024
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 d5e9dd6 in 48 seconds

More details
  • Looked at 17 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/service.py:729
  • Draft comment:
    Removing resp_json=resp.json() from the logging could potentially remove valuable debugging information, making it harder to diagnose issues with webhook failures. Consider keeping this or ensuring that the necessary information is logged in another way.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_U94raXvFKYUfrMb9


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 d5e9dd6 in 53 seconds

More details
  • Looked at 16 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/workflow/service.py:729
  • Draft comment:
    Removing resp.json() from the logs reduces the amount of detailed information available for debugging webhook failures. Ensure this change aligns with the intended logging and troubleshooting practices.
  • Reason this comment was not posted:
    Confidence of 30% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_xvJJe2y9wqxxixIp


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

@ykeremy ykeremy merged commit e5c7d8b into main Aug 8, 2024
2 checks passed
@ykeremy ykeremy deleted the ykeremy/remove-json-from-webhook-response-handling branch August 8, 2024 17:52
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