Skip to content

Refactor latest DagRun load options for consistency - #67911

Merged
henry3260 merged 1 commit into
apache:mainfrom
henry3260:use-factory-function-in-collection
Aug 17, 2026
Merged

henry3260 merged 1 commit into
apache:mainfrom
henry3260:use-factory-function-in-collection

Conversation

@henry3260

Copy link
Copy Markdown
Member

related : https://github.com/apache/airflow/pull/66488/changes/BASE..846d67b3fa51e5395fa5600aeb50555ddbaa34eb#r3341564478

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@henry3260

Copy link
Copy Markdown
Member Author

cc @jason810496

@eladkal eladkal added this to the Airflow 3.3.0 milestone Jun 7, 2026
@eladkal eladkal added the type:misc/internal Changelog: Misc changes that should appear in change log label Jun 7, 2026
@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label Jun 8, 2026
@henry3260
henry3260 requested a review from jason810496 July 4, 2026 12:50

@SameerMesiah97 SameerMesiah97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. It looks like you have replaced all repeated blocks of code in this file with an invocation to _build_latest_run_load_options. I do question the value of this refactor as duplicated block is fairly small, and having the loaded columns visible at each query makes the intent a bit more explicit. But I will not block the PR for such a subjective concern.

@vatsrahul1001

Copy link
Copy Markdown
Contributor

LGTM!, We can merge after maintainers review cc: @ephraimbuddy @jedcunningham

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the cleanup.

@henry3260
henry3260 merged commit a8a2904 into apache:main Aug 17, 2026
81 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
✅ v3-3-test PR Link

aws-airflow-bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 17, 2026
henry3260 added a commit that referenced this pull request Aug 17, 2026
vatsrahul1001 pushed a commit that referenced this pull request Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dag-processor ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants