-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Support PR number with use-airflow-version in Breeze #57667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Refactor: consolidate PR number and repo:branch logic in find_installation_spec Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Remove unused get_repo_and_branch_from_pr function Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com>
jscheffl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! Seems to work as well as code looks good. That is a very cool feature to be faster in review!
|
Indeed. Cool as a breeze :) |
Backport failed to create: v3-1-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 19809dd v3-1-testThis should apply the commit to the v3-1-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 --continue |
…che#57667) * Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Refactor: consolidate PR number and repo:branch logic in find_installation_spec Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Remove unused get_repo_and_branch_from_pr function Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> * Remove not used github utils --------- (cherry picked from commit 19809dd) Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
) (#57688) * Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories Refactor: consolidate PR number and repo:branch logic in find_installation_spec Remove unused get_repo_and_branch_from_pr function Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories * Remove not used github utils --------- (cherry picked from commit 19809dd) Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
Backport in #57688 |
) (#57688) * Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories Refactor: consolidate PR number and repo:branch logic in find_installation_spec Remove unused get_repo_and_branch_from_pr function Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories * Remove not used github utils --------- (cherry picked from commit 19809dd) Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
) (#57688) * Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories Refactor: consolidate PR number and repo:branch logic in find_installation_spec Remove unused get_repo_and_branch_from_pr function Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Add tests for PR number pattern matching Move PR_NUMBER_PATTERN to global_constants for consistency Add error handling for deleted fork repositories * Remove not used github utils --------- (cherry picked from commit 19809dd) Co-authored-by: LIU ZHE YOU <68415893+jason810496@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Refactor: consolidate PR number and repo:branch logic in find_installation_spec Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Remove unused get_repo_and_branch_from_pr function Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Support use-airflow-version with PR num for Breeze Add PR number support to --use-airflow-version option Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add tests for PR number pattern matching Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Move PR_NUMBER_PATTERN to global_constants for consistency Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> Add error handling for deleted fork repositories Co-authored-by: jason810496 <68415893+jason810496@users.noreply.github.com> * Remove not used github utils --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
related: #57219
Why
Follow-up PR of Auto-compile UI assets on Breeze start-airflow command #57219 to support
--use-airflow-versionwith<pr_num>.What
Add a util to parse
<pr_number>toowner/repo:branchformat via GitHub API and we are able tostart-airflowwith specific<pr_numberlike: