From 8519f713c8410d56ffa42b9b6d92a8aede994994 Mon Sep 17 00:00:00 2001 From: comphead Date: Fri, 3 Jul 2026 11:29:33 -0700 Subject: [PATCH] chore: extend pre commit instructions for AI agents --- AGENTS.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 13515d9e6cb78..1b61183e0bac1 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