Andrushika opened a new pull request, #73241:
URL: https://github.com/apache/airflow/pull/73241

   ## Result
   
   A new developer-facing (and agent-facing) breeze command. 
   It reads your diff and lists the exact commands CI would run for it, so you 
can run them locally instead of guessing. 
   Dry-run only for now. **The plan is to add `--run` next, so the same command 
can really execute the list.**
   
   <img width="1261" height="493" alt="image" 
src="https://github.com/user-attachments/assets/b60ff7f1-6e22-4986-9120-b536e31c461b";
 />
   
   ## Why
   
   Before opening a PR, AGENTS.md step 7 asks an agent to find the tests CI 
would run for the change and run the relevant ones locally. The tool for that 
is `breeze ci selective-check`, which was built for the build-info job in CI: 
it reads one commit and prints outputs like `run-unit-tests=true` for the 
workflows to consume. It does not say which command each output maps to, so a 
contributor still has to read `ci-amd.yml`, `run-unit-tests.yml` and 
`run_unit_tests.sh` to get a `breeze testing` line. 
   
   In practice people, and agents, guess from file paths instead. That misses 
rules like "a core change also runs provider tests" or "a change under 
`dev/breeze/` runs everything", and ends as a red CI later or "push and see".
   
   ## What
   
   Add `breeze verify`. It feeds the working-tree diff against `--base-ref` to 
the same `SelectiveChecks` class, unchanged, and lists the commands for the 
default CI matrix cell (default Python, sqlite). Nothing is executed. This 
shape is temporary: a follow-up adds `--run` and moves the listing under 
`--dry-run`, with a lean mode for changes that make CI run everything.
   
   I considered a flag on `breeze ci selective-check` instead, but that group 
is CI-facing and its inputs assume a CI context. The plan builder is a 
standalone function, so moving it there is a small change if it's preferred.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Fable 5.1); reviewed with Codex (gpt-5.6-sol)
   
   Generated-by: Claude Code (Fable 5.1) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to