ColtenOuO opened a new pull request, #71783: URL: https://github.com/apache/airflow/pull/71783
### Sumarry Adds a regression test guarding `providers/common/ai/docs/operators/index.rst`'s "Choosing the right operator" table, which is hand-maintained and has already silently gone stale once (`LLMSchemaCompareOperator` was missing from it until #71738). The test walks every class defined directly in `providers/common/ai/src/airflow/providers/common/ai/operators/` and flags the ones that are: - a subclass of `airflow.sdk.BaseOperator` (transitively, so operators that inherit from another local operator like `LLMOperator` still count) - actually defined in that module, not merely imported into it — so classes like `BaseOperator` itself, pydantic `BaseModel` helpers (`SchemaMismatch`, `SchemaCompareResult`), `BaseOperatorLink` subclasses (`HITLReviewLink`), and imported mixins (`LLMApprovalMixin`, `BranchMixIn`) are correctly excluded and never flagged. Each remaining class name is checked against the text of `docs/operators/index.rst`. Nothing else in CI catches this class of gap today. ### Changes - Adds a regression test `test_operators_index.py`. -- 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]
