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

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Found in RC2
   
   Setting
   
   ```python
   @task(
           task_display_name="Get Astronauts"
   )
   def get_astronauts():
       pass
   
   get_astronauts()
   ```
   
   in the first task results in the task name still being the task ID:
   
   <img width="720" height="361" alt="Image" 
src="https://github.com/user-attachments/assets/9b56958b-738b-4766-b387-e47fe61cb4c4";
 />
   
   ### What you think should happen instead?
   
   The same task in 3.0.6 does use the task_display_name:
   
   <img width="1912" height="962" alt="Image" 
src="https://github.com/user-attachments/assets/3e4af332-c6fd-42f1-869f-641634f670e6";
 />
   
    
   
   ### How to reproduce
   
   1. Use 3.1
   2. add a task_display_name different from the task ID to any task
   3. see the task ID not updating
   
   ### Operating System
   
   macOS 15.7 
   
   ### Versions of Apache Airflow Providers
   
   not relevant
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   Local Astro CLI `3.1-1-alpha3`
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit 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