From fef1f9b771fa119a9dbfc7b89ca89a7c84d5b0b7 Mon Sep 17 00:00:00 2001 From: mday-io Date: Mon, 30 Nov 2026 15:52:39 -0500 Subject: [PATCH] docs: add pull request scope and new engine guidelines to CONTRIBUTING.md Signed-off-by: mday-io --- CONTRIBUTING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1e8757420c..52c5a60803 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -111,6 +111,16 @@ recategorize a PR, change its title rather than its labels. Use `ci` or `test` a or scope for internal-only changes (e.g. `fix(ci): ...`) so they are left out of the release notes. A maintainer can add the `skip-changelog` label to leave out any other PR. +### Pull Request Scope + +- Keep each pull request to one change that a reviewer can read in a single sitting. Maintainers may ask you to split a pull request that is too large to review. +- Put changes to shared code, meaning anything outside the engine adapter or integration you're working on, in a separate pull request with its own tests. +- Be ready to explain every change in your pull request. If a change came from a coding assistant or an automated reviewer, you're still responsible for why it's needed. + +### Adding a New Engine + +Before you write a new engine adapter, open an issue that describes its first version: which table types and model kinds it supports, what it leaves out, and whether any SQL parsing changes belong in [SQLGlot](https://github.com/tobymao/sqlglot) instead. Wait for a maintainer to agree on the scope before you open a pull request. Add support beyond the first version in follow-up pull requests. + ## Licensing Code contributions are licensed under the [Apache License 2.0](LICENSE). Documentation contributions are licensed under [Creative Commons Attribution 4.0 International (CC-BY-4.0)](https://creativecommons.org/licenses/by/4.0/). See the LICENSE file and the [technical charter](sqlmesh-technical-charter.pdf) for details.