Skip to content

Reset task try query parameters in URL when switching Graph tasks - #70780

Merged
pierrejeambrun merged 1 commit into
apache:mainfrom
Andrushika:fix-graph-task-try-number
Jul 31, 2026
Merged

Reset task try query parameters in URL when switching Graph tasks#70780
pierrejeambrun merged 1 commit into
apache:mainfrom
Andrushika:fix-graph-task-try-number

Conversation

@Andrushika

@Andrushika Andrushika commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

UI: Reset task try query parameters in URL when switching Graph tasks

Why

Graph task links keep try_number from the current URL. Switching from an older try to a task without that try can request a task attempt that does not exist.

2026-07-30.9.18.33.mov

What

Remove try_number from Graph task links while keeping the other search parameters. Add a regression test for switching tasks from try_number=2.

related: #56977

Was generative AI tooling used to co-author this PR?
  • Yes — Codex (GPT-5)

Generated-by: Codex (GPT-5) following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 30, 2026
@Andrushika Andrushika changed the title UI: Reset task try when switching Graph tasks UI: Reset task try query string when switching Graph tasks Jul 30, 2026
@Andrushika Andrushika changed the title UI: Reset task try query string when switching Graph tasks UI: Reset task try query in URL when switching Graph tasks Jul 30, 2026
@Andrushika Andrushika changed the title UI: Reset task try query in URL when switching Graph tasks UI: Reset task try query parameters in URL when switching Graph tasks Jul 30, 2026

@pierrejeambrun pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@pierrejeambrun pierrejeambrun added this to the Airflow 3.3.1 milestone Jul 31, 2026
@pierrejeambrun pierrejeambrun added the backport-to-v3-3-test Backport to v3-3-test label Jul 31, 2026
@pierrejeambrun pierrejeambrun changed the title UI: Reset task try query parameters in URL when switching Graph tasks Reset task try query parameters in URL when switching Graph tasks Jul 31, 2026
@pierrejeambrun
pierrejeambrun merged commit 745b1de into apache:main Jul 31, 2026
89 checks passed
@Andrushika
Andrushika deleted the fix-graph-task-try-number branch July 31, 2026 08:55
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

vatsrahul1001 pushed a commit that referenced this pull request Jul 31, 2026
(cherry picked from commit 745b1de)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
(cherry picked from commit 745b1de)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-3-test Backport to v3-3-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants