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

Cleanup: remove remnants of 'shutdown' task instance state #33893

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

Bisk1
Copy link
Contributor

@Bisk1 Bisk1 commented Aug 29, 2023

Follow-up of #33746 - several mentions of 'shutdown' task were left behind, e.g. in docs


^ 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 kind:documentation labels Aug 29, 2023
@@ -76,7 +76,6 @@ The possible states for a Task Instance are:
* ``queued``: The task has been assigned to an Executor and is awaiting a worker
* ``running``: The task is running on a worker (or on a local/synchronous executor)
* ``success``: The task finished running without errors
* ``shutdown``: The task was externally requested to shut down when it was running
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should a note be added below this list to mention there used to be a shutdown state but not anymore?

Copy link
Contributor Author

@Bisk1 Bisk1 Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I felt like it's not useful information because users of new version won't see 'shutdown' state and if someone has older version they should look at relevant, older docs. There probably should be an update in release notes though. But I can modify it if you're sure.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed it in #33746 and it turned out that SHUTDOWN not only has been deeply buried and nearly forgotten but also it has never been working for things like API. So I think I would prefer to pretend it never existed :P

@eladkal
Copy link
Contributor

eladkal commented Aug 29, 2023

We need also to update the diagram in the page

@potiuk
Copy link
Member

potiuk commented Aug 29, 2023

We need also to update the diagram in the page

Diagram has been already updated in the previous PR :)

@potiuk potiuk merged commit b37eaae into apache:main Aug 29, 2023
42 checks passed
@Bisk1 Bisk1 deleted the remove-shutdown-state branch August 29, 2023 19:52
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Co-authored-by: daniel.dylag <danieldylag1990@gmail.com>
(cherry picked from commit b37eaae)
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 kind:documentation type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants