Skip to content

Update CONTRIBUTING.md#8852

Open
cj-radcliff wants to merge 1 commit intomainfrom
update_contributing_ai
Open

Update CONTRIBUTING.md#8852
cj-radcliff wants to merge 1 commit intomainfrom
update_contributing_ai

Conversation

@cj-radcliff
Copy link
Collaborator

Updating to include contribution guidelines pertaining to AI generated fixes.

We want to ensure that our community is properly guided on our expectations around AI generated contributions.

Updating to include contribution guidelines pertaining to AI generated fixes.
@cj-radcliff cj-radcliff requested a review from pq March 13, 2026 21:42
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds contribution guidelines for changes prepared using AI tools to CONTRIBUTING.md. The new section is clear and sets reasonable expectations for contributors. I have one suggestion to clarify the testing requirements to ensure that contributions do not inadvertently break existing tests.

Comment on lines +47 to +48
2. You must ensure that uploaded code compiles and passes at least the tests you have yourself
added as part of the change.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The requirement for testing could be stronger. Stating that the code must pass 'at least the tests you have yourself added' might be misinterpreted as allowing regressions in existing tests. To avoid ambiguity, it would be better to require that all relevant tests pass.

Suggested change
2. You must ensure that uploaded code compiles and passes at least the tests you have yourself
added as part of the change.
2. You must ensure that uploaded code compiles and passes all relevant tests.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pq what do you say?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love where this is going. Without digging too deep, I wonder if we couldn't all converge on what @elliette landed for devtools w/ flutter/devtools#9700? It'd be nice to have one consistent set of guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants