dstandish commented on PR #33103:
URL: https://github.com/apache/airflow/pull/33103#issuecomment-1670561451

   Ok so the problem is this logic:
   ```python
       @property
       def label(self) -> str | None:
           tg = self.task_group
           if tg and tg.node_id and tg.prefix_group_id:
               # "task_group_id.task_id" -> "task_id"
               return self.node_id[len(tg.node_id) + 1 :]
           return self.node_id
   ```
   
   The issue is when the task is instantiated outside of the group, it doesn't 
get prefixed.  So `self.node_id[len(tg.node_id) + 1 :]` is `''`


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