Repository navigation
Show errors when the task clear confirmation check fails - #75269
Merged
Merged
Conversation
anzinmhd
requested review from
bbovenzi,
choo121600,
guan404ming,
pierrejeambrun,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
October 21, 2026 06:30
bbovenzi
approved these changes
Oct 21, 2026
Contributor
Backport successfully created: v3-4-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When clearing a subset of the affected tasks, Confirm requests a fresh preview for the selected task instance IDs. If this request fails, the loading indicator disappears and leaves the page dimmed with no error message or action buttons.
This change displays the request error and a Cancel button. It also prevents clearing from proceeding with cached preview data when the confirmation refetch fails.
Steps to reproduce
clearTaskInstancesendpoint using browser DevTools.Request blocking simulates a network failure during the confirmation check.
Before
After loading finishes, the page remains dimmed with no error message or action buttons.
before.mov
After
“Cannot Clear Task Instance” displays the request error and a Cancel button, allowing the user to dismiss the dialog.
after.mov
Validation
Testing on 3.4.0b1 was blocked by the separate confirmation-dialog problem addressed in #74725. This failure has not been independently confirmed on the beta.
Was generative AI tooling used to co-author this PR?