You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Grid "Number of Dag Runs" selection is lost on tab switch and not remembered since 3.3.0 #74281
Since 3.3.0, the "Number of Dag Runs" selection on the Dag details page is lost almost immediately while browsing and is never remembered on the next visit. Browsing a Dag with many active runs means re-selecting 50 every few clicks.
Root cause: #65388 (3.3.0) moved the run limit from per-Dag localStorage (dag_runs_limit-<dagId>) to the ?limit= URL search param (DetailsLayout.tsx). The links in layouts/Details/NavTabs.tsx navigate with to={{ pathname: value }} and no search, so the param is dropped as soon as you switch tabs. Nothing writes the old localStorage key anymore, yet pages/Dag/Overview/Overview.tsx still reads it, so Overview and the grid now disagree on how many runs to show.
Reproduce:
Open any Dag, click the grid settings (gear) and set "Number of Dag Runs" to 50. The URL gains ?limit=50 and the grid widens.
Click another tab (Runs, Tasks, Events, Code ...). The ?limit=50 disappears and the grid snaps back to 10 runs.
Navigate away and reopen the Dag. Still 10.
In 3.1.x / 3.2.x step 2 and 3 kept the chosen value (it was in localStorage).
What you think should happen instead?
The chosen number of runs should survive tab switches and be remembered per Dag across visits, as it was before 3.3.0. Either carry the limit search param in the tab links (and the other in-page links), or keep writing/reading the localStorage key and use the URL param only as an override when present.
Operating System
Debian GNU/Linux 12 (bookworm)
Deployment
Astronomer
Apache Airflow Provider(s)
No response
Versions of Apache Airflow Providers
No response
Official Helm Chart version
No response
Kubernetes Version
No response
Helm Chart configuration
No response
Docker Image customizations
No response
Anything else?
Related: the "resets on reload" bullet in #56250 was fixed in 3.1.x via localStorage; #65388 reintroduced it in a different form. The 3.3 branch (v3-3-test) and main currently have identical code for these files.
Activity
Remember the Dag runs limit across tab switches and visits
Remember the Dag runs limit across tab switches and visits (#74289)