From ff4cbd3aed0ff63b0d85b2b0f4da9ac15865e9cc Mon Sep 17 00:00:00 2001 From: viiccwen Date: Tue, 14 Jul 2026 16:29:55 +0800 Subject: [PATCH] Fix documented Breeze selective checks command Contributor instructions currently point to a nonexistent Breeze command, preventing developers and coding agents from reproducing selective CI decisions locally. Signed-off-by: viiccwen --- AGENTS.md | 2 +- contributing-docs/08_static_code_checks.rst | 2 +- dev/breeze/doc/ci/04_selective_checks.md | 2 +- dev/skill-evals/last-eval-hash.txt | 2 +- scripts/tests/ci/prek/test_generate_agent_skills.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 9b8c091f4335e..0c8829d79b65a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -54,7 +54,7 @@ Don't spell out **Directed Acyclic Graph** except for historical context. - **Run regular (fast) static checks:** `prek run --from-ref --stage pre-commit` - **Run manual (slower) checks:** `prek run --from-ref --stage manual` - **Build docs:** `breeze build-docs` -- **Determine which tests to run based on changed files:** `breeze selective-checks --commit-ref ` +- **Determine which tests to run based on changed files:** `breeze ci selective-check --commit-ref ` SQLite is the default backend. Use `--backend postgres` or `--backend mysql` for integration tests that need those databases. If Docker networking fails, run `docker network prune`. diff --git a/contributing-docs/08_static_code_checks.rst b/contributing-docs/08_static_code_checks.rst index 74788cd4e0cec..f083a957a9aea 100644 --- a/contributing-docs/08_static_code_checks.rst +++ b/contributing-docs/08_static_code_checks.rst @@ -236,7 +236,7 @@ To check other usage types of the pre-commit framework, see `Pre-commit website - "- **Run regular (fast) static checks:** `prek run --from-ref --stage pre-commit`" - "- **Run manual (slower) checks:** `prek run --from-ref --stage manual`" - "- **Build docs:** `breeze build-docs`" - - "- **Determine which tests to run based on changed files:** `breeze selective-checks --commit-ref `" + - "- **Determine which tests to run based on changed files:** `breeze ci selective-check --commit-ref `" .. AGENT-SKILL-END Disabling particular checks diff --git a/dev/breeze/doc/ci/04_selective_checks.md b/dev/breeze/doc/ci/04_selective_checks.md index dd47f24b19abc..ebc6e54586333 100644 --- a/dev/breeze/doc/ci/04_selective_checks.md +++ b/dev/breeze/doc/ci/04_selective_checks.md @@ -310,7 +310,7 @@ all versions), the cause is almost always a single rule that fired. To find it: 2. **Reproduce locally** with Breeze, pointing at the squashed commit of your change: ```bash - breeze selective-checks --commit-ref + breeze ci selective-check --commit-ref ``` It prints the same outputs and the same `[warning]` reasons CI uses, so you can iterate without diff --git a/dev/skill-evals/last-eval-hash.txt b/dev/skill-evals/last-eval-hash.txt index 56953a74fd495..8d29ed7d85ade 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. -9901af13862556bf571a3db5950f1bd32b1cbb79e8e18d3eb41e4fc3827788ce +cdf346752bd43c958355d98e63453bc4a00dd82727dde4243b1c01a2e2afb5fe diff --git a/scripts/tests/ci/prek/test_generate_agent_skills.py b/scripts/tests/ci/prek/test_generate_agent_skills.py index 166b7e65ee81b..899b77721e08b 100644 --- a/scripts/tests/ci/prek/test_generate_agent_skills.py +++ b/scripts/tests/ci/prek/test_generate_agent_skills.py @@ -44,4 +44,4 @@ def test_render_lines_produces_bullet_list(): assert any("uv run --project pytest" in line for line in lines) assert any("breeze testing helm-tests" in line for line in lines) assert any("prek run mypy-" in line for line in lines) - assert any("breeze selective-checks" in line for line in lines) + assert any("breeze ci selective-check --commit-ref" in line for line in lines)