dheerajturaga opened a new pull request, #56913:
URL: https://github.com/apache/airflow/pull/56913

     Add _fetch_bare_repo into  _clone_bare_repo_if_required
     so that fetch failures (e.g., corrupted packs
     with unresolved deltas) trigger the existing @retry mechanism to clean up
     and re-clone the bare repository automatically.
   
     this resolves errors such as 
   ```
   [2025-10-20 12:31:58] ERROR - Top level error
   GitCommandError: Cmd('git') failed due to: exit code(128)
     cmdline: git fetch -v -- origin +refs/heads/*:refs/heads/* 
+refs/tags/*:refs/tags/*
     stderr: 'error: refs/heads/temp/07694dfc89033d3d0da25f5344f30c371a380c6f 
does not point to a valid object!
   error: refs/heads/temp/07694dfc89033d3d0da25f5344f30c371a380c6f does not 
point to a valid object!
   error: Could not read d29a5e4f1afe9994c4e6daf9c84ccbec8abc459e
   fatal: pack has 193 unresolved deltas
   fatal: fetch-pack: invalid index-pack output'
   ```


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