potiuk opened a new pull request, #63347: URL: https://github.com/apache/airflow/pull/63347
Extract the monolithic `auto_triage` function body into focused helper functions: - `TriageStats` / `TriageContext` dataclasses for shared state - `_execute_triage_action` — single action dispatch - `_prompt_and_execute_flagged_pr` — interactive review of one flagged PR - `_display_pr_overview_table` — PR overview table rendering - `_filter_candidate_prs` — collaborator/bot/label filtering - `_enrich_candidate_details` — batch fetch checks, mergeability, comments - `_review_workflow_approval_prs` — Phase 4b workflow approval loop - `_review_deterministic_flagged_prs` — Phase 5a deterministic flags review - `_review_llm_flagged_prs` — Phase 5b LLM flags review - `_review_passing_prs` — Phase 5c passing PRs review - `_display_triage_summary` — summary and timing tables Depends on #63319. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (claude-opus-4-6) Generated-by: Claude Code (claude-opus-4-6) 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]
