Repository navigation
chore(ci): add CodeRabbit config #6286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.