- Trim machine lookup keys and fall back to machine ID
- Skip device cleanup when the last sync timestamp fails to save
- Improve sync logging and normalize event timestamps
Add TargetDevice helpers to look up sync machines by IP/machine_id without site-scope filtering, and probe multiple ISAPI paths so 404 on one endpoint is not treated as offline. Include repository lookups used by sync targets.