-
Notifications
You must be signed in to change notification settings - Fork 141
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
[#551] docs: update templates for flaky test and pull request #588
Conversation
Codecov Report
@@ Coverage Diff @@
## master #588 +/- ##
============================================
+ Coverage 60.84% 60.85% +0.01%
- Complexity 1797 1798 +1
============================================
Files 214 214
Lines 12398 12398
Branches 1051 1051
============================================
+ Hits 7543 7545 +2
+ Misses 4445 4444 -1
+ Partials 410 409 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM, thanks @kaijchen
.github/PULL_REQUEST_TEMPLATE
Outdated
|
||
Please outline the changes and how this PR fixes the issue. |
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.
You should document these lines should be replaced.
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.
Is it enough to put the tips in parentheses?
.github/PULL_REQUEST_TEMPLATE
Outdated
|
||
Fix: # |
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.
This is not clear. Please add more comments about this section.
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.
This is for reminding PR author to link the issue.
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.
I know you intention. But contributor may got confused about what this is.
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.
How to change it? How about this?
Fix: # | |
Fix: #(issue id) |
.github/PULL_REQUEST_TEMPLATE
Outdated
|
||
Please list the user-facing changes introduced by your change, including | ||
1. change in user-facing APIs | ||
2. addition or removal of property keys |
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.
- if no user-facing changes introduced, simply write 'NO'
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.
Added default answer: "No."
Thanks @advancedxy @jerqi for the review. |
.github/PULL_REQUEST_TEMPLATE
Outdated
- "[MINOR] refactor: fix typo in variable name" | ||
- "[MINOR] docs: fix typo in README" | ||
- "[#255] test: fix flaky test NameOfTheTest" | ||
Reference: https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716 |
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.
is it a good idea to reference a gist url here?
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.
why not?
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.
I prefer a formal URL, such as the conventional commit urk: https://www.conventionalcommits.org/en/v1.0.0/
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.
Let's make it a bit clear:
We are proposing an PR title that prefixed with github's issut autolink then a conventional commits title?
The conventional commit could be referred: https://www.conventionalcommits.org/en/v1.0.0/
Yeah. I think so. However is it possible for you to write a |
Thanks @advancedxy and @jerqi for the review. |
@@ -66,7 +66,7 @@ body: | |||
- type: textarea | |||
attributes: | |||
label: Parent issue | |||
value: "#1733" | |||
value: "" |
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.
value
must be of type String and cannot be empty. @kaijchen
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.
Thanks, can you submit a PR to fix it?
Maybe let's just remove this field?
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.
ok
…pache#588) ### What changes were proposed in this pull request? Update flaky test template and pr template. ### Why are the changes needed? 1. Flaky test template * Title is not consistent with other templates. * Default parent issue is invalid. 2. PR template * Make the instructions shorter to read. * Let PR author remove the instructions so they will read (hopefully). * Update instructions, and add example for PR title. (Resolves apache#551) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? No need.
What changes were proposed in this pull request?
Update flaky test template and pr template.
Why are the changes needed?
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No need.