Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-84 Clear Task Instance improve response #45514

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Jan 9, 2025

Update the response for the clearTaskInstances endpoint to return a more complete information regarding the task instances.

Today:
   Only returns a list of: task_id, dag_run_id, dag_id objects.

Now:
   Returns a list of standard TaskInstanceResponse serialized representation of a task instance. This will be useful to know the state, dates and additional information of cleared task insta
nces. Especially to be able to display that in the front-end when running the dry-run mode.

Note: The old response is still fully contained in the new one. That's not a breaking change.

Legacy UI were using a custom private endpoints, therefore had more information available to display:
Screenshot 2025-01-09 at 15 51 05

@pierrejeambrun pierrejeambrun added the AIP-84 Modern Rest API label Jan 9, 2025
@pierrejeambrun pierrejeambrun added this to the Airflow 3.0.0 milestone Jan 9, 2025
@pierrejeambrun pierrejeambrun self-assigned this Jan 9, 2025
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-84 Modern Rest API area:UI Related to UI/UX. For Frontend Developers.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants