Skip to content

Fix misleading comment and pin reprocess behaviour for partitioned backfill#68618

Merged
Lee-W merged 2 commits into
apache:mainfrom
astronomer:fix-backfill-clear-partition-date
Jun 17, 2026
Merged

Fix misleading comment and pin reprocess behaviour for partitioned backfill#68618
Lee-W merged 2 commits into
apache:mainfrom
astronomer:fix-backfill-clear-partition-date

Conversation

@Lee-W

@Lee-W Lee-W commented Jun 16, 2026

Copy link
Copy Markdown
Member

_create_backfill_dag_run_partitioned already created a new run when reprocess_behavior=FAILED/COMPLETED; the old comment incorrectly stated that partitioned backfills never reprocess existing runs. Adds a test to document and guard the intended behaviour (new run alongside the failed one, prior run kept as historical record).


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

Generated-by: [Claude] following the guidelines


  • 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.

@Lee-W Lee-W force-pushed the fix-backfill-clear-partition-date branch from 37539a9 to c1d3616 Compare June 16, 2026 10:35
@Lee-W Lee-W changed the title Allow partitioned backfill to reprocess failed partitions Fix misleading comment and pin reprocess behaviour for partitioned backfill Jun 16, 2026
Lee-W added 2 commits June 16, 2026 18:38
…ckfill

_create_backfill_dag_run_partitioned already created a new run when
reprocess_behavior=FAILED/COMPLETED; the old comment incorrectly stated
that partitioned backfills never reprocess existing runs. Adds a test
to document and guard the intended behaviour (new run alongside the
failed one, prior run kept as historical record).
@Lee-W Lee-W force-pushed the fix-backfill-clear-partition-date branch from c1d3616 to 4acf64d Compare June 16, 2026 10:38
@Lee-W Lee-W marked this pull request as ready for review June 16, 2026 13:08
@Lee-W Lee-W requested review from XD-DENG and ashb as code owners June 16, 2026 13:08
@Lee-W Lee-W requested a review from uranusjr June 16, 2026 13:09
@Lee-W Lee-W merged commit 58ba662 into apache:main Jun 17, 2026
148 checks passed
@Lee-W Lee-W deleted the fix-backfill-clear-partition-date branch June 17, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants