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

Show abandoned tasks in Grid View #38511

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Mar 26, 2024

Fixes: #38329

Even if a task no longer exists in a DAG, we can still allow a user to see the information in the grid view if the task_id is specified in the url such as the links in /taskinstance/list

See Task Instance details, audit log and logs all show up for the abandoned task:
Screenshot 2024-03-26 at 1 57 31 PM
Screenshot 2024-03-26 at 1 57 26 PM
Screenshot 2024-03-26 at 1 57 21 PM


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

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Mar 26, 2024
@bbovenzi bbovenzi requested review from jedcunningham and removed request for ryanahamilton, ashb and pierrejeambrun March 26, 2024 18:26
@bbovenzi bbovenzi added the type:bug-fix Changelog: Bug Fixes label Mar 26, 2024
@bbovenzi bbovenzi added this to the Airflow 2.9.0 milestone Mar 26, 2024
@bbovenzi bbovenzi merged commit f48e8ef into apache:main Mar 26, 2024
46 checks passed
@bbovenzi bbovenzi deleted the grid-abandoned-task branch March 26, 2024 21:12
mathiaHT pushed a commit to mathiaHT/airflow that referenced this pull request Apr 4, 2024
* Handle abandoned tasks in grid view

* Prevent actions on abandoned tasks

* Fix links from taskinstance/list
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
* Handle abandoned tasks in grid view

* Prevent actions on abandoned tasks

* Fix links from taskinstance/list
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. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Task Instance Logs do not load for Task Instances that belong to removed Tasks
2 participants