Skip to content

Adds validation on backfill dryrun#47790

Merged
bbovenzi merged 4 commits into
apache:mainfrom
aritra24:backfill_validation
Mar 18, 2025
Merged

Adds validation on backfill dryrun#47790
bbovenzi merged 4 commits into
apache:mainfrom
aritra24:backfill_validation

Conversation

@aritra24

Copy link
Copy Markdown
Collaborator

Adds some date checks before triggering backfill dryrun
Fixes: #47698


^ 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 newsfragments.

Adds some date checks before triggering backfill dryrun
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Mar 14, 2025
Comment thread airflow/ui/src/components/DagActions/RunBackfillForm.tsx

@bbovenzi bbovenzi 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.

While we're at it. Do you mind changing the alert for "X runs will be trigger"? Instead of choosing to render or not render, we should just change its visibility. Then the modal won't change size and flicker as the user adjusts params.

@aritra24 aritra24 requested a review from bbovenzi March 14, 2025 19:49

@pierrejeambrun pierrejeambrun 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.

Looks good. Just a few suggestions

Comment thread airflow/ui/src/queries/useCreateBackfill.ts Outdated
Comment thread airflow/ui/src/queries/useCreateBackfillDryRun.ts Outdated
@bbovenzi bbovenzi merged commit 0ff18e3 into apache:main Mar 18, 2025
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Mar 21, 2025
* Adds validation on backfill dryrun

Adds some date checks before triggering backfill dryrun

* Review comments handled

* Update datetime check
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
* Adds validation on backfill dryrun

Adds some date checks before triggering backfill dryrun

* Review comments handled

* Update datetime check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIP-38 Add validation to Run Backfill modal

3 participants