YAshhh29 commented on code in PR #75916:
URL: https://github.com/apache/airflow/pull/75916#discussion_r4540840464
##########
providers/common/ai/src/airflow/providers/common/ai/durable/storage.py:
##########
@@ -129,6 +180,9 @@ def load_step(self, key: str) -> dict[str, Any] | None:
def delete_steps(self, keys: Iterable[str]) -> None:
"""Remove these steps, and the journal file once nothing is left in
it."""
cache = self._load_cache()
+ if self._unreadable:
Review Comment:
`_unreadable` is gone in 5477ca95b9, so reads are back to main's behaviour:
the attempt starts from an empty journal, writes over the file, and cleanup
removes it as before.
--
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]