Skip to content

Apache DataFusion SQL Query Engine

chore: extend pre commit instructions for AI agents (#23313)

Oleks V0fcaef3e8a29
diff --git a/AGENTS.md b/AGENTS.md
index 13515d9e6c..1b61183e0b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -37,8 +37,20 @@ When creating a PR, you MUST follow the [PR template](.github/pull_request_templ
## Testing
-See the [Testing Quick Start](docs/source/contributor-guide/testing.md#testing-quick-start)
-for the recommended pre-PR test commands.
+If documentation files changed then run
+```bash
+./ci/scripts/doc_prettier_check.sh --write --allow-dirty
+```
+
+Otherwise, run extended tests
+```bash
+RUST_BACKTRACE=1 cargo test --profile ci \
+ --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-cli \
+ --workspace --lib --tests --bins \
+ --features avro,json,backtrace,extended_tests,recursive_protection,parquet_encryption
+```
+
+For modified code identify local benchmarks(if any) and run them against `main`. See [Benchmarks](benchmarks/README.md).
## Agent Skills