amoghrajesh commented on code in PR #76833:
URL: https://github.com/apache/airflow/pull/76833#discussion_r4676493205
##########
task-sdk/docs/resumable-job-mixin.rst:
##########
@@ -118,6 +118,23 @@ to check the current state of the job:
longer than ``default_retention_days``, the identifier could be gone by the
next retry,
causing the operator to submit a fresh job instead of reconnecting.
+.. _sdk-resumable-job-mixin-banner:
+
+Durable execution banner
+------------------------
+
+When a retry reconnects to a running job, or uses the result of a job that
already finished, the
+task logs page shows a banner saying so. The mixin records what each try did
under the
+``__airflow_durable__`` task state store key, and the banner reads it. A
deferrable operator that
+reconnects shows the banner without a job status, because the outcome is known
only after the
+Triggerer fires and nothing records it there.
+
+.. note::
+
+ Only operators that use ``ResumableJobMixin`` show the banner.
``KubernetesPodOperator``,
+ ``MSGraphAsyncOperator`` and ``AgentOperator`` implement durable execution
on their own and do
+ not record what each try did, so they reconnect without a banner.
Review Comment:
55c83e1dd98
##########
task-sdk/docs/resumable-job-mixin.rst:
##########
@@ -118,6 +118,23 @@ to check the current state of the job:
longer than ``default_retention_days``, the identifier could be gone by the
next retry,
causing the operator to submit a fresh job instead of reconnecting.
+.. _sdk-resumable-job-mixin-banner:
+
+Durable execution banner
+------------------------
+
+When a retry reconnects to a running job, or uses the result of a job that
already finished, the
+task logs page shows a banner saying so. The mixin records what each try did
under the
+``__airflow_durable__`` task state store key, and the banner reads it. A
deferrable operator that
Review Comment:
55c83e1dd98
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]