-
Notifications
You must be signed in to change notification settings - Fork 42
Adapt developer QA guidelines #302
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
base: master
Are you sure you want to change the base?
Conversation
Clarified QA validation process for technical changes and added guidance on labeling.
kpodemski
left a comment
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.
Requested changes will be consulted with the decision makers.
jolelievre
left a comment
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 disagree with this change, I fully agree that some PRs should be tested by devs and it's more efficient. Some modifications are also purely technical and don't change the functional behaviour so in this case QA by dev is relevant.
However, it's not up to the dev to decide that the QA functional is out of the loop, the QA team must be integrated in the decision at least to say "ok a dev can test it". Because any modification, even a refacto, could have an unexpected side effect so it seems hazardous to leave QA out of the process IMHO
|
|
||
| * Version branch merges | ||
| * Changes that have no functional impact (e.g. code comments), cannot be manually verified, or are verified by automated tests. | ||
| * Highly technical changes or changes without user-facing behavior, which may be validated by the maintainer team. |
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.
Totally agree with @jolelievre and @kpodemski : the QA Team should be included in the decision if the PR is too much technical and therefore is a "QA by dev".
Otherwise a maintainer could create pull request, approve it and test it by another maintainer to finally merge it without QA consulted before.
Example : PrestaShop/PrestaShop#40400
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.
Otherwise a maintainer could create pull request, approve it and test it by another maintainer to finally merge it without QA consulted before.
Yeah, exactly. And you would be loosing exclusive control of the project, that the company doesn't want of course. :-)
|
@jolelievre @cnavarro-prestashop Nobody is suggesting to exclude QA from the process entirely. The point of my proposal is speed up and unblock PRs that do not require manual functional QA and are currently stuck for weeks or months despite being purely technical. We are investing quite a lot of money, my time, Dominik's time, into the project for years now and we constantly have to wait even months for QA, or even answer we can dev QA it. Why cannot other investors have their own QA? Everything that we merge is properly developer tested, with screenshots, with UI tests run. We never test our own PRs. We know what to focus on, what changes can break.
Yes, it can, but a chance for a non-developer person to find it is low, in all respect.
If the concern is about potential abuse (for example, maintainers approving and testing their own changes without sufficient oversight), then I can assure you I am the last person who would allow some crap code to go into the core. You know very well that I am nitpicking even if you find your solution usable. 👍 |
|
Hi all, I'm not going to repeat what was said earlier by @jolelievre or @cnavarro-prestashop , with which I generally agree :) Just a few reactions and clarifications:
I know this isn't a criticism of the QA team, but to answer that question: Yes, that's true, pings often get lost in the notifications. I try to check them regularly, but some slip through. For other QAs, it's harder to get their attention because they receive so many GitHub notifications every day that it becomes unmanageable (I'm lucky enough to now only receive the direct ping or qa-functional ping 😅 ).
It depends of the technical profile of the QA. Some have almost no coding knowledge, some a little more. For example, I'm far from considering myself a developer (I once was, a long long time ago...), nevertheless I can read code, understand algorithms, etc... And thus having a general idea of where to look, what impacts a refacto (or other "without user-facing behavior" PR) can have.
To be perfectly honest about this, we discussed it this morning with Cyril and Jo, and the problem isn't so much what you and Dominik are doing, but the fact that it could "open the door" to other people who are less meticulous (whether intentionally or not).
Well, there was indeed a “QA council” at one time, which has somewhat fallen into disuse, whose purpose was to open up external contributions on QA topics as well (I do not recall if you applied at the time, to be honest). And finally, to quote @cnavarro-prestashop :
It's not just "without QA consulted before" but also "without anyone else consulted". |
|
Hello @Robin-Fischer-PS !
Yes, but I think that I am more than well qualified to do this, pointing out things that would other people miss. Example being - PrestaShop/hummingbird#892
About the same risk as letting almost anyone to be a commiter. They can as well do damage by merging things, with no QA. Everyone involved is expected to act responsibly, review code properly, and bear responsibility for their actions. If someone is careless, the problem is not who is allowed to contribute, but how reviews and accountability are handled.
Well, the PR has to be "consulted" with at least other two commiters, which is usually enough to know if the PR is correct. There is no need to consult anyone else. 👍 |
cc @Robin-Fischer-PS @kpodemski