-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[AIRFLOW-XXX] Add task lifecycle image to documentation #6762
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great diagram! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
@KKcorps -> maybe you can take a look as well ? WDYT |
Can you also update the description under the image? We should add information about scheduled state. |
It looks good. A suggestion from my end will be that A state transition diagram should consist of only states. The part such as Scheduler, Executor, and Worker should be indicated either on the connections or not at all. |
@KKcorps This is not a state diagram but lifecycle diagram for the task Information about the components is key. It is also not necessary to add additional states if they do not fall into the standard task life cycle. In any case, you can mark a task as empty, successful or unsuccessful. This makes it very difficult to understand the diagram. |
Ok then let's leave components as they are for now. |
08709d4
to
0471f1f
Compare
Looks great! |
(cherry picked from commit 6882d35)
(cherry picked from commit 6882d35)
(cherry picked from commit 6882d35)
Hi @kaverisharma09 and @mik-laj I'm adding a new state in #16681 and thus need to update this diagram? May I know what tool you used to create the diagram? I guess we may want to keep the style of the diagram consistent so I'm trying use the same tool as you did. |
I'm afraid this was not made by any diagram drawing tool, but a vector editor was used e.g. Corel Draw, Inkscape or other similar. |
Possibly you can re-do it - what I use our ASF confluence for that - there you can use the drawing capability available there for free (and online) - see for example: https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-23+Migrate+out+of+Travis+CI - I edit images there and export it as .png files. We also have some automated .mermaid diagrams that are automatically generated from markdown-like description (but it is useful for simple diagrams): https://github.com/apache/airflow/tree/main/images/ci. |
Upload images to https://cwiki.apache.org/confluence/display/AIRFLOW/File+lists if you plan to use Draw.io or Lucid chart. |
I created this using sketch <https://www.sketch.com/>.
I can send an updated version if you let me know what the requirements are.
Although it might be best to recreate the diagram using any of the tools
Jarek suggested so that you have an editable diagram for the future.
…On Tue, 13 Jul 2021 at 17:19, Kaxil Naik ***@***.***> wrote:
Hi @kaverisharma09 <https://github.com/kaverisharma09> and @mik-laj
<https://github.com/mik-laj> I'm adding a new state in #16681
<#16681> and thus need to update
this diagram? May I know what tool you used to create the diagram? I guess
we may want to keep the style of the diagram consistent so I'm trying use
the same tool as you did.
Upload images to
https://cwiki.apache.org/confluence/display/AIRFLOW/File+lists if you
plan to use Draw.io or Lucid chart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6762 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4HQCHEGVYNQZC3QIEAPQ3TXQR4PANCNFSM4JYKDMOQ>
.
|
+1. I think the confluence-embedded images are |
@kaxil @potiuk @mik-laj @kaverisharma09 Thank you for your responses. In case you missed my comment, I've updated #16681 with a new graph. I'll upload to https://cwiki.apache.org/confluence/display/AIRFLOW/File+lists once the PR is approved. |
Jarek Potiuk (potiuk@) and Kamil Breguła (mik-laj@) helped me to finalise this and Viktoria Nemkin (nemkin@) helped with using Github.
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation