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

feat: Improve GitHub action #192

Merged
merged 12 commits into from
Apr 16, 2024
Merged

feat: Improve GitHub action #192

merged 12 commits into from
Apr 16, 2024

Conversation

creatorrr
Copy link
Contributor

@creatorrr creatorrr commented Apr 15, 2024

Ellipsis 🚀 This PR description was created by Ellipsis for commit 3bab284.

Summary:

This PR enhances the GitHub action workflow with automatic code formatting, refines linting commands, updates pytype version in pyproject.toml files, and improves code readability in sdks/ts/tests/sessions.test.ts.

Key points:

  • Enhanced the GitHub action workflow with automatic code formatting.
  • Refined linting commands in pyproject.toml files of agents-api, model-serving, and sdks/python.
  • Updated pytype version in pyproject.toml files.
  • Improved code readability in sdks/ts/tests/sessions.test.ts.

Generated with ❤️ by ellipsis.dev

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 the entire pull request up to dc6cd1f
  • Looked at 13 lines of code in 1 files
  • Took 1 minute and 26 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. .github/workflows/lint-and-format.yml:20:
  • Assessed confidence : 80%
  • Grade: 0%
  • Comment:
    Consider removing the auto-commit action. It's generally a good practice to let the author review and commit any changes suggested by linters or formatters.
  • Reasoning:
    The PR adds an auto-commit action after the linting and formatting checks. This action will automatically format the code using 'black' and commit the changes. However, this could potentially lead to unexpected changes being committed without the author's knowledge. It's generally a good practice to let the author review and commit any changes suggested by linters or formatters.

Workflow ID: wflow_6QpTf4Z2TUZMD3q5


Not what you expected? You can customize the content of the reviews using rules. Learn more here.

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.

❌ Changes requested.

  • Performed an incremental review on 1fec67b
  • Looked at 195 lines of code in 4 files
  • Took 2 minutes and 2 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 0 additional comments because they didn't meet confidence threshold of 50%.

Workflow ID: wflow_qI09ylyHkM9Uhusn


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. We'll respond in a few minutes. Learn more here.

.github/workflows/lint-and-format.yml Show resolved Hide resolved
.github/workflows/lint-and-format.yml Show resolved Hide resolved
.github/workflows/lint-and-format.yml Show resolved Hide resolved
Signed-off-by: Diwank Singh Tomer <[email protected]>
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.

❌ Changes requested.

  • Performed an incremental review on 667c2bb
  • Looked at 32 lines of code in 2 files
  • Took 1 minute and 49 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 0 additional comments because they didn't meet confidence threshold of 50%.

Workflow ID: wflow_swUQasHznN9bZD4c


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. We'll respond in a few minutes. Learn more here.

.github/workflows/lint-and-format.yml Show resolved Hide resolved
Signed-off-by: Diwank Singh Tomer <[email protected]>
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.

❌ Changes requested.

  • Performed an incremental review on 3bab284
  • Looked at 122 lines of code in 4 files
  • Took 2 minutes and 20 seconds to review
More info
  • Skipped 2 files when reviewing.
  • Skipped posting 3 additional comments because they didn't meet confidence threshold of 50%.
1. agents-api/pyproject.toml:34:
  • Assessed confidence : 50%
  • Comment:
    Consider pinning the pytype version to avoid potential issues with future updates.
  • Reasoning:
    The PR author has updated the pyproject.toml files for agents-api, model-serving, and sdks/python. The changes include updating the pytype version and refining the typecheck command. These changes seem to be in line with best practices. However, the pytype version is not pinned and could lead to unexpected behavior if a new version introduces breaking changes.
2. model-serving/pyproject.toml:35:
  • Assessed confidence : 50%
  • Comment:
    Consider pinning the pytype version to avoid potential issues with future updates.
  • Reasoning:
    The same issue with the pytype version not being pinned is present in the model-serving/pyproject.toml file. This could lead to unexpected behavior if a new version introduces breaking changes.
3. sdks/python/pyproject.toml:20:
  • Assessed confidence : 50%
  • Comment:
    Consider pinning the pytype version to avoid potential issues with future updates.
  • Reasoning:
    The same issue with the pytype version not being pinned is present in the sdks/python/pyproject.toml file. This could lead to unexpected behavior if a new version introduces breaking changes.

Workflow ID: wflow_YUSodilcWUhRixq1


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. We'll respond in a few minutes. Learn more here.

.github/workflows/lint-and-format.yml Show resolved Hide resolved
@creatorrr creatorrr merged commit 0c503d9 into dev Apr 16, 2024
5 of 9 checks passed
@creatorrr creatorrr deleted the feat-Improve-GitHub-action branch April 16, 2024 03:39
alt-glitch pushed a commit that referenced this pull request Apr 16, 2024
* Update lint-and-format.yml

* feat: Update lint-and-format.yml

* feat: Parallelize lint-and-format.yml

* fix: Update lint-and-format.yml

* fix: Disable npm run lint in lint-and-format.yml

* fix: Update lint-and-format.yml

* fix: Update lint-and-format.yml

* fix: Update lint-and-format.yml

* fix(.github): Fix github action

Signed-off-by: Diwank Singh Tomer <[email protected]>

* fix(.github): Fix github action

Signed-off-by: Diwank Singh Tomer <[email protected]>

* fix(.github): Fix github action

Signed-off-by: Diwank Singh Tomer <[email protected]>

---------

Signed-off-by: Diwank Singh Tomer <[email protected]>
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.

1 participant