jedcunningham commented on issue #61396:
URL: https://github.com/apache/airflow/issues/61396#issuecomment-3847917671

   Gemini seems to think its #57069, and its rational seems reasonable:
   
   > Most likely culprit:
         • 16c544079d Remove '.git' folder from versions in GitDagBundle 
(#57069)
             •Reasoning: This commit introduces logic to delete the .git 
directory from the versioned checkout to save space (prune_dotgit_folder=True 
by default). The issue (#61396) describes "Inode flipping" where the directory 
is re-cloned every time. The GitDagBundle initialization logic checks if the 
repository exists and tries to open it using git.Repo(path). If the .git folder 
is missing, this raises an InvalidGitRepositoryError, which triggers a retry 
mechanism that deletes the existing directory and re-clones it. This cycle 
repeats on every initialization, causing the reported behavior.
   
   Can you add `prune_dotgit_folder=False` into your bundle config to see if 
that solves it?


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