akmalrashid commented on PR #71535:
URL: https://github.com/apache/airflow/pull/71535#issuecomment-6948713657

   We ran into the tag version of #71388. Our `tracking_ref` is a tag, and the 
dag-processor started before the tag existed. Once the tag was pushed, every 
`initialize()` retry failed with `pathspec '<tag>' did not match` until we 
cleared the bundle storage.
   
   I tried this PR against provider 0.5.0. It fixes the case where the tag 
points at a commit on a branch, but not a tag pushed on its own, pointing at a 
commit that no branch contains. With no refspec, `origin.fetch()` only picks up 
tags reachable from the fetched branches. Fetching with the same refspecs 
`refresh()` uses (`+refs/heads/*:refs/remotes/origin/*` and 
`+refs/tags/*:refs/tags/*`) covers both.
   


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