Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jan 7, 2026

  • fix: Enable real-time extra links updates for TriggerDagRunOperator
  • Add smart polling to ExtraLinks component using useAutoRefresh hook
  • Poll automatically when DAG is active and links are not yet available
  • Stop polling once extra links appear to reduce server load
  • Respects global auto_refresh_interval config and DAG paused state
  • Fixes issue where Triggered DAG button only appeared after manual refresh

Closes #58928

  • fix: prevent infinite polling for tasks without extra links
  • Add task metadata check using useTaskServiceGetTask
  • Only poll if task.extra_links.length > 0
  • Conditionally render ExtraLinks component in Details.tsx
  • Prevents unnecessary API calls for tasks without extra links

Addresses review feedback from @bbovenzi

  • refactor: reuse parent refetchInterval pattern in child components
  • Pass parent's refetchInterval to ExtraLinks and BlockingDeps components
  • Remove duplicate useAutoRefresh and useTaskServiceGetTask calls
  • Eliminate invalid taskInstance.extra_links property access (doesn't exist on TaskInstanceResponse)
  • Polling now tied to try instance pending state - stops automatically when task completes
  • Simplifies architecture by centralizing refresh logic in parent component

Addresses review feedback from @pierrejeambrun and @bbovenzi

  • style: apply pre-commit hook formatting fixes
  • Reorder type union to alphabetical order (number | false)
  • Format ExtraLinks component to single line
    (cherry picked from commit 2768fba)

Co-authored-by: subhash-0000 122723782+subhash-0000@users.noreply.github.com

…unOperator (#59507)

* fix: Enable real-time extra links updates for TriggerDagRunOperator

- Add smart polling to ExtraLinks component using useAutoRefresh hook
- Poll automatically when DAG is active and links are not yet available
- Stop polling once extra links appear to reduce server load
- Respects global auto_refresh_interval config and DAG paused state
- Fixes issue where Triggered DAG button only appeared after manual refresh

Closes #58928

* fix: prevent infinite polling for tasks without extra links

- Add task metadata check using useTaskServiceGetTask
- Only poll if task.extra_links.length > 0
- Conditionally render ExtraLinks component in Details.tsx
- Prevents unnecessary API calls for tasks without extra links

Addresses review feedback from @bbovenzi

* refactor: reuse parent refetchInterval pattern in child components

- Pass parent's refetchInterval to ExtraLinks and BlockingDeps components
- Remove duplicate useAutoRefresh and useTaskServiceGetTask calls
- Eliminate invalid taskInstance.extra_links property access (doesn't exist on TaskInstanceResponse)
- Polling now tied to try instance pending state - stops automatically when task completes
- Simplifies architecture by centralizing refresh logic in parent component

Addresses review feedback from @pierrejeambrun and @bbovenzi

* style: apply pre-commit hook formatting fixes

- Reorder type union to alphabetical order (number | false)
- Format ExtraLinks component to single line
(cherry picked from commit 2768fba)

Co-authored-by: subhash-0000 <122723782+subhash-0000@users.noreply.github.com>
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jan 7, 2026
@bbovenzi bbovenzi marked this pull request as ready for review January 7, 2026 16:17
@bbovenzi bbovenzi merged commit 2841580 into v3-1-test Jan 7, 2026
54 checks passed
@bbovenzi bbovenzi deleted the backport-2768fba-v3-1-test branch January 7, 2026 16:47
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jan 8, 2026
@ephraimbuddy ephraimbuddy added this to the Airflow 3.1.6 milestone Jan 8, 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. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants