kacpermuda commented on code in PR #75132:
URL: https://github.com/apache/airflow/pull/75132#discussion_r4335162779


##########
airflow-core/docs/authoring-and-scheduling/loops.rst:
##########
@@ -413,3 +431,18 @@ which leave them in place. To keep later iterations, clear 
from the UI or the
 REST endpoint.
 
 Tasks you leave uncleared are not recomputed using the results of the rerun.
+
+.. _loops-trajectories:
+
+Reruns and trajectories
+-----------------------
+
+Clearing later iterations starts a new execution of the loop that replaces the 
previous ones from the
+iteration after the rerun gate. Each execution is a trajectory, identified by 
``loop.region_id`` and
+numbered by ``loop.trajectory``: 1 for the first one, growing by one with each 
rerun. The rerun gate, and whatever you clear in its
+iteration, run again in the trajectory that iteration belongs to, with their 
next try. The
+replacement iterations run in the new trajectory, from 
``loop.resumes_from_index``, and their tries
+count from the start again. In the

Review Comment:
   Applied.



-- 
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]

Reply via email to