AutomationDev85 opened a new pull request, #61066:
URL: https://github.com/apache/airflow/pull/61066

   # Overview
   
   This PR enables operators to set task instance notes during execution using:
   `context["ti"].set_task_instance_note(note="test note")`
   
   As an operator developer, I want to inform users about task results via task 
instance notes to provide a quick overview of issues without requiring detailed 
log inspection.
   
   While we may contribute a dedicated feature to the web UI for displaying 
user-facing text in the future, that capability isn't currently available. This 
PR enables the functionality immediately using the existing task instance note 
mechanism. If a dedicated text display feature becomes available later, 
migrating would only require minimal function naming changes.
   
   We view this as a pragmatic enablement that can be enhanced over time.
   
   What are your opinions about this feature? 
   
   
   # Details of change:
   
   * Enables supervisor to set task instance note.
   * Enables task runner to set note via the supervisor.
   * Enables easy context access to set task instance note.


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