Skip to content

Conversation

@Subham-KRLX
Copy link
Contributor

@Subham-KRLX Subham-KRLX commented Dec 31, 2025

Fix incorrect Log and TaskInstance join query

This PR addresses the issue: Incorrect log and task instance join query based on task_id in eventLogs API #59965.

The Log.task_instance relationship in
airflow/models/log.py
has been updated to use a strict join on the following fields:

dag_id
task_id
run_id
map_index
This change ensures that log entries are correctly associated with their corresponding task instances, resolving an issue where the relationship was previously defined with a primaryjoin that only checked for matching
task_id.

…rence

- Remove separate TimeDeltaSensorAsync documentation section
- Add reference to official deferring documentation
- Show both sync and deferrable examples using TimeDeltaSensor

Related: apache#59644
:end-before: [END example_time_delta_sensor]


.. _howto/operator:TimeDeltaSensorAsync:
Copy link
Contributor

@Prab-27 Prab-27 Dec 31, 2025

Choose a reason for hiding this comment

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

Are these changes unrelated to this PR?

Could you please check? I believe these changes are related to this PR. #59651

@henry3260
Copy link
Contributor

Thanks for the pr!
You should pass the static check locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment