apache / apache/airflow

Mark a Task as Not Eligible for Backfill

Open
#47,494 3 comments 0 reactions 0 assignees View on GitHub
area:backfill kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 10h
Merged PRs (30d)
483

Description

### Description

Add a attribute to existing tasks so that when the dag is cleaned, if the task has been succeeded before, it won't rerun again.

### Use case/motivation

_No response_

### Related issues

_No response_

### Are you willing to submit a PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating DAG cleanup and backfill handling in the scheduler, then review how task success is persisted; done means an attribute on existing tasks prevents a previously succeeded task from rerunning during cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.