andrijapanicsb commented on PR #14848: URL: https://github.com/apache/cloudstack/pull/14848#issuecomment-7228094362
+1 for the idea. We need some rules for AI work, because some AI issues and PRs come without any testing, and this costs reviewers time. But I have 2 problems with this PR, and I think it **must not be merged like this**. **1. No discussion on dev@** This PR changes CONTRIBUTING.md, so it changes the rules for all contributors. A change like this must first be discussed on the dev@ mailing list. I did not find any discussion about it. Please start a [DISCUSS] thread on dev@, and merge only after we agree there. **2. Different rules for AI work and for all other work** This PR asks a person who uses AI for an issue or a PR to also give: - documentation, or the PendingReleaseNotes text - tests: a reproducer for bugs (steps, unit test or Marvin test), and unit/integration tests for changes - suggested code, "preferably as a pull request", even for a simple bug report And if this is missing, the issue or PR "may be closed or put on hold". We do not ask this for other PRs today. I checked the last 60 merged PRs: - only 1 of 60 added PendingReleaseNotes text - 35 of 60 were approved, at least once, with only "lgtm" or "clgtm", with no testing evidence in that approval - 19 of these 35 did not change any test file These PRs were merged, and I am not saying they are bad. I am saying we cannot ask more from AI-assisted work than we ask from all other work. So the rules must be the same for everybody, no matter which tool is used: - a clear description of the change - verified output, and testing evidence that a human can read - AI use is mentioned, as the ASF already recommends (https://www.apache.org/legal/generative-tooling.html) And "may be closed or put on hold" should not be there at all. Who decides what is "clearly AI-generated"? Anybody can report a bug, and nobody has to send a fix with it. A valid bug report should not be closed because it has no patch. If we want a closing rule, it must be one rule for all PRs and issues, agreed on dev@. Full disclosure: my own recent issue #14835 was AI-assisted, and it came without a PR. I found it while testing another PR for regressions. Under the text of this PR, such an issue "may be closed". When I open AI-assisted PRs, I add the test steps and the results, often with a PDF report, and I am happy to keep doing this. I only ask that the same rules apply to everybody. I am happy to help write the proposal for dev@. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
