Two bundle uploads from the same checkout no longer clobber each other, and dead refs get swept.
What's wrong with this entry?
Each cloud-session bundle upload now creates its own temporary git refs instead of two fixed ones, sweeps leftover refs that a killed run left behind, and rewrites the finished bundle to a second file with stable ref names, verified before upload. This makes two uploads from the same checkout safe to run without clobbering each other.
- Refs are written with
update-ref --no-deref; the relabelled copy is verified withgit bundle list-heads. - A failed sweep is logged and does not abort the upload; a failed relabel has its own error text pointing at temp-directory space and concurrent writers.
check that the temporary directory has room for a second copy of the bundle and that nothing else is writing to this checkout
Strings lifted out of the shipped bundle, so the claim above can be checked against them.