-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
[TEST] Remove redundant cluster checks #98694
[TEST] Remove redundant cluster checks #98694
Conversation
…de*, which implicitly calls validateClusterFormed().
Pinging @elastic/es-distributed (Team:Distributed) |
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.
For the type label, would this be >test or >non-issue? I was perusing the type labels here
The difference is fairly subtle, but >non-issue
is normally some kind of small or user-invisible change but may alter production code so we wouldn't backport it in general, whereas >test
changes only touch test code and are fine to backport. Since there's no backport proposed here, it doesn't really matter. I'd call it >test
.
Change itself LGTM but I have a couple of tiny admin nits (also from the team docs):
-
It's good to aim for a commit title of ~50 chars (not always possible, but we can definitely get closer to 50 here)
-
It's almost always worth adding a longer body to the commit message with some extra context and links and so on. Here it would be good to link to the issues I mentioned in the comment that gave rise to this PR:
I think they were necessary when they were added in #22182, but #49248 changed that.
Thanks for the pointers! How about this commit message:
I believe I'll have to add the body when I click the merge button, at this point. I expect people usually include all of this in the first commit message when publishing a PR? Only way I can think to have it reviewed. |
Ahh, that does look nicer. Thanks for the script! |
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
Ideally it matches the title and description of the PR - that's the default behaviour in Github (if the branch has one commit when you open the PR) but it can be updated if needed. If you press the merge button manually then you can adjust things, but if you want to use the |
For the type label, would this be
>test
or>non-issue
? I was perusing the type labels here