[PWGLF] update of kstarInOO.cxx#16760
Conversation
|
O2 linter results: ❌ 112 errors, |
|
Please use a meaningful PR title and fix the errors and warnings. |
|
@smaff92 Please don't merge PRs which introduce errors or have vague titles. |
|
Hi @vkucera, Sorry, maybe I missed something, but the latest push cleared all checks except for O2 linter (which is not mandatory), which is fine, no? With respect to the title, I sort-of agree that the title is a bit vague, but simultaneously, looking through the actual changes to the code, it is a large overhaul over many different areas of the code, so it is difficult to pinpoint the title to a single change. What name would you have suggested for the title, for future reference? Best, |
|
Hi @smaff92,
No, it is not fine to ignore errors or warnings. Their very purpose is to report things that are not fine. Errors are top-priority issues that should be fixed immediately before merging, warnings are lower-priority issues that can be fixed later. The fact that it does not block the merging does not mean it can be ignored.
It is up to @JimunLee to summarise what she did. We have guidelines and links to references about writing a good commit message. As a general rule of thumb, if it is not possible to summarise the changes in a brief message, it usually means that the changes are too big for a single PR. |
|
Dear @vkucera, I am sorry; not trying to pick a fight here, but I strongly disagree with some of your points. 1.) Tests that are REQUIRED Operating with the idea that the non-required checks are still pseudo-required is confusing to analyzers and code-owners alike. In this context, what is even the point of having the REQUIRED status? Secondly,
This logic is entirely cyclical. You are appealing to these being errors that should be fixed, while you/the O2linter team are the ones defining them as errors. If you think these warnings/error are mission critical, I feel you should either have to: 1.) Include the mission critical checks into as task that is already REQUIRED Now, every code-owner has their own perspective, but for people that come to me asking to approve their PR's, I will consider: A.) Are the REQUIRED checks passed? If you can point me to a statement within ALICE management/Physics Board that contradicts my approach, I will adjust accordingly. Lastly, I am a bit confused here:
I don't understand what the prescription here is? As you have yourself identified, this PR was broad enough where it was difficult to have a precise title? I mean I agree with you; this single PR is probably too inclusive. But then the prescription should not be "change title", but rather "please make smaller and more precise titles in the future", no? Best Regards, |
|
I will try to clarify.
You can see the "required" and "non required" checks as "critical" and "non critical" for merging the PR, respectively, where the "non critical" category includes multiple tools with different ways of reporting severity levels. Since GitHub only supports pass and fail states of GitHub actions, we try to configure the tools to fail on the more important issues and report the rest as warnings. (That does not make the warnings unimportant.)
What is cyclical about that?
This is a bad idea for several reasons:
The decisions have been made at the WP 14 meetings in agreement with the Analysis Coordinator. Please see the references in the O2 linter log and in the documentation.
I have tried to provide clear guidelines and references on this topic on the page with contribution guidelines. I will appreciate suggestions for improvements. |
|
Dear @vkucera, Let's step back a second. I am not stating that the O2 linter is not justified, or attacking any of the WP14 decisions. This started here:
I take this as an impugnment on my decision to merge this PR. Since the only errors which remained were from the O2 linter, I take the it to mean:
So now, the question is, can you quote me to any directive that states that I, as a code-owner, am not authorized to merge PR's unless they pass all non-required checks? Because from your own statements, these checks are A.) Not mission-critical From this, I view it that the errors in the O2 linter should be treated as recommendations, not something I would block a PR for. I am not saying people should ignore these; I think a lot of them are good and I would suggest some of them. I am merely stating that I will not enforce that people implement these suggestions for a PR to go through. Unless you can provide me a directive that says otherwise, I will continue operating like this.
This is literally what you're doing; by telling me that I should not accept the PR unless the O2 linter errors are cleared is functionally the same as having these as REQUIRED. The difference is that with having it listed as REQUIRED, there is a clear understanding for both code-owner and user what is expected. Currently it is not -- You are suggesting that I am expected to enforce these non-required things as if they required to accept the PR.
It does not have to be in GIT or the PR; I usually communicate my suggestions over mattermost when people ping me for a PR request. Whether people follow any suggestions that are not mission critical (my own, or the non-mandatory checks), I leave up to the analyzer to decide. Best Regards, |
|
Sorry but I don't understand your reasoning. We have checks approved at the collaboration level which tell you: "This is bad. Fix it." and "This could be improved in this way." and your position seems to be: "I am not going to request these fixes and improvements unless I am ordered to do so." which is equivalent to ignoring them. Why do you need an explicit order to enforce a decision that has already been taken?
Please don't distort my words. I did not say that. I said "Please don't merge PRs which introduce errors", i.e. "add new errors". |
Dear experts,
The jet Analysis part has been added.
Thank you,
Jimun