-
Notifications
You must be signed in to change notification settings - Fork 926
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
Conversation
There was a problem hiding this 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 in1
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 of50%
.
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.
Signed-off-by: Diwank Singh Tomer <[email protected]>
There was a problem hiding this 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 in4
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 of50%
.
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.
Signed-off-by: Diwank Singh Tomer <[email protected]>
There was a problem hiding this 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 in2
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 of50%
.
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.
Signed-off-by: Diwank Singh Tomer <[email protected]>
There was a problem hiding this 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 in4
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 of50%
.
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.
* 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]>
Summary:
This PR enhances the GitHub action workflow with automatic code formatting, refines linting commands, updates
pytype
version inpyproject.toml
files, and improves code readability insdks/ts/tests/sessions.test.ts
.Key points:
pyproject.toml
files ofagents-api
,model-serving
, andsdks/python
.pytype
version inpyproject.toml
files.sdks/ts/tests/sessions.test.ts
.Generated with ❤️ by ellipsis.dev