Repository navigation
Respect the limit search param in the task overview duration chart - #72147
Conversation
The duration chart on the task overview always requested the last 14 task instances, ignoring the number of dag runs the user picked. The dag details layout already writes that choice to the limit search param, and the dag overview page reads a value of its own, so the task page was the only view that could not be widened. Read the same limit search param the details layout writes, falling back to the same default of 10, so the chart follows the selector and can be shared through the URL. The remaining limit on the failed task instance query is left alone: that query only reads total_entries and never renders the rows it fetches.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 4dae472 v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
…72147) (#72357) The duration chart on the task overview always requested the last 14 task instances, ignoring the number of dag runs the user picked. The dag details layout already writes that choice to the limit search param, and the dag overview page reads a value of its own, so the task page was the only view that could not be widened. Read the same limit search param the details layout writes, falling back to the same default of 10, so the chart follows the selector and can be shared through the URL. The remaining limit on the failed task instance query is left alone: that query only reads total_entries and never renders the rows it fetches. (cherry picked from commit 4dae472)
…72147) (#72357) The duration chart on the task overview always requested the last 14 task instances, ignoring the number of dag runs the user picked. The dag details layout already writes that choice to the limit search param, and the dag overview page reads a value of its own, so the task page was the only view that could not be widened. Read the same limit search param the details layout writes, falling back to the same default of 10, so the chart follows the selector and can be shared through the URL. The remaining limit on the failed task instance query is left alone: that query only reads total_entries and never renders the rows it fetches. (cherry picked from commit 4dae472)
…pache#72147) The duration chart on the task overview always requested the last 14 task instances, ignoring the number of dag runs the user picked. The dag details layout already writes that choice to the limit search param, and the dag overview page reads a value of its own, so the task page was the only view that could not be widened. Read the same limit search param the details layout writes, falling back to the same default of 10, so the chart follows the selector and can be shared through the URL. The remaining limit on the failed task instance query is left alone: that query only reads total_entries and never renders the rows it fetches.
The duration chart on the task overview always requested the last 14 task instances, ignoring the number of dag runs the user picked. The dag details layout already writes that choice to the limit search param, and the dag overview page reads a value of its own, so the task page was the only view that could not be widened.
Read the same limit search param the details layout writes, falling back to the same default of 10, so the chart follows the selector and can be shared through the URL.
The remaining limit on the failed task instance query is left alone: that query only reads total_entries and never renders the rows it fetches.
Before:

After:

Was generative AI tooling used to co-author this PR?
Helped-by: [Claude] following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.