493a4eaa0e
Repo sync must complete before any other heartbeat work. If sync fails, the heartbeat must exit with an error state immediately. No parallelization, no skipping. Also fixes escaped backslash-bang in cat-file check. Co-Authored-By: Paperclip <noreply@paperclip.ing>