Mr-Neutr0n commented on issue #61850:
URL: https://github.com/apache/airflow/issues/61850#issuecomment-3896325618

   I opened a fix for this in #61852. The root cause was that 
`ExternalDagLink.get_link()` was using the current DAG run's `run_id` to build 
the URL, which embeds the current DAG's logical date. When `execution_delta` or 
`execution_date_fn` points to a different logical date, the external DAG's run 
has a different `run_id`, so the link was broken.
   
   The fix resolves the external DAG's actual `run_id` by querying the database 
for the DagRun matching the target logical date (accounting for 
`execution_delta`). Falls back gracefully to the original behavior if the 
lookup doesn't find a match.


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