This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 40fd15509c0 Add dag run id to dag run tables (#53890)
40fd15509c0 is described below
commit 40fd15509c0a680c359509276ff4652808055938
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Tue Jul 29 18:19:15 2025 +0200
Add dag run id to dag run tables (#53890)
---
.../src/airflow/ui/public/i18n/locales/en/common.json | 1 +
airflow-core/src/airflow/ui/src/pages/DagRuns.tsx | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
index 241234b6d22..fe8b605dc93 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
@@ -60,6 +60,7 @@
},
"dagRun_one": "Dag Run",
"dagRun_other": "Dag Runs",
+ "dagRunId": "Dag Run ID",
"dagWarnings": "Dag warnings/errors",
"defaultToGraphView": "Default to graph view",
"defaultToGridView": "Default to grid view",
diff --git a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
index 8215488a753..912380c533b 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
@@ -39,6 +39,7 @@ import { RunTypeIcon } from "src/components/RunTypeIcon";
import { SearchBar } from "src/components/SearchBar";
import { StateBadge } from "src/components/StateBadge";
import Time from "src/components/Time";
+import { TruncatedText } from "src/components/TruncatedText";
import { Select } from "src/components/ui";
import { SearchParamsKeys, type SearchParamsKeysType } from
"src/constants/searchParams";
import { dagRunTypeOptions, dagRunStateOptions as stateOptions } from
"src/constants/stateOptions";
@@ -64,6 +65,17 @@ const runColumns = (translate: TFunction, dagId?: string):
Array<ColumnDef<DAGRu
header: translate("dagId"),
},
]),
+ {
+ accessorKey: "dag_run_id",
+ cell: ({ row: { original } }: DagRunRow) => (
+ <Link asChild color="fg.info" fontWeight="bold">
+ <RouterLink
to={`/dags/${original.dag_id}/runs/${original.dag_run_id}`}>
+ <TruncatedText text={original.dag_run_id} />
+ </RouterLink>
+ </Link>
+ ),
+ header: translate("dagRunId"),
+ },
{
accessorKey: "run_after",
cell: ({ row: { original } }: DagRunRow) => (