Skip to content

Always use logical date in DAG run header#43148

Merged
bbovenzi merged 2 commits intoapache:mainfrom
astronomer:dag-run-label-execution-date
Oct 18, 2024
Merged

Always use logical date in DAG run header#43148
bbovenzi merged 2 commits intoapache:mainfrom
astronomer:dag-run-label-execution-date

Conversation

@uranusjr
Copy link
Member

In #38365, it was mentioned the label really should use logical date, not data interval end. This comment was however not addressed at all before the PR was merged.

While using dataIntervalEnd fixes some of the runs, it actually makes the display wrong for others. The run ID is generated from logical date, which may be data interval start or end, or another value altogether depending on how the DAG is configured (specifically which timetable is used) and how the run is triggered. Using either dataIntervalStart or dataIntervalEnd is wrong.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Oct 18, 2024
@pierrejeambrun pierrejeambrun added the legacy ui Whether legacy UI change should be allowed in PR label Oct 18, 2024
@bbovenzi bbovenzi merged commit fb49aa3 into apache:main Oct 18, 2024
@bbovenzi bbovenzi deleted the dag-run-label-execution-date branch October 18, 2024 13:20
uranusjr added a commit to astronomer/airflow that referenced this pull request Oct 18, 2024
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
uranusjr added a commit to astronomer/airflow that referenced this pull request Oct 18, 2024
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@utkarsharma2 utkarsharma2 added the type:bug-fix Changelog: Bug Fixes label Oct 23, 2024
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.3 milestone Oct 23, 2024
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
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. area:webserver Webserver related Issues legacy ui Whether legacy UI change should be allowed in PR type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants