viiccwen opened a new issue, #69858:
URL: https://github.com/apache/airflow/issues/69858

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   `main`
   
   ### What happened and how to reproduce it?
   
   Contributor documentation instructs developers and coding agents to 
determine the required test scope with:
   
   ```bash
   breeze selective-checks --commit-ref <commit_sha>
   ```
   
   The command is documented in the generated Commands section of `AGENTS.md` 
and in the selective checks troubleshooting guide. Running it from the 
repository root fails because `selective-checks` is not a top-level Breeze 
command:
   
   ```console
   $ breeze selective-checks --help
   Error: No such command 'selective-checks'.
   ```
   
   Adding the documented concept as a `ci` subcommand while retaining the 
plural form also fails:
   
   ```console
   $ breeze ci selective-checks --help
   Error: No such command 'selective-checks'. (Did you mean one of: 
'resource-check', 'selective-check'?)
   ```
   
   The registered command, shown by `breeze ci --help` and used by the GitHub 
Actions workflows, is:
   
   ```bash
   breeze ci selective-check --commit-ref <commit_sha>
   ```
   
   The incorrect generated `AGENTS.md` entry originates in the `AGENT-SKILL` 
block in `contributing-docs/08_static_code_checks.rst`. The generator test 
currently expects the same incorrect command, so it does not detect the 
mismatch.
   
   
   ### What you think should happen instead?
   
   Contributor documentation should consistently use the registered command:
   
   ```bash
   breeze ci selective-check --commit-ref <commit_sha>
   ```
   
   The source `AGENT-SKILL` block, generated `AGENTS.md` content, selective 
checks troubleshooting guide, and generator test should be updated together so 
the documented local reproduction command matches the CLI and CI workflows.
   
   
   ### Operating System
   
   _No response_
   
   ### Deployment
   
   None
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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