Relay sync failures are never retried, relay stays broken indefinitely #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When Caravel fails to sync a relay to Zooid,
command::fail_relay_syncwrites the error string torelay.sync_errorand fires afail_relay_syncactivity. The infra module'sshould_sync_relay_activityfunction only triggers a sync for four specific activity types:fail_relay_syncis not in this list. There is no background retry loop, no scheduled sweep of relays withsync_error != '', and no retry on startup. A relay that fails to provision because Zooid was temporarily unavailable will stay broken forever unless the user manually edits and re-saves the relay to trigger a newupdate_relayactivity.Yes, but be sure to avoid an infinite loop. Re-syncing should be delayed, and if it fails repeatedly it should stop retrying.