You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Asquator (via GitHub)" <gi...@apache.org> on 2026/04/17 20:14:13 UTC
Re: [PR] Add callback_source to context to differentiate DAG vs task callbacks [airflow]
Asquator commented on code in PR #61643:
URL: https://github.com/apache/airflow/pull/61643#discussion_r3102988925
##########
task-sdk/tests/task_sdk/execution_time/test_task_runner.py:
##########
@@ -4175,6 +4175,50 @@ def execute(self, context):
)
assert callback_data["duration"] >= 0, f"duration should be >= 0, got {callback_data['duration']}"
+ def test_task_callback_context_has_callback_meta(self, create_runtime_ti):
Review Comment:
Can we split into two tests or parametrize (success/failure)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org