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

fix streaming bug #1370

Merged
merged 2 commits into from
Dec 11, 2024
Merged

fix streaming bug #1370

merged 2 commits into from
Dec 11, 2024

Conversation

LawyZheng
Copy link
Collaborator

@LawyZheng LawyZheng commented Dec 11, 2024

Important

Replaced file path management in run_streaming.py and added a FIXME for correct S3 upload organization ID.

  • File Path Management:
    • Replaced SettingsManager.get_settings().STREAMING_FILE_BASE_PATH with get_skyvern_temp_dir() in run_streaming.py to determine the directory for saving screenshots.
  • TODOs:
    • Added FIXME comment to address the need for using the correct organization ID when uploading screenshots to S3 in run_streaming.py.

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

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 7e3a4a2 in 1 minute and 41 seconds

More details
  • Looked at 31 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 drafted comments based on config settings.
1. run_streaming.py:21
  • Draft comment:
    Using shell=True in subprocess.run can be a security risk. Consider using a list of arguments instead of a single string to avoid shell injection vulnerabilities.
  • Reason this comment was not posted:
    Comment was on unchanged code.
2. run_streaming.py:27
  • Draft comment:
    Catching a broad Exception is not recommended. Consider catching more specific exceptions to avoid masking other issues.
  • Reason this comment was not posted:
    Comment was on unchanged code.
3. run_streaming.py:24
  • Draft comment:
    The FIXME comment indicates that the organization ID is a placeholder. Ensure this is updated with the correct ID before deployment.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The FIXME comment indicates that the organization ID is a placeholder and needs to be replaced with the correct one. This is a known issue that needs to be addressed.

Workflow ID: wflow_OLbYGyiYOFpfj7iC


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

@LawyZheng LawyZheng merged commit 3a62650 into main Dec 11, 2024
2 checks passed
@LawyZheng LawyZheng deleted the lawy/fix-streaming-bug branch December 11, 2024 06:04
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.

2 participants