Skip to content

[Bug] TriggerDagRunLink is broken in AF3 #54217

@kandharvishnu

Description

@kandharvishnu

Apache Airflow version

3.0.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

In Airflow3, this issue occurs in Astronomer deployment, but not in localhost.

The TriggerDagRunOperator is triggering task as expected. But the TriggerDagRunLink generated is broken.

Image

This is because the last part of Base URL(d4e9jgmf) is missed when processed by urljoin

When I try to open it, the link is broken. The link is missing the full Base URL. It should be

https://1234.astronomer.run/d4e9jgmf/dags/example_astronauts/runs/manual__2025-08-07T06:22:12.080186+00:00
Image

What you think should happen instead?

Instead, the link should open the downstream task correctly.

How to reproduce

  • Use TriggerDagRunOperator to trigger a DagRun
  • Then goto the details page and click the Triggered DAG button.
Image - The link generated is a broken one Image

Operating System

Debian

Versions of Apache Airflow Providers

No response

Deployment

Astronomer

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

affected_version:3.0Issues Reported for 3.0area:UIRelated to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions