Fix federation sync: fast-forward only, prevent ref rewind
Root cause of stale deploy refs: federation syncRepo used force-update
(+refs/*:refs/*) which allowed a stale peer to overwrite newer commits
on the origin. Stortron (with v3) synced from itself via topic routing,
then the bidirectional sync pushed v3 back to tabertron, reverting v5.
Fix: remove '+' prefix from refspec so git rejects non-fast-forward
updates. Also remove --prune to prevent deleting branches the origin
still has but the stale peer doesn't.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c87899e6600da97ed484d5bda2f3cddbd5a494ab
by plankatron <fleeky@gmail.com> · 2026-04-07T03:52:28.000Z