What
Rather than retrying forever, the worker syncer turns itself off on three conditions and the session continues without syncing.
Details
MAX_CONSECUTIVE_AUTH_REFUSALS(10) consecutive auth refusals, or a single response saying the session is refused, disarms it with adir_sync_worker_session_refusedwarning.MAX_CONSECUTIVE_PHASE_CRASHES(3) unexpected exceptions in a pull or push phase also disarms it; each crash logsdir_sync_worker_phase_crashedwith the error name, error code and consecutive count.- If a resumed worker finds itself pointed at a workspace that already has a non-empty published record from someone else, it logs
dir_sync_worker_rehomed_disarmedand stops rather than merging the two.
Evidence
dir_sync_worker_rehomed_disarmed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.