Skip to content

Conversation

kaxil
Copy link
Member

@kaxil kaxil commented Aug 8, 2025

  • Fix is_cherrypicked function to detect PRs with multiple reference numbers
  • Differentiate between Closed and Merged status for better PR state visibility
  • Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers appended during cherry-picking (e.g., '(#53955) (#53964)'). This change improves release management workflow by providing clearer PR status information.

Previously it was showing the following even though it was cherry-picked:

53955 | PR    | doc-only      | Closed | Removed bold formatting for Public Interface for Airflow 3.0+                       | No     | 8e1201c | https://github.com/apache/airflow/pull/5395

Now:

NUMBER | TYPE  | CHANGELOG     | STATUS | TITLE                                                                               | MERGED |  COMMIT | URL
 53952 | PR    | bug-fix       | Merged | Fix dag_versions property when created_dag_version is None with bundle_version set  | No     | 79e6fd3 | https://github.com/apache/airflow/pull/53952
 53814 | PR    | Uncategorized | Merged | Fix custom xcom backend deserialize when BaseXCom.get_all is used                   | No     | a8c4ba3 | https://github.com/apache/airflow/pull/53814
 53825 | PR    | Uncategorized | Merged | Fix poolbar counts                                                                  | No     | e83ca8e | https://github.com/apache/airflow/pull/53825
 53812 | PR    | Uncategorized | Open   | Fix migration when xcom has NaN values                                              | No     |         | https://github.com/apache/airflow/pull/53812
 53746 | PR    | Uncategorized | Open   | Add indexes on `span_status` and `dag_version_id` in `task_instance`                | No     |         | https://github.com/apache/airflow/pull/53746
 53654 | PR    | bug-fix       | Closed | Fix DAG callbacks missing dag_run in context                                        | No     |         | https://github.com/apache/airflow/pull/53654
 53684 | PR    | Uncategorized | Merged | Restore proper DAG callback  execution context                                      | No     | ef80507 | https://github.com/apache/airflow/pull/53684
 50740 | PR    | doc-only      | Merged | Fix incorrect reference to SimpleHttpOperator in 3.0.0 release notes                | No     | 71f4224 | https://github.com/apache/airflow/pull/50740
 53475 | PR    | Uncategorized | Merged | Use asyncio.run instead of loop.run_until_complete.                                 | No     | 81ac72c | https://github.com/apache/airflow/pull/53475
 53532 | PR    | bug-fix       | Merged | Fixed Task group names duplication in Task's task_id for MappedOperator             | No     | 6b618ef | https://github.com/apache/airflow/pull/53532
 53459 | PR    | bug-fix       | Closed | Validate executor_config keys in BaseOperator                                       | No     |         | https://github.com/apache/airflow/pull/53459
 53476 | PR    | Uncategorized | Closed | Add ToTriggerSupervisor message types                                               | No     |         | https://github.com/apache/airflow/pull/53476
 53425 | PR    | Uncategorized | Merged | Updating K8's supported versions in `prerequisites.rst` to match `README.md`        | No     | 2328461 | https://github.com/apache/airflow/pull/53425
 53473 | PR    | doc-only      | Merged | Update dag bundles docs; add s3, fix git classpath                                  | No     | bf5fd5f | https://github.com/apache/airflow/pull/53473
 53460 | PR    | doc-only      | Merged | Fix broken link in advanced logging config docs                                     | No     | df5c949 | https://github.com/apache/airflow/pull/53460
 53331 | PR    | doc-only      | Merged | Add note about ruff rules and preview flag                                          | No     | d4d4cce | https://github.com/apache/airflow/pull/53331
 53071 | PR    | bug-fix       | Open   | Fix rendering of template fields with start from trigger                            | No     |         | https://github.com/apache/airflow/pull/53071
 52871 | PR    | Uncategorized | Merged | Fix task configuration defaults for AbstractOperator                                | No     | 04d2d3b | https://github.com/apache/airflow/pull/52871
 52786 | PR    | bug-fix       | Merged | Allow DEFAULT_QUEUE to be configurable from airflow settings in Task SDK            | No     | c65dc8e | https://github.com/apache/airflow/pull/52786
 52259 | PR    | doc-only      | Closed | docs: clarify AssetAlias usage with detailed explanation and examples               | No     |         | https://github.com/apache/airflow/pull/52259
 52797 | PR    | Uncategorized | Merged | Fixing bad cadwyn migration for upstream map indexes                                | No     | 2bb5d01 | https://github.com/apache/airflow/pull/52797
 52380 | PR    | Uncategorized | Open   | Ensure consistent relative path handling in clear_orphaned_import_errors            | No     |         | https://github.com/apache/airflow/pull/52380
 52231 | PR    | bug-fix       | Open   | Add ordering to AssetEvent query in SchedulerJobRunner                              | No     |         | https://github.com/apache/airflow/pull/52231
 51511 | PR    | bug-fix       | Open   | Fix Certain DAG import errors ("role does not exist") don't persist in Airflow      | No     |         | https://github.com/apache/airflow/pull/51511
 48557 | PR    | bug-fix       | Open   | handle overflow in TaskInstance next_retry_datetime fixes 47971                     | No     |         | https://github.com/apache/airflow/pull/48557

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(apache#53955) (apache#53964)'). This change improves
release management workflow by providing clearer PR status information.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch labels Aug 8, 2025
@kaxil kaxil merged commit 29a1cb0 into apache:main Aug 8, 2025
58 checks passed
@kaxil kaxil deleted the fix-dev-script branch August 8, 2025 20:14
github-actions bot pushed a commit that referenced this pull request Aug 8, 2025
- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(#53955) (#53964)'). This change improves
release management workflow by providing clearer PR status information.
(cherry picked from commit 29a1cb0)

Co-authored-by: Kaxil Naik <[email protected]>
Copy link

github-actions bot commented Aug 8, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

@potiuk
Copy link
Member

potiuk commented Aug 8, 2025

Nice!

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 8, 2025
…e#54287)

- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(apache#53955) (apache#53964)'). This change improves
release management workflow by providing clearer PR status information.
(cherry picked from commit 29a1cb0)

Co-authored-by: Kaxil Naik <[email protected]>
@gopidesupavan
Copy link
Member

good update :)

kaxil added a commit that referenced this pull request Aug 8, 2025
… (#54289)

- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(#53955) (#53964)'). This change improves
release management workflow by providing clearer PR status information.
(cherry picked from commit 29a1cb0)

Co-authored-by: Kaxil Naik <[email protected]>
github-actions bot pushed a commit to astronomer/airflow that referenced this pull request Aug 8, 2025
…e#54287)

- Fix `is_cherrypicked` function to detect PRs with multiple reference numbers
- Differentiate between Closed and Merged status for better PR state visibility
- Add PEP 723 script dependencies for easier execution with 'uv run --no-project'

The cherry-pick detection was failing for PRs that had additional PR numbers
appended during cherry-picking (e.g., '(apache#53955) (apache#53964)'). This change improves
release management workflow by providing clearer PR status information.
(cherry picked from commit 29a1cb0)

Co-authored-by: Kaxil Naik <[email protected]>
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants