-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: optimise CI by running tests only for modified code paths #930
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 everything up to 43a7cc8 in 11 seconds
More details
- Looked at
47
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. .github/workflows/common.yml:5
- Draft comment:
Consider using a more inclusive branch name like 'main' instead of 'master', as 'main' is becoming the standard default branch name. - Reason this comment was not posted:
Confidence changes required:50%
The PR optimizes CI by running tests only for modified code paths. The changes in the YAML files are consistent with this intent, as they specify paths for triggering workflows. However, there is a potential issue with the use of 'master' branch, which might not be the default branch in all repositories.
2. .github/workflows/run_examples.yml:6
- Draft comment:
Consider using a more inclusive branch name like 'main' instead of 'master', as 'main' is becoming the standard default branch name. - Reason this comment was not posted:
Confidence changes required:50%
The PR optimizes CI by running tests only for modified code paths. The changes in the YAML files are consistent with this intent, as they specify paths for triggering workflows. However, there is a potential issue with the use of 'master' branch, which might not be the default branch in all repositories.
3. .github/workflows/run_js_test.yml:6
- Draft comment:
Consider using a more inclusive branch name like 'main' instead of 'master', as 'main' is becoming the standard default branch name. - Reason this comment was not posted:
Confidence changes required:50%
The PR optimizes CI by running tests only for modified code paths. The changes in the YAML files are consistent with this intent, as they specify paths for triggering workflows. However, there is a potential issue with the use of 'master' branch, which might not be the default branch in all repositories.
Workflow ID: wflow_LBgcep1ZOMoSErIE
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Code Review SummaryOverall AssessmentThe changes to optimize CI by adding path filters are well-structured and will improve CI efficiency. The implementation is clean and follows GitHub Actions best practices. Positive Aspects✅ Good optimization of CI/CD pipelines Suggestions for Improvement
Code Quality Rating: 8/10The changes are solid and will improve CI performance. The suggestions above would mainly enhance coverage and maintainability, but the core functionality is well implemented. |
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! Incremental review on a07c85d in 22 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. docs/framework/autogen.mdx:5
- Draft comment:
The change from 'apps' to 'Apps' is unnecessary and inconsistent with the rest of the document. Consider reverting it to maintain consistency. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about a change made in the diff, specifically the capitalization of 'Apps'. The comment suggests reverting the change for consistency, which is a valid concern if the rest of the document uses 'apps'. However, without seeing the rest of the document, it's hard to confirm if this is indeed inconsistent. The comment is actionable as it suggests a specific change.
I might be missing the context of the rest of the document, which could confirm or refute the claim of inconsistency. The comment assumes that consistency is required without evidence from the rest of the document.
Given the lack of context, it's safer to assume the comment might be correct about consistency, but without strong evidence, it's hard to be certain.
The comment is about a change made in the diff and suggests an actionable change for consistency. However, without strong evidence of inconsistency, the comment should be given a moderate grade.
Workflow ID: wflow_B13NRnkp6d5u7pLO
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Optimize CI by restricting test runs to specific paths and fix a capitalization issue in documentation.
common.yml
, restricts test runs to changes inpython/**
for bothpush
andpull_request
events.run_examples.yml
, restricts test runs to changes inpython/**
forpush
events.run_js_test.yml
, restricts test runs to changes injs/**
for bothpush
andpull_request
events.autogen.mdx
description.This description was created by
for a07c85d. It will automatically update as commits are pushed.