Add cross-references, overlapping PR detection, and search to TUI#64579
Add cross-references, overlapping PR detection, and search to TUI#64579potiuk merged 2 commits intoapache:mainfrom
Conversation
- Extract #N references from PR bodies and display them in the detail panel as clickable links. - Parse file paths from diffs to detect open PRs that touch the same files. Overlapping PRs are shown in the detail panel with shared file names. - Fetch all diffs during the loading phase so overlaps are ready before the TUI opens. - Add "/" key to jump to a PR by number, title, or author name. Signed-off-by: André Ahlert <andre@aex.partners>
2806931 to
98e4e5f
Compare
|
Kept the / search to PR numbers only since it's more of a quick jump shortcut, we can explore proper filtering (by author, labels, etc.) as a separate thing later. |
|
Can you please rebase to latest main and fix the mypy issue? |
Signed-off-by: André Ahlert <andre@aex.partners>
b95ff64 to
6442778
Compare
Backport failed to create: v3-2-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 979547f v3-2-testThis should apply the commit to the v3-2-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
Summary
Why
When triaging a batch of PRs, each one is evaluated in isolation. The maintainer has no way to tell from the TUI whether two open PRs modify the same files (potential merge conflicts or semantic conflicts) or which issues and PRs are referenced in the description. This context matters for triage decisions and today requires manually checking each PR on GitHub.
#Nreferences from PR bodies and display them as clickable links in the TUI detail panel.pr_context.pywith 14 unit tests covering extraction and overlap logic.Test plan
breeze pr auto-triage --tui --pr 64518showsReferences: #64477in detail panelbreeze pr auto-triage --tui --max-num 20then navigate between fix: log and optionally raise on record-level failures in SalesforceBulkOperator #64519 and Add transient-error retry to SalesforceBulkOperator #64575 showsOverlapping PRs: #64575: bulk.pyWas generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.