amoghrajesh commented on code in PR #76968:
URL: https://github.com/apache/airflow/pull/76968#discussion_r4614373492
##########
providers/common/ai/docs/durable_execution.rst:
##########
@@ -414,16 +414,13 @@ rerun replays from the journal (see
:ref:`durable-clear`), the replayed steps co
Clearing a task
---------------
-On Airflow 3.4 and later, clearing a task instance (its Clear dialog in the
UI, or
-``POST /api/v2/dags/{dag_id}/clearTaskInstances``) deletes its task state, the
journal
-included, so the rerun starts the agent over. This holds for the default task
state store
-backend; a custom ``[state_store] backend`` keeps its entries. To resume from
the journal
-instead, tick **Keep task state and resume** in the dialog, or send
-``"keep_task_state": true`` in the request. The **Keep task state on clear**
UI setting
-ticks that box by default. Clearing the whole Dag run from the Clear Run
dialog keeps task
-state; "Retries resume, clearing starts over" in
-:ref:`apache-airflow:concepts-resumable-tasks` lists the other ways of
clearing and which
-of them keep it.
+Clearing a task deletes its task state by default (Airflow 3.4+), and so does
clearing
+its whole Dag run (Airflow 3.5+). The journal goes with it, so the rerun
starts the agent
+over. This holds for the default task state store backend; a custom
+``[state_store] backend`` keeps its entries. You can choose to keep task state
when you
Review Comment:
Brought back the **Keep task state and resume** box, `"keep_task_state":
true` and the **Keep task state on clear** setting, plus `--keep-task-state`
for 3.5. The Glue, Redshift, Spark, Snowflake and Databricks pages now use the
same text; HF says to set `keep_task_state`.
--
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]