mirror of
https://github.com/apache/airflow.git
synced 2026-03-26 15:28:46 +00:00
Add a new Breeze CLI command that helps maintainers efficiently triage open PRs from non-collaborators that don't meet minimum quality criteria. The command fetches open PRs via GitHub GraphQL API with optimized chunked queries, runs deterministic CI checks (failures, merge conflicts, missing test workflows), optionally runs LLM-based quality assessment, and presents flagged PRs interactively for maintainer review with author profiles and contribution history. Key features: - Optimized GraphQL queries with chunking to avoid GitHub timeout errors - Deterministic CI failure detection with categorized fix instructions - LLM assessment via `claude` or `codex` CLI for content quality - Interactive review with Rich panels, clickable links, and author context - "maintainer-accepted" label to skip PRs on future runs - Workflow approval support for first-time contributor PRs awaiting CI runs - Merge conflict and commits-behind detection with rebase guidance Update dev/breeze/src/airflow_breeze/commands/pr_commands.py Update dev/breeze/src/airflow_breeze/utils/llm_utils.py Update contributing-docs/05_pull_requests.rst Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>