"Partitioned Runs" tab is missing on UI #62564
Copy link
Copy link
Closed
Labels
affected_version:3.2Use for reporting issues with 3.2Use for reporting issues with 3.2area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release
Description
Apache Airflow version
main (development)
If "Other Airflow 3 version" selected, which one?
No response
What happened?
Asset partitioned dagruns tab should be displayed on UI for consumer dags.
What you think should happen instead?
No response
How to reproduce
Use the below Dag:
from __future__ import annotations
from airflow import DAG
from airflow.providers.standard.operators.empty import EmptyOperator
from airflow.sdk import (
Asset,
PartitionedAssetTimetable,
IdentityMapper,
)
from datetime import datetime
sales_data = Asset(uri="file://aip76/sales_data.csv")
inventory_data = Asset(uri="file://aip76/inventory_data.csv")
pricing_data = Asset(uri="file://aip76/pricing_data.csv")
with DAG(
dag_id="ui_partition_asset_producer",
start_date=datetime(2024, 1, 1),
schedule=None, # manual partition control
catchup=False,
tags=["aip76", "ui_test"],
) as producer_dag:
produce_sales = EmptyOperator(
task_id="produce_sales",
outlets=[sales_data],
)
produce_inventory = EmptyOperator(
task_id="produce_inventory",
outlets=[inventory_data],
)
produce_pricing = EmptyOperator(
task_id="produce_pricing",
outlets=[pricing_data],
)
with DAG(
dag_id="ui_partition_asset_consumer",
start_date=datetime(2024, 1, 1),
schedule=PartitionedAssetTimetable(
assets=sales_data & inventory_data & pricing_data,
default_partition_mapper=IdentityMapper(),
),
catchup=False,
tags=["aip76", "ui_test"],
) as consumer_dag:
consume_task = EmptyOperator(
task_id="consume_all_assets"
)Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
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
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affected_version:3.2Use for reporting issues with 3.2Use for reporting issues with 3.2area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.area:corekind:bugThis is a clearly a bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new releaseHigh priority bug that should be patched quickly but does not require immediate new release
Activity
[-]"partitioned Runs" missing on UI[/-][+]"Partitioned Runs" tab is missing on UI[/+]Add Partitioned Runs tab for consumer DAGs with PartitionedAssetTimet…
vatsrahul1001 commentedon Mar 10, 2026
cc: @Lee-W
jason810496 commentedon Mar 11, 2026
Hi @atul-astronomer,
Do you mean the DagRun tab should show the
partition_keyin the table by default when using an Asset partitioned Dag?I’m able to change the table logic so that if there’s any DagRun that has a
partition_key, the partition_keyaccessorKey is selected for the table. Before the fix, the partition_keyaccessorKey was actually set to false. However, I’m not sure whether it was intentionally set to false by default (e.g. to avoid showing too many advanced options on the DagRun tab).airflow/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
Lines 197 to 204 in 4aee809
Lee-W commentedon Mar 11, 2026
Is it possible to show it when
dag.timetable_partitionedis true?jason810496 commentedon Mar 11, 2026
It's possible to do that, working on it.
atuls4441 commentedon Mar 11, 2026
I am expecting UI to have tab 'Partitioned Runs' tab as per this PR
@jason810496 @Lee-W
jason810496 commentedon Mar 11, 2026
I see, thanks for the clarification.
Fix Partitioned Runs tab not shown for Consumer DAGs
Add newsfragment for apache#62564
UI: Show Partitioned Runs tab on DAG page for all partitioned DAGs
jason810496 commentedon Mar 12, 2026
Hi @guan404ming,
Would it be possible for you to provide some additional context about the related change, or explain how the “Partitioned Runs” feature works please?
Also, how could I reproduce the environment (Dags or steps) used in? I still haven’t been able to reproduce the conditions needed to show the “Partitioned Runs” tab, as demonstrated in the video in #61398.
Thank you very much!
Right now, the only way I can fix this is by adding a dedicated “Partitioned Runs” tab on the DagRun page ( which I’d like to avoid, since adding a dedicated tab would just duplicate existing components )
The only thing I know so far is that we need to fix the semantic meaning of
dag_model.timetable_partitionedon the API side.However, the API side patch is not enough to solve the error.
Lee-W commentedon Mar 12, 2026
@guan404ming could it be something we later removed after Brent's suggestion?
guan404ming commentedon Mar 12, 2026
Yes the tab is removed after Brent suggestions. Do we need to add it back?
Lee-W commentedon Mar 12, 2026
I don't think so. @atul-astronomer it's no longer a desired behavior. I think we should go with #62564 (comment) insetad
atuls4441 commentedon Mar 12, 2026
Any document or screenshot how UI should be?
@Lee-W
jason810496 commentedon Mar 12, 2026
The UI will be like: #62564 (comment)
What Wei mentioned is the Table will show (dynamic resolute via
dag.timetable_partitionedordag_run.partition_keyand set "Partition Key" selected for the Table) the "Partition Key" in Run tab if any of the DagRuns is "Partitioned Runs".Lee-W commentedon Mar 14, 2026
Not really. If the current design (we can find the information we need with ease) makes sense and no one have better idea, then that's the "how UI should be"
jason810496 commentedon Mar 16, 2026
I think we could leave the UI as it is and close this issue as not planned right?
cc @bbovenzi to double check when you have a moment, thanks!
bbovenzi commentedon Mar 16, 2026
Yes, I wanted to avoid the bloat of adding extra tabs. Especially because once a partition has run. It's just a dag run. The only thing we want to show are "pending runs" which I think can fit into the existing Overview tab