This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 274011b4372 Prevent agent checks from starting local servers (#71239)
274011b4372 is described below

commit 274011b4372fe6b24f5f96f386f65da65644c824
Author: Andrew Chang <[email protected]>
AuthorDate: Sat Aug 8 01:26:58 2026 +0800

    Prevent agent checks from starting local servers (#71239)
---
 AGENTS.md                                   | 7 +++++--
 contributing-docs/08_static_code_checks.rst | 2 +-
 dev/skill-evals/last-eval-hash.txt          | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md
index 0c8829d79b6..2086b4040ad 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -52,7 +52,7 @@ Don't spell out **Directed Acyclic Graph** except for 
historical context.
 - **Lint with ruff only:** `prek run ruff --from-ref <target_branch>`
 - **Format with ruff only:** `prek run ruff-format --from-ref <target_branch>`
 - **Run regular (fast) static checks:** `prek run --from-ref <target_branch> 
--stage pre-commit`
-- **Run manual (slower) checks:** `prek run --from-ref <target_branch> --stage 
manual`
+- **Run manual (slower) checks:** `prek run --from-ref <target_branch> --stage 
manual --skip compile-ui-assets-dev --skip view-skill-eval` (the skipped hooks 
start long-running local servers rather than checks that complete)
 - **Build docs:** `breeze build-docs`
 - **Determine which tests to run based on changed files:** `breeze ci 
selective-check --commit-ref <commit_with_squashed_changes>`
 <!-- END generated-commands, please keep comment here to allow auto update -->
@@ -294,7 +294,10 @@ code review checklist in 
[`.github/instructions/code-review.instructions.md`](.g
    described in this file.
 4. Run regular (fast) static checks (`prek run --from-ref <target_branch> 
--stage pre-commit`)
    and fix any failures. This includes mypy checks for non-provider projects 
(airflow-core, task-sdk, airflow-ctl, dev, scripts, devel-common).
-5. Run manual (slower) checks (`prek run --from-ref <target_branch> --stage 
manual`) and fix any failures.
+5. Run manual (slower) checks
+   (`prek run --from-ref <target_branch> --stage manual --skip 
compile-ui-assets-dev --skip view-skill-eval`)
+   and fix any failures. The skipped hooks start long-running local servers 
rather than checks
+   that complete.
 6. Run relevant individual tests and confirm they pass.
 7. Find which tests to run for the changes with selective-checks and run those 
tests in parallel to confirm they pass and check for CI-specific issues.
 8. Check for security issues — no secrets, no injection vulnerabilities, no 
unsafe patterns.
diff --git a/contributing-docs/08_static_code_checks.rst 
b/contributing-docs/08_static_code_checks.rst
index f083a957a9a..161bd7902b8 100644
--- a/contributing-docs/08_static_code_checks.rst
+++ b/contributing-docs/08_static_code_checks.rst
@@ -234,7 +234,7 @@ To check other usage types of the pre-commit framework, see 
`Pre-commit website
      - "- **Lint with ruff only:** `prek run ruff --from-ref <target_branch>`"
      - "- **Format with ruff only:** `prek run ruff-format --from-ref 
<target_branch>`"
      - "- **Run regular (fast) static checks:** `prek run --from-ref 
<target_branch> --stage pre-commit`"
-     - "- **Run manual (slower) checks:** `prek run --from-ref <target_branch> 
--stage manual`"
+     - "- **Run manual (slower) checks:** `prek run --from-ref <target_branch> 
--stage manual --skip compile-ui-assets-dev --skip view-skill-eval` (the 
skipped hooks start long-running local servers rather than checks that 
complete)"
      - "- **Build docs:** `breeze build-docs`"
      - "- **Determine which tests to run based on changed files:** `breeze ci 
selective-check --commit-ref <commit_with_squashed_changes>`"
 .. AGENT-SKILL-END
diff --git a/dev/skill-evals/last-eval-hash.txt 
b/dev/skill-evals/last-eval-hash.txt
index 8d29ed7d85a..23452e4e6f3 100644
--- a/dev/skill-evals/last-eval-hash.txt
+++ b/dev/skill-evals/last-eval-hash.txt
@@ -1,3 +1,3 @@
 # Generated by dev/skill-evals/eval.py — do not edit or resolve conflicts by 
hand.
 # Run `prek run run-skill-eval --hook-stage manual --all-files` to regenerate.
-cdf346752bd43c958355d98e63453bc4a00dd82727dde4243b1c01a2e2afb5fe
+725f2a0640c5b6fec7f6666484a0577dde5c87f19206b1d0bdf191a7094cd98d

Reply via email to