diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a3910ba82..862483e976 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,7 +38,14 @@ PRs that don't meet these requirements will be automatically closed. See [Automa ### Pull Request Requirements -All PRs must be created as **drafts**. Non-draft PRs will be automatically converted to draft. Mark your PR as "Ready for review" once: +To maintain the quality of contributions, we ask the following of non-maintainers: + +- **Issue reference required.** Your PR body must reference a GitHub issue in the `getsentry` organization (e.g. `#123`, `getsentry/sentry#456`, or a full GitHub issue URL). +- **Prior discussion required.** The referenced issue must show a conversation between you and a maintainer. +- **Respect existing assignees.** If the referenced issue is assigned to someone other than you, the PR will be closed. Coordinate in the issue first. +- **All PRs must be created as drafts.** Non-draft PRs will be automatically converted to draft. + +Mark your PR as "Ready for review" once: - CI passes - The PR description is complete (what, why, and links to relevant issues) @@ -52,16 +59,6 @@ For the full set of PR standards, see the [code submission standard](https://dev You are welcome to use whatever tools you prefer for making a contribution. However, any changes you propose have to be reviewed and tested by you, a human, first, before you submit a pull request with them for the Sentry team to review. If we feel like that didn't happen, we will close the PR outright. For example, we won't review visibly AI-generated PRs from an agent instructed to look for and "fix" open issues in the repo. -### Automated Checks - -To maintain the quality of contributions, we use automated workflows that enforce the following rules for PRs from non-maintainers: - -- **Issue reference required.** Your PR body must reference a GitHub issue in the `getsentry` organization (e.g. `#123`, `getsentry/sentry#456`, or a full GitHub issue URL). -- **Prior discussion required.** The referenced issue must show a conversation between you and a maintainer. Opening the issue counts as participation — but a maintainer must have also responded. -- **Respect existing assignees.** If the referenced issue is assigned to someone other than you, the PR will be closed. Coordinate in the issue first. - -PRs that don't meet these criteria are automatically closed and labeled `violating-contribution-guidelines`. If your PR was closed by mistake, comment on the issue to discuss with a maintainer and then open a new PR. - ## Development Environment ### Set up Python @@ -74,7 +71,6 @@ On macOS, we recommend using `brew` to install Python. For Windows, we recommend Before you can contribute, you will need to [fork the `sentry-python` repository](https://github.com/getsentry/sentry-python/fork). Then, clone the forked repository to your local development environment. - ### Development Tooling We use [uv](https://docs.astral.sh/uv/) to manage the project's virtual environment and dev dependencies. Install uv following the [official instructions](https://docs.astral.sh/uv/getting-started/installation/), then run: