uranusjr commented on code in PR #76015:
URL: https://github.com/apache/airflow/pull/76015#discussion_r4450713190


##########
providers/common/ai/src/airflow/providers/common/ai/durable/journal.py:
##########
@@ -95,9 +95,21 @@ class JournalStep:
     replayable: bool = True
     replayed: bool = False
     payload: Any = None
+    # Whether this step's replay is in ``stats.replayed``; see 
:meth:`DurableRun.reserve`.
+    _replay_counted: bool = field(default=False, init=False, repr=False)
     # Agent runs started while this step executes; they are numbered under it.
     nested_runs: int = field(default=0, repr=False)
 
+    def take(self) -> None:

Review Comment:
   Would something like `count_as_replayed` be better?



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