Skip to content

Support manual task annotation.  #16790

@sharingan-no-kakashi

Description

@sharingan-no-kakashi

Description

I have been an airflow user for since a long time and I have often asked myself "what did happen to this task 4 months ago?".
Usually, this question starts a long and tedious process of going through slack/github/jira/emails to understand what was the problem.

Wouldn't be nice having a small airflow component where users can insert notes about tasks?

What do you want to happen?
The idea is to have a "task note" which is related to a task instance. We would have a new table: task_notes which has 5 columns dag_id, task_id, execution_date, task_notes, timestamp, (potentially others such a user etc)
We would have a new view similar to the xcom (second screenshot) and we modify the task instance view and model to refer to this task note view (first screenshot).
Users would be able to insert notes from this view.

In my current implementation, it looks something similar to this.

image
image

-->

Are you willing to submit a PR?

Yes. I have been working on this for fun as a POC.

Related Issues

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions