Skip to content

Conversation

@guan404ming
Copy link
Member

Related Issue

#46730

How

  • alias the task_display_name for EventLogResponse
  • update related tests

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@guan404ming guan404ming force-pushed the alias-task-for-event-log branch 2 times, most recently from 09e7e2a to 3c90f03 Compare September 2, 2025 11:09
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the PR!

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Looks good to me. We can merge once other comments are resolved.

Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

LGTM as well

@pierrejeambrun
Copy link
Member

Feel free to resolve comments when they are address so we can merge it @guan404ming (unless there is more work planned here)

@guan404ming
Copy link
Member Author

Feel free to resolve comments when they are address so we can merge it @guan404ming (unless there is more work planned here)

Sure, let me resolve them. It's currently looks good for me but if TP still have any questions please feel free to let me know. I could help follow up or clarify. Thanks!

@guan404ming guan404ming force-pushed the alias-task-for-event-log branch 2 times, most recently from 7889406 to c1dadfb Compare September 10, 2025 21:35
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

That makes me realize (I might be wrong) that we are not eagerly loading that relationship on the get_event_logs endpoint, which means that we are lazily emitting many request when serializing responses right?

We probably want to fix that by adding loading options? (I think we have the same issue for retrieving the dag_display_name, dagmodel will be joined lazyly)

@guan404ming guan404ming force-pushed the alias-task-for-event-log branch from 4617540 to ec87997 Compare September 13, 2025 08:22
@guan404ming guan404ming force-pushed the alias-task-for-event-log branch from ec87997 to 81c45f5 Compare September 16, 2025 17:21
@pierrejeambrun pierrejeambrun merged commit 78b8b3c into apache:main Sep 18, 2025
109 checks passed
@guan404ming guan404ming deleted the alias-task-for-event-log branch September 22, 2025 04:47
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload
pierrejeambrun pushed a commit to astronomer/airflow that referenced this pull request Oct 31, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload

(cherry picked from commit 78b8b3c)
@pierrejeambrun
Copy link
Member

Manual backport #57609

@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.2 milestone Oct 31, 2025
pierrejeambrun added a commit that referenced this pull request Oct 31, 2025
* Alias task_display_name for event_logs

* Update lazy loading to noload

(cherry picked from commit 78b8b3c)

Co-authored-by: Guan Ming(Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants