Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
#
# CodeRabbit reviews are advisory. Maintainers decide what blocks a merge.
# Settings not listed here use CodeRabbit's defaults.

reviews:
auto_review:
# Review once when a PR opens. Comment "@coderabbitai review" to review again.
# Re-reviewing every push turned large PRs into a loop of bot findings and fix commits.
auto_incremental_review: false

high_level_summary_in_walkthrough: true
high_level_summary_instructions: >-
Keep the current format. At the end, add a "Scope" line with lines added and removed,
not counting tests and docs, and list any changed files under sqlmesh/core (outside
sqlmesh/core/engine_adapter) or sqlmesh/utils.

path_instructions:
- path: "sqlmesh/core/**"
instructions: >-
This guidance applies only to files outside sqlmesh/core/engine_adapter/. Flag getattr
or hasattr checks on an engine adapter for attributes that aren't defined on the base
EngineAdapter class, and new engine-specific parameters added to shared functions.
Suggest a method on EngineAdapter that engines override instead. Also flag behavior
changes to shared code that the PR description doesn't mention, and suggest moving
them to a separate PR.

# Area labels only. .github/workflows/pr-labels.yaml sets the release-note labels
# (Feature, Bug, performance, Documentation, maintenance, ci, test, breaking-change,
# migration) from the title and files, and maintainers add skip-changelog by hand.
labeling_instructions:
- label: "Engine: Athena"
instructions: Changes Athena behavior, such as sqlmesh/core/engine_adapter/athena.py.
- label: "Engine: BigQuery"
instructions: Changes BigQuery behavior, such as sqlmesh/core/engine_adapter/bigquery.py.
- label: "Engine: Clickhouse"
instructions: Changes ClickHouse behavior, such as sqlmesh/core/engine_adapter/clickhouse.py.
- label: "Engine: Databricks"
instructions: Changes Databricks behavior, such as sqlmesh/core/engine_adapter/databricks.py.
- label: "Engine: DuckDB"
instructions: Changes DuckDB behavior, such as sqlmesh/core/engine_adapter/duckdb.py.
- label: "Engine: Fabric"
instructions: Changes Microsoft Fabric behavior, such as sqlmesh/core/engine_adapter/fabric.py.
- label: "Engine: MySQL"
instructions: Changes MySQL behavior, such as sqlmesh/core/engine_adapter/mysql.py.
- label: "Engine: Postgres"
instructions: Changes Postgres behavior, such as sqlmesh/core/engine_adapter/postgres.py.
- label: "Engine: Redshift"
instructions: Changes Redshift behavior, such as sqlmesh/core/engine_adapter/redshift.py.
- label: "Engine: Snowflake"
instructions: Changes Snowflake behavior, such as sqlmesh/core/engine_adapter/snowflake.py.
- label: "Engine: Spark"
instructions: Changes Spark behavior, such as sqlmesh/core/engine_adapter/spark.py.
- label: "Engine: SQL Server"
instructions: Changes SQL Server behavior, such as sqlmesh/core/engine_adapter/mssql.py.
- label: "Engine: Trino"
instructions: Changes Trino behavior, such as sqlmesh/core/engine_adapter/trino.py.
- label: "Table Format: Iceberg"
instructions: Changes how SQLMesh reads or writes Iceberg tables on any engine.
- label: "Project: dbt"
instructions: Changes dbt support, such as sqlmesh/dbt/ or sqlmesh_dbt/.
- label: "Project: UI"
instructions: Changes the web UI, such as web/.
- label: "Project: VSCode Extension"
instructions: Changes the VS Code extension or language server, such as vscode/ or sqlmesh/lsp/.
- label: "Project: CICD Bot"
instructions: Changes the GitHub CI/CD bot, such as sqlmesh/integrations/github/ or sqlmesh/cicd/.
- label: "Scheduler: Built-in"
instructions: Changes the built-in scheduler, such as sqlmesh/core/scheduler.py or sqlmesh/schedulers/.
- label: "UX"
instructions: Changes what users see or configure, such as CLI output, error messages or config settings.
- label: "Tech Debt"
instructions: Only internal cleanup with no behavior change.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Optionally, `make install-pre-commit` installs git hooks so ruff and mypy run on
- Ensure all CI checks pass
- Include a DCO sign-off on all commits (`git commit -s`)
- Be responsive to review feedback from maintainers
- CodeRabbit reviews each pull request once when it opens. Comment `@coderabbitai review` to request another review. Its comments are suggestions: a maintainer's review decides what blocks a merge, and resolving every CodeRabbit comment doesn't mean the PR is ready.
Comment thread
mday-io marked this conversation as resolved.
Resolved

### Pull Request Titles

Expand Down
Loading