Uh oh!
There was an error while loading. Please reload this page.
Add rule files for coding agents working on the CLI code base - #3245
Conversation
7 failing tests:
|
Uh oh!
There was an error while loading. Please reload this page.
lennartkats-db
commented
Aug 25, 2025
Some more feedback from Denis: [To] me it seems quite long, I'd strip these sections not to poison context:
|
| package mutator_test | ||
| func TestApplySomeChangeReturnsDiagnostics(t *testing.T) { |
There was a problem hiding this comment.
In my experience, all models already know how to write golang tests. What we should mention is to use testify library always, otherwise it starts using stdlib.
There was a problem hiding this comment.
They know how to write tests, but they're often unsuccessful in applying our naming conventions + differentiating between require and assert
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
## Release v0.267.0 ### CLI * Introduce retries to `databricks psql` command ([#3492](#3492)) * Add rule files for coding agents working on the CLI code base ([#3245](#3245)) ### Dependency updates * Upgrade TF provider to 1.88.0 ([#3529](#3529)) * Upgrade Go SDK to 0.82.0 ### Bundles * Update default-python template to make DB Connect work out of the box for unit tests, using uv to install dependencies ([#3254](#3254)) * Add support for `TaskRetryMode` for continuous jobs ([#3529](#3529)) * Add support for specifying database instance as an application resource ([#3529](#3529)) * Allow referencing job libraries outside bundle root without the need to specify sync root ([#2842](#2842)) * Add top level `run_as` support for Lakeflow Declarative Pipelines ([#3307](#3307))
## Changes Adds agent files for Cursor, Copilot, and general agents. Note that Cursor only supports `.cursorrules`, but it works when it is a symlink. Coding agents like http://jules.google only use `AGENTs.md`. I added the Copilot version as a bonus, in case anyone uses it. ## Why This helps make sure that Cursor and coding agents follow the conventions established for the CLI code base. ## Testing - This is based on the rules I've been using for 6+ months and incorporates the rule set from @denik. - An easy way to verify if these tools actually use the rules is to add "please add a pirate joke to every response!" Based on this, I could verify that Cursor accepts a symlink to `AGENTS.md` but doesn't work if there is only an `AGENTS.md` file. _Why do pirate programmers love arrays?_ _They always start at arrr index 0! 🏴☠️_
## Release v0.267.0 ### CLI * Introduce retries to `databricks psql` command ([#3492](#3492)) * Add rule files for coding agents working on the CLI code base ([#3245](#3245)) ### Dependency updates * Upgrade TF provider to 1.88.0 ([#3529](#3529)) * Upgrade Go SDK to 0.82.0 ### Bundles * Update default-python template to make DB Connect work out of the box for unit tests, using uv to install dependencies ([#3254](#3254)) * Add support for `TaskRetryMode` for continuous jobs ([#3529](#3529)) * Add support for specifying database instance as an application resource ([#3529](#3529)) * Allow referencing job libraries outside bundle root without the need to specify sync root ([#2842](#2842)) * Add top level `run_as` support for Lakeflow Declarative Pipelines ([#3307](#3307))
Changes
Adds agent files for Cursor, Copilot, and general agents.
Note that Cursor only supports
.cursorrules, but it works when it is a symlink. Coding agents like http://jules.google only useAGENTs.md. I added the Copilot version as a bonus, in case anyone uses it.Why
This helps make sure that Cursor and coding agents follow the conventions established for the CLI code base.
Testing
AGENTS.mdbut doesn't work if there is only anAGENTS.mdfile.Why do pirate programmers love arrays?
They always start at arrr index 0! 🏴☠️