xeor opened a new issue, #28232:
URL: https://github.com/apache/airflow/issues/28232

   ### Description
   
   A way to set the new task-comment that arrived in 2.5 using a task.
   
   ### Use case/motivation
   
   I want to summarize a dag-run with some additional information from the 
context available inside the dag-run. Example with links and data that should 
be easy to look up.
   
   This will work great with https://github.com/apache/airflow/issues/28167 to 
add markdown support for adding links from inside a task.
   
   Something like
   
   ```py
       @task(task_id="summarizer")
       def preflight(ti=None):
           ti.notes = 'some notes with context'
   ```
   
   ### Related issues
   
   https://github.com/apache/airflow/discussions/28035
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to